Hello,<div><br></div><div>I just did a fresh install of XS 0.6 and now I can't access Moodle. I dug around in the mail archive but couldn't find anything to fix the problem. Please see details below.</div><div><br>
</div><div>-----------------------------------------</div><div><div>Pointing the browser to <a href="http://schoolserver.example.org/">http://schoolserver.example.org/</a> redirects to <a href="http://schoolserver.example.org/moodle/">http://schoolserver.example.org/moodle/</a> and says "Moodle is disabled at the moment."</div>
<div><br></div><div>The file '/etc/moodle/needsupgrade' exists.</div><div><br></div><div>From /var/log/moodle-instupg.log:</div><div>[Sun Nov 22 13:49:31 PST 2009] Start install / update</div><div>Correcting version/local_version mangling - will error out on fresh DBs</div>
<div>psql: could not connect to server: No such file or directory</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>Is the server running locally and accepting</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>connections on Unix domain socket "/tmp/.s.PGSQL.5432"?</div>
<div>(some HTML saying 'Error: Database connection failed.")</div><div>[Sun Nov 22 13:49:33 PST 2009] Finished install / upgrade - Failure</div><div><br></div><div># service pgsql-xs status</div><div>postmaster is stopped</div>
<div><br></div><div># service moodle status</div><div>Moodle cron job is disabled.</div><div><br></div><div># chkconfig --list pgsql-xs</div><div>pgsql-xs<span class="Apple-tab-span" style="white-space:pre">        </span>0:off<span class="Apple-tab-span" style="white-space:pre">        </span>1:off<span class="Apple-tab-span" style="white-space:pre">        </span>2:on<span class="Apple-tab-span" style="white-space:pre">        </span>3:on<span class="Apple-tab-span" style="white-space:pre">        </span>4:on<span class="Apple-tab-span" style="white-space:pre">        </span>5:on<span class="Apple-tab-span" style="white-space:pre">        </span>6:off</div>
<div><br></div><div># chkconfig --list moodle</div><div>moodle<span class="Apple-tab-span" style="white-space:pre">                </span>0:off<span class="Apple-tab-span" style="white-space:pre">        </span>1:off<span class="Apple-tab-span" style="white-space:pre">        </span>2:off<span class="Apple-tab-span" style="white-space:pre">        </span>3:on<span class="Apple-tab-span" style="white-space:pre">        </span>4:on<span class="Apple-tab-span" style="white-space:pre">        </span>5:on<span class="Apple-tab-span" style="white-space:pre">        </span>6:off</div>
<div><br></div><div># service pgsql-xs start</div><div>/library/pgsql-xs/data-8.3 is missing. Use "service postgresql initdb" to initialize the cluster first.<span class="Apple-tab-span" style="white-space:pre">                                                                </span>[FAILED]</div>
</div><div>-----------------------------------------</div><div><br></div><div>Any help would be greatly appreciated. Thanks!</div><div>-Ben</div>