Re: [Server-devel] Database error troubleshooting

2012-05-08 Thread David Leeming
Thanks, I don't know how that might have come about as the server is not accessed via the terminal. It is quite important to us to try and find a solution on site. The chap there is able to follow simple instructions using the terminal. So any help greatly appreciated... David -Original M

Re: [Server-devel] Database error troubleshooting

2012-05-08 Thread James Cameron
The Apache error logs suggest that the database connection failure is because of a missing Unix domain socket file in /tmp/.s.PGSQL.5432 which I imagine might occur if the file was accidentally removed since last boot. There may be other causes. I don't know enough about XS to advise further, sor

Re: [Server-devel] Database error troubleshooting

2012-05-08 Thread Jerry Vonau
On Wed, 2012-05-09 at 11:28 +1100, David Leeming wrote: > I have a resource person at a remote school contacting me to say their > production XS is displaying “Error: database connection failed” on the > Moodle home page. It had been running OK for some weeks with a low > load – only 20 laptops. >

Re: [Server-devel] Database error troubleshooting

2012-05-08 Thread James Cameron
On Wed, May 09, 2012 at 01:27:44PM +1100, David Leeming wrote: > cron.log attached, not very helpful, which other logs might help? Apache error and access logs? I don't know where they are on the XS, but on typical systems that I manage they can be found in /var/log/apache*/* -- James Cameron h

Re: [Server-devel] Database error troubleshooting

2012-05-08 Thread David Leeming
cron.log attached, not very helpful, which other logs might help? David From: server-devel-boun...@lists.laptop.org [mailto:server-devel-boun...@lists.laptop.org] On Behalf Of David Leeming Sent: Wednesday, 9 May 2012 11:28 a.m. To: 'XS Devel' Subject: [Server-devel] Database error trouble

[Server-devel] Database error troubleshooting

2012-05-08 Thread David Leeming
I have a resource person at a remote school contacting me to say their production XS is displaying "Error: database connection failed" on the Moodle home page. It had been running OK for some weeks with a low load - only 20 laptops. He is able to follow simple instructions with the terminal and

Re: [Server-devel] smooth shutdown for 12V-DC powered XS

2012-05-08 Thread James Cameron
I understand the requirement. There are two approaches. One measures voltage, and when it goes below a threshold begins shutdown, and when it goes below a final threshold it disconnects the load. The second approach is a charge controller, which estimates the capacity of the battery bank by meas

[Server-devel] smooth shutdown for 12V-DC powered XS

2012-05-08 Thread Xavier Carcelle
Dear XS developers, As we plan to install and deploy a fitPC2 as a School Server in our NosyKomba deployment in Madgascar for OLPC France, we plan to powered it with the 12 VDC power-rail (powered by solar panel + battery + regulator). =>As we did it with another XS installed but powered by 220VAC