Zoneminder wont start after deleting events
Posted: Sun Aug 14, 2011 12:14 am
The other day i was unable to login to Zoneminder - the login page would appear, but after entering credentials I was redirected to login page. SSH'd into the Zoneminder VM and found out the data disk was full. This was strange as the day before i had only used 9% of the 50GB partition. I deleted some events from /var/www/zm/events which freed up some space and allowed me to login. I now have 36% free space Zoneminder status is "stopped". When i try to apply "start" state the main page just refreshes and still shows stopped. I can't view any live streams from monitors in this state.
Been looking through the logs and noticed my syslog has grown a lot!!
This log appears constantly when the disk was full:
Aug 13 06:38:01 ZoneMinder1 zmc_m2[1804]: WAR [Corrupt JPEG data: 1 extraneous bytes before marker 0xd9]
Now i have this constantly appearing in the log:
Aug 14 09:18:57 ZoneMinder1 zms[32448]: INF [Debug Level = 0, Debug Log = <none>]
Aug 14 09:18:57 ZoneMinder1 zms[32447]: INF [Debug Level = 0, Debug Log = <none>]
Aug 14 09:18:57 ZoneMinder1 zms[32448]: ERR [Config mismatch, expected 197 items, read 163. Try running 'zmupdate.pl -f' to reload config.]
Aug 14 09:18:57 ZoneMinder1 zms[32447]: ERR [Config mismatch, expected 197 items, read 163. Try running 'zmupdate.pl -f' to reload config.]
When i try to run zmupdate.pl -f i get:
Bareword "ZM_DYN_DB_VERSION" not allowed while "strict subs" in use at /usr/local/bin/zmupdate.pl line 114.
BEGIN not safe after errors--compilation aborted at /usr/local/bin/zmupdate.pl line 150.
For some reason there are around 5 extremely long events that have caused the disk to fill. I can't view them or any short events though...
I have tried rebooting the server, but no change.
Also noticed this in the syslog:
Aug 14 09:24:00 ZoneMinder1 nullmailer[1046]: Rescanning queue.
Aug 14 09:24:00 ZoneMinder1 nullmailer[1046]: Starting delivery: protocol: smtp host: mail.GMAR file: 1312664020.19948
Aug 14 09:24:00 ZoneMinder1 nullmailer[1668]: smtp: Failed: Connect failed
Aug 14 09:24:00 ZoneMinder1 nullmailer[1046]: Sending failed: Host not found
Aug 14 09:24:00 ZoneMinder1 nullmailer[1046]: Delivery complete, 1 message(s) remain.
Server was running for 2 weeks with no issues!
I'm new to Zoneminder... can someone please help?
Been looking through the logs and noticed my syslog has grown a lot!!
This log appears constantly when the disk was full:
Aug 13 06:38:01 ZoneMinder1 zmc_m2[1804]: WAR [Corrupt JPEG data: 1 extraneous bytes before marker 0xd9]
Now i have this constantly appearing in the log:
Aug 14 09:18:57 ZoneMinder1 zms[32448]: INF [Debug Level = 0, Debug Log = <none>]
Aug 14 09:18:57 ZoneMinder1 zms[32447]: INF [Debug Level = 0, Debug Log = <none>]
Aug 14 09:18:57 ZoneMinder1 zms[32448]: ERR [Config mismatch, expected 197 items, read 163. Try running 'zmupdate.pl -f' to reload config.]
Aug 14 09:18:57 ZoneMinder1 zms[32447]: ERR [Config mismatch, expected 197 items, read 163. Try running 'zmupdate.pl -f' to reload config.]
When i try to run zmupdate.pl -f i get:
Bareword "ZM_DYN_DB_VERSION" not allowed while "strict subs" in use at /usr/local/bin/zmupdate.pl line 114.
BEGIN not safe after errors--compilation aborted at /usr/local/bin/zmupdate.pl line 150.
For some reason there are around 5 extremely long events that have caused the disk to fill. I can't view them or any short events though...
I have tried rebooting the server, but no change.
Also noticed this in the syslog:
Aug 14 09:24:00 ZoneMinder1 nullmailer[1046]: Rescanning queue.
Aug 14 09:24:00 ZoneMinder1 nullmailer[1046]: Starting delivery: protocol: smtp host: mail.GMAR file: 1312664020.19948
Aug 14 09:24:00 ZoneMinder1 nullmailer[1668]: smtp: Failed: Connect failed
Aug 14 09:24:00 ZoneMinder1 nullmailer[1046]: Sending failed: Host not found
Aug 14 09:24:00 ZoneMinder1 nullmailer[1046]: Delivery complete, 1 message(s) remain.
Server was running for 2 weeks with no issues!
I'm new to Zoneminder... can someone please help?