On Sat, Oct 10, 2009 at 2:07 AM, Martin Langhoff <martin.langh...@gmail.com> wrote: > On Sat, Oct 10, 2009 at 10:57 AM, Martin Langhoff > <martin.langh...@gmail.com> wrote: >> We probably need a procedure to dump-and-recreate the Moodle DB >> because now it is half-there and it probably won't init correctly any >> more. > > http://wiki.laptop.org/go/XS_Techniques_and_Configuration#Moodle_Initialization_Fails > > == Moodle Initialization Fails == > > During the first boot after an installation or upgrade Moodle will run > its installation/upgrade scripts. These scripts are triggered by the > existence of <code>/etc/moodle/needsupgrade</code> and when they > execute, they log to <code>/var/log/moodle-instupg.log</code>. > > If there is no <code>/etc/moodle/needsupgrade</code> and the log ends > with a line saying 'Success', Moodle should be installed and running > correctly. > > In case the initialization/upgrade has failed > > * Make sure to report the situation to the server-devel mailing list, > attaching <code>/var/log/moodle-instupg.log</code>, and a description > of the situation. > * Drop the database: <code>sudo -u postgres dropdb moodle-xs</code> > * Start the Moodle 'service': <code>service moodle-xs start</code>. > This may take a while (specially on XS-on-XO) and you can trace the > execution by 'tailing' the logfile with <code>tail -f > /var/log/moodle-instupg.log</code> from a different console. > > > > > m > -- > martin.langh...@gmail.com > mar...@laptop.org -- School Server Architect > - ask interesting questions > - don't get distracted with shiny stuff - working code first > - http://wiki.laptop.org/go/User:Martinlanghoff >
So, I re-did the install (fdisk the SD card) and let the initial boot run. I fell asleep after waiting for 1/2 hour at the Moodle upgrade point :-) Morning did yield a cleanly installed XS-on-XO. "/etc/sysconfig/olpc-scripts/domain_config sfsu.edu" followed by a reboot and everything worked as expected. Registered the first XO cleanly. Also installed Munin and Munin-node to collect graphed data (See attached. Blip is when I registered the first XO). Looking good so far. cheers, Sameer -- Dr. Sameer Verma, Ph.D. Associate Professor, Information Systems Director, Center for Business Solutions San Francisco State University http://verma.sfsu.edu/ http://cbs.sfsu.edu/ http://is.sfsu.edu/
<<attachment: Clipboard object_ Image..png>>
_______________________________________________ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel