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!

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&#39;t access Moodle. =A0I dug around in the mail archive but couldn&#39;t=
 find anything to fix the problem. =A0Please see details below.</div><div><=
g the browser to <a href=3D"">http://school=</a> =A0=A0redirects to <a href=3D"http://schoolserver.e="></a> =A0=A0and s=
ays &quot;Moodle is disabled at the moment.&quot;</div>
<div><br></div><div>The file &#39;/etc/moodle/needsupgrade&#39; 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 &quot;=
<div>(some HTML saying &#39;Error: Database connection failed.&quot;)</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=
<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 &quot;service postgresql initdb&quot; to initialize =
the cluster first.<span class=3D"Apple-tab-span" style=3D"white-space:pre">=
iv>Any help would be greatly appreciated. =A0Thanks!</div><div>-Ben</div>


More information about the Server-devel mailing list