<br><br><div class="gmail_quote">On Thu, Sep 17, 2009 at 3:30 PM, Martin Langhoff <span dir="ltr"><<a href="mailto:martin.langhoff@gmail.com">martin.langhoff@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="im">On Thu, Sep 17, 2009 at 4:11 PM, Daniel Bennett <<a href="mailto:dantana@gmail.com">dantana@gmail.com</a>> wrote:<br>
> We saw this message at boot, not sure if it's relevant:<br>
> AICCU is not configured go to /etc/aiccu<br>
<br>
</div>That's normal.<br>
<div class="im"><br>
> pssql now starts on boot, but we are still getting the same results when<br>
> accessing:<br>
> <a href="http://172.18.0.1/%28moodle/%29" target="_blank">http://172.18.0.1/(moodle/)</a><br>
<br>
</div>Just to confirm, what is the output of...?<br>
<br>
service pgsql-xs status (we expect it to be running)<br></blockquote><div>fine <br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
service moodle status ("Moodle cron job is enabled")<br></blockquote><div>DISABLED <br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
chkconfig --list pgsql-xs (should say that it's on in 3,4 and 5)<br></blockquote><div>fine <br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
chkconfig --list moodle (same)<br></blockquote><div>fine <br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
Note! There is a 'postgres' service too. That should be stopped.<br></blockquote><div>couldn't find this service <br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="im"><br>
> The result is a page stating:<br>
> Moodle is disabled at the moment.<br>
<br>
</div>That is because Moodle is having trouble starting up -- and that is<br>
all about getting the 'pgsql-xs' service going, and the initial moodle<br>
setup running.<br>
<br>
Some more debugging:<br>
<br>
- Does the file /etc/moodle/needsupgrade exist? (It should :-) )<br></blockquote><div>exists <br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
- Does the file /var/log/moodle-instupg.log exist? </blockquote><div>exists <br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">You'll want to<br>
look at it. Lines with 'PHP Notice' are safe to ignore, you should see<br>
lots of SQL, and a final line saying "[Wed Sep 16 05:12:57 EDT 2009]<br>
Finished install / upgrade - Success".<br></blockquote><div>FAILURE:<br>mentions of correcting version/local_version mangling - will error out on fresh DBs UPDATE 0<br><br>EnvironmentPHP Fatal error: Call to undefined function upgrade_fix_incorrect_mnethostides() in /var/moodle/web/lib/db/upgrade.php on line 3167<br>
[Time date] Finished install / upgrade - Failure <br></div><div><br>I haven't answered any questions below this line. We are trying to find a way to get these files off the server. I can't figure out how to set it up as an FTP server, I can't get any linux email sending to work ((al)pine, and mutt don't seem to be installed, and when I use "mail" I get a message telling me that root doesn't have mail)<br>
<br>We are trying to set another machine up to SSH into it (a machine with email access) but no luck.<br><br>Any idea how I can send an email from the server?<br><br>Thanks,<br>-Dan <br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
That file probably has the secret to your woes...<br>
<br>
- What happens if you do...?<br>
<br>
/etc/initd.d/moodle stop<br>
(bash -x /etc/initd.d/moodle start 2>&1) | tee moodleinit.log<br>
<br>
The 'tee' command will show you the output but will also save it to<br>
the "moodleinit.log" file.<br>
<br>
So I am hoping you can post your /var/log/moodle-instupg.log and<br>
moodleinit.log files so we can debug further.<br>
<div class="im"><br>
> We've been digging around (but not changing) /etc/httpd/conf/httpd.conf and<br>
> /etc/httpd/conf/httpd-xs.conf<br>
<br>
</div>That should not affect things. If moodle is showing you the "Moodle is<br>
disabled at the moment" msg, the apache config is doing its job just<br>
fine :-)<br>
<div class="im"><br>
> and they both point to a document root of /var/www/html<br>
<br>
</div> we are overriding it -- see the /etc/httpd/conf.d/ directory :-)<br>
<div class="im"><br>
> Does this have anything to do with our problem? I don't really know what<br>
> I'm doing...<br>
<br>
</div>You're doing pretty well, I gotta say -<br>
<div><div></div><div class="h5"><br>
<br>
m<br>
--<br>
<a href="mailto:martin.langhoff@gmail.com">martin.langhoff@gmail.com</a><br>
<a href="mailto:martin@laptop.org">martin@laptop.org</a> -- School Server Architect<br>
- ask interesting questions<br>
- don't get distracted with shiny stuff - working code first<br>
- <a href="http://wiki.laptop.org/go/User:Martinlanghoff" target="_blank">http://wiki.laptop.org/go/User:Martinlanghoff</a><br>
</div></div></blockquote></div><br>