<div dir="ltr">Matt,<div><br></div><div>This is weird - I can create the file just fine on the scratch disk, but I seem similar errors to you when running it on the volatile disk.  I'm not sure why that would be the case.</div><div><br></div><div>BTW, the file I created is at   /lustre/expphy/volatile/halld/home/sdobbs/ccdb_test/ccdb.sqlite</div><div>if you want to try it out.</div><div><br></div><div><br></div><div>Cheers,<br>Sean</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Dec 8, 2014 at 2:02 PM, Shepherd, Matthew <span dir="ltr"><<a href="mailto:mashephe@indiana.edu" target="_blank">mashephe@indiana.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
Sean,<br>
<br>
I still can't get it to work:<br>
<br>
shepherd@ifarm1101> pwd<br>
/lustre/expphy/volatile/halld/home/shepherd/testing<br>
<br>
shepherd@ifarm1101> $CCDB_HOME/scripts/mysql2sqlite/mysql2sqlite.sh -<a href="http://hhalldweb1.jlab.org" target="_blank">hhalldweb1.jlab.org</a> -uccdb_user | sqlite3 ccdb.sqlite<br>
<span class="">Error: near line 1: disk I/O error<br>
memory<br>
<br>
</span>shepherd@ifarm1101> ls -lh<br>
total 226M<br>
-rw-r--r-- 1 shepherd halld-1    0 Dec  8 15:01 ccdb.sqlite<br>
-rw-r--r-- 1 shepherd halld-1 226M Dec  8 13:08 fcal_test.root<br>
<br>
-Matt<br>
<span class="im HOEnZb"><br>
---------------------------------------------------------------------<br>
Matthew Shepherd, Associate Professor<br>
Department of Physics, Indiana University, Swain West 265<br>
727 East Third Street, Bloomington, IN 47405<br>
<br>
Office Phone:  <a href="tel:%2B1%20812%20856%205808" value="+18128565808">+1 812 856 5808</a><br>
<br>
</span><div class="HOEnZb"><div class="h5">> On Dec 8, 2014, at 2:57 PM, Sean Dobbs <<a href="mailto:s-dobbs@northwestern.edu">s-dobbs@northwestern.edu</a>> wrote:<br>
><br>
> Hi Matt,<br>
><br>
> That command works fine for me - you do need to keep the user as "ccdb_user".<br>
><br>
> I'd suggest running the command when your current directory is in somewhere besides your home directory - maybe the volatile or scratch disks?  the CCDB keeps on getting larger, and you might be running out of disk space wherever you were running that command.<br>
><br>
> Cheers,<br>
> Sean<br>
><br>
> On Mon, Dec 8, 2014 at 1:50 PM, Shepherd, Matthew <<a href="mailto:mashephe@indiana.edu">mashephe@indiana.edu</a>> wrote:<br>
><br>
> Hi all,<br>
><br>
> I'd like to make a ccdb.sqlite file.  This page:<br>
><br>
> <a href="https://halldweb1.jlab.org/wiki/index.php/SQLite-form_of_the_CCDB_database" target="_blank">https://halldweb1.jlab.org/wiki/index.php/SQLite-form_of_the_CCDB_database</a><br>
><br>
> Says that I need to run this command:<br>
><br>
> $CCDB_HOME/scripts/mysql2sqlite/mysql2sqlite.sh -<a href="http://hhalldweb1.jlab.org" target="_blank">hhalldweb1.jlab.org</a> -uccdb_user ccdb | sqlite3 ccdb.sqlite<br>
><br>
> I tried this replacing ccdb_user with anonymous:<br>
><br>
> shepherd@ifarm1101> $CCDB_HOME/scripts/mysql2sqlite/mysql2sqlite.sh -<a href="http://hhalldweb1.jlab.org" target="_blank">hhalldweb1.jlab.org</a> -uanonymous | sqlite3 ccdb.sqlite<br>
> Error: near line 1: disk I/O error<br>
> memory<br>
><br>
> Is this the correct command?  Does anyone know<br>
> what the problem is?<br>
><br>
> Thanks in advance,<br>
><br>
> Matt<br>
><br>
> ---------------------------------------------------------------------<br>
> Matthew Shepherd, Associate Professor<br>
> Department of Physics, Indiana University, Swain West 265<br>
> 727 East Third Street, Bloomington, IN 47405<br>
><br>
> Office Phone:  <a href="tel:%2B1%20812%20856%205808" value="+18128565808">+1 812 856 5808</a><br>
><br>
><br>
> _______________________________________________<br>
> Halld-offline mailing list<br>
> <a href="mailto:Halld-offline@jlab.org">Halld-offline@jlab.org</a><br>
> <a href="https://mailman.jlab.org/mailman/listinfo/halld-offline" target="_blank">https://mailman.jlab.org/mailman/listinfo/halld-offline</a><br>
><br>
><br>
><br>
> --<br>
> Sean Dobbs<br>
> Department of Physics & Astronomy<br>
> Northwestern University<br>
> phone: <a href="tel:847-467-2826" value="+18474672826">847-467-2826</a><br>
<br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr">Sean Dobbs<br>Department of Physics & Astronomy <br>Northwestern University<br>phone: 847-467-2826</div></div>
</div>