[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

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

[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] 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

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