[Server-devel] Database error troubleshooting

David Leeming david at leeming-consulting.com
Wed May 16 05:49:52 EDT 2012

Would appreciate any more tips on why the Moodle database connection is in

My resource person in PNG has repeated tests on the XS and confirms 

service postgresql status


service httpd status

both report postmaster/httpd services are running OK, but the Moodle home
pages states database error.

I can research this error for default Moodle installations but don't know if
there are any specifics related to the XS Moodle configuration. 

David Leeming

-----Original Message-----
From: server-devel-bounces at lists.laptop.org
[mailto:server-devel-bounces at lists.laptop.org] On Behalf Of David Leeming
Sent: Friday, 11 May 2012 10:38 a.m.
To: 'James Cameron'
Cc: 'XS Devel'
Subject: Re: [Server-devel] Database error troubleshooting

More on this from my remote XO Champion in PNG 

The error is : "Error: Database connection failed" as viewed in a connected
XO when they try to access the Moodle home page (local schoolserver link in

Rebooting does not help. We already established disk space is OK. It's a
default 0.6 installation.

service postgresql status  - gives "postmaster is stopped"

service httpd restart - stops and starts up OK 

it pings the FQDN and the shortcut schoolserver OK on the XS and an XO using

Any help with this appreciated. It is difficult to have to reinstall it, as
no-one there has the skills.

David Leeming
Solomon Islands Rural Link 

-----Original Message-----
From: quozl at us.netrek.org [mailto:quozl at us.netrek.org] On Behalf Of James
Sent: Wednesday, 9 May 2012 6:13 p.m.
To: David Leeming
Cc: 'Jerry Vonau'; 'XS Devel'
Subject: Re: [Server-devel] Database error troubleshooting

Have you tried rebooting the server?

The reason that I ask, is that I imagine if the Unix domain socket was
missing due to an accident, rebooting would start the database server
component again and create the Unix domain socket.

But I'm really not sure what other conditions might lead to the same

James Cameron

Server-devel mailing list
Server-devel at lists.laptop.org

More information about the Server-devel mailing list