Disk is full and I can't log in

Support and queries relating to all previous versions of ZoneMinder
Locked
sleeper0110
Posts: 5
Joined: Wed Oct 04, 2006 1:30 am

Disk is full and I can't log in

Post by sleeper0110 »

I have just been asked to take over a zoneminder server (the last admin left). The disk is 100% full and is causing mysql to malfunction and so I can't log in to the web interface (Yes I'm sure I'm using the right username and pw)

I have read the FAQ regarding "purgewhenfull" but it only explains howto enable that option through the web interface.

Can anyone give me any tips on how I can free up some space on this server? Can I delete some jpegs/events (and if so, where are they located, as I'd like to copy them to another server first).

Are all the jpeg/events stored in a mysql database?

Thanks.
User avatar
cordel
Posts: 5210
Joined: Fri Mar 05, 2004 4:47 pm
Location: /USA/Washington/Seattle

Post by cordel »

You can remove the folder with the event id's under /event/[camid] to free up space. where it is located depends on where the person whom installed ZM desided to locate them but the default is under /var/www/html/event/[camid]/ but of course that depends on your distro (above is Redhat/Fedora/CentOS).
Assuming your using 1.22.x since thats the forum you posted you should be able to check /etc/zm.conf (again assuming the the person whom compiled zm set the config file to be at that location) to see where the event jpegs are located.

Cheers,
Corey
Locked