[Server-devel] Database error troubleshooting
David Leeming
david at leeming-consulting.com
Tue May 22 20:18:52 EDT 2012
Regarding below, on the Moodle forum I was advised to try deleting the
Moodle config.php file (after backing up) and it would then bring up the
install page to regenerate it. However, when I test this on my local XS
(0.6) it says install.php not found.
Looking for tips how to regenerate the database connection.
David
Subject: Re: [Server-devel] Database error troubleshooting
Would appreciate any more tips on why the Moodle database connection is in
error.
My resource person in PNG has repeated tests on the XS and confirms
service postgresql status
and
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
Reminder:
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
Browse)
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
Terminal.
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
www.rurallink.com.sb
-----Original Message-----
From: quozl at us.netrek.org [mailto:quozl at us.netrek.org] On Behalf Of James
Cameron
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
symptom.
--
James Cameron
http://quozl.linux.org.au/
_______________________________________________
Server-devel mailing list
Server-devel at lists.laptop.org
http://lists.laptop.org/listinfo/server-devel
_______________________________________________
Server-devel mailing list
Server-devel at lists.laptop.org
http://lists.laptop.org/listinfo/server-devel
More information about the Server-devel
mailing list