[Server-devel] XS-0.6 -

Sameer Verma sverma at sfsu.edu
Wed Oct 14 03:15:55 EDT 2009


On Sat, Oct 10, 2009 at 2:07 AM, Martin Langhoff
<martin.langhoff at gmail.com> wrote:
> On Sat, Oct 10, 2009 at 10:57 AM, Martin Langhoff
> <martin.langhoff at 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.langhoff at gmail.com
>  martin at 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/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Clipboard object_ Image..png
Type: image/png
Size: 38275 bytes
Desc: not available
Url : http://lists.laptop.org/pipermail/server-devel/attachments/20091014/7720e071/attachment-0001.png 


More information about the Server-devel mailing list