No subject
Sun Nov 22 08:20:35 EST 2009
Correcting version/local_version mangling - will error out on fresh DBs
psql: could not connect to server: No such file or directory
Is the server running locally and accepting
connections on Unix domain socket "/tmp/.s.PGSQL.5432"?
(some HTML saying 'Error: Database connection failed.")
[Sun Nov 22 13:49:33 PST 2009] Finished install / upgrade - Failure
# service pgsql-xs status
postmaster is stopped
# service moodle status
Moodle cron job is disabled.
# chkconfig --list pgsql-xs
pgsql-xs 0:off 1:off 2:on 3:on 4:on 5:on 6:off
# chkconfig --list moodle
moodle 0:off 1:off 2:off 3:on 4:on 5:on 6:off
# service pgsql-xs start
/library/pgsql-xs/data-8.3 is missing. Use "service postgresql initdb" to
initialize the cluster first. [FAILED]
-----------------------------------------
Any help would be greatly appreciated. Thanks!
-Ben
--000e0cd1062828ae07047903b814
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Hello,<div><br></div><div>I just did a fresh install of XS 0.6 and now I ca=
n't access Moodle. =A0I dug around in the mail archive but couldn't=
find anything to fix the problem. =A0Please see details below.</div><div><=
br>
</div><div>-----------------------------------------</div><div><div>Pointin=
g the browser to <a href=3D"http://schoolserver.example.org/">http://school=
server.example.org/</a> =A0=A0redirects to <a href=3D"http://schoolserver.e=
xample.org/moodle/">http://schoolserver.example.org/moodle/</a> =A0=A0and s=
ays "Moodle is disabled at the moment."</div>
<div><br></div><div>The file '/etc/moodle/needsupgrade' exists.</di=
v><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/l=
ocal_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=3D"Apple-tab-span" style=3D"white-space:pre"> </span>Is the se=
rver running locally and accepting</div><div><span class=3D"Apple-tab-span"=
style=3D"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</d=
iv><div><br></div><div># service pgsql-xs status</div><div>postmaster is st=
opped</div>
<div><br></div><div># service moodle status</div><div>Moodle cron job is di=
sabled.</div><div><br></div><div># chkconfig --list pgsql-xs</div><div>pgsq=
l-xs<span class=3D"Apple-tab-span" style=3D"white-space:pre"> </span>0:off<=
span class=3D"Apple-tab-span" style=3D"white-space:pre"> </span>1:off<span =
class=3D"Apple-tab-span" style=3D"white-space:pre"> </span>2:on<span class=
=3D"Apple-tab-span" style=3D"white-space:pre"> </span>3:on<span class=3D"Ap=
ple-tab-span" style=3D"white-space:pre"> </span>4:on<span class=3D"Apple-ta=
b-span" style=3D"white-space:pre"> </span>5:on<span class=3D"Apple-tab-span=
" style=3D"white-space:pre"> </span>6:off</div>
<div><br></div><div># chkconfig --list moodle</div><div>moodle<span class=
=3D"Apple-tab-span" style=3D"white-space:pre"> </span>0:off<span class=3D"=
Apple-tab-span" style=3D"white-space:pre"> </span>1:off<span class=3D"Apple=
-tab-span" style=3D"white-space:pre"> </span>2:off<span class=3D"Apple-tab-=
span" style=3D"white-space:pre"> </span>3:on<span class=3D"Apple-tab-span" =
style=3D"white-space:pre"> </span>4:on<span class=3D"Apple-tab-span" style=
=3D"white-space:pre"> </span>5:on<span class=3D"Apple-tab-span" style=3D"wh=
ite-space:pre"> </span>6:off</div>
<div><br></div><div># service pgsql-xs start</div><div>/library/pgsql-xs/da=
ta-8.3 is missing. Use "service postgresql initdb" to initialize =
the cluster first.<span class=3D"Apple-tab-span" style=3D"white-space:pre">=
</span>[FAILED]</div>
</div><div>-----------------------------------------</div><div><br></div><d=
iv>Any help would be greatly appreciated. =A0Thanks!</div><div>-Ben</div>
--000e0cd1062828ae07047903b814--
More information about the Server-devel
mailing list