Monday 8 April 2013

update on the failure..

So, an examination of the rpi, showed that the flash disk had run out of space...

As it filled up it couldnt create jpgs, hence the zero size files..

Then when it got totally full, it couldnt resolve the dns, to get to the ftp server, so no files at all !

This was all caused by a bit of a bodge I'd done..

In order to try and keep the old webcams and the picams as maintenance free as possible, I've put them on a mains timer switch. So the power goes off every night, and then back on again first thing in the morning. This resets the old cams ( which randomly die and need a power cycle frequently ), and I didn't think it would be a problem for the picams as I'd put a 'shutdown' in the crontab..

But.. I'd done a shutdown -r ( ie a reboot ) rather than a -h ( halt ).
So even tho the rpi was rebooting every night, it was also being powered off separately and effectively uncontrolled.. The result of this was the rpi generating crash logs, every day, which eventually filled up the flashdisk.. doh !

I've changed the shutdown statement, and added a 2nd webcam, and even been up the ladder again, so both picams are now working, all off the one RPI.

They need a bit of 'adjustment' in their enclosure.. well, actually they are just balanced on the top of the old webcams,  and one of them has fallen over already, but it looks like we are getting there..

Just need a few weeks of testing and troubleshooting I think..

Here's some links to the latest images



No comments:

Post a Comment