Page 1 of 1

Zoneminder wont start after deleting events

Posted: Sun Aug 14, 2011 12:14 am
by gmar_87
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?

Re: Zoneminder wont start after deleting events

Posted: Sun Aug 14, 2011 12:18 am
by gmar_87
Oops, forgot the system info...

Zoneminder v1.24.4 running on Ubuntu 11.04 LTS server. This is a virtual machine hosted on VMware ESXi 4.1u1 box.
The 2 monitors i currently have configured are two Foscam FI8918W's.

Re: Zoneminder wont start after deleting events

Posted: Tue Aug 16, 2011 9:32 am
by gmar_87
From boot.log
***********
Starting ZoneMinder: Bareword "ZM_DYN_DB_VERSION" not allowed while "strict subs" in use at /usr/local/bin/zmpkg.pl line 159.
Bareword "ZM_DYN_DB_VERSION" not allowed while "strict subs" in use at /usr/local/bin/zmpkg.pl line 158.
Bareword "ZM_DYN_DB_VERSION" not allowed while "strict subs" in use at /usr/local/bin/zmpkg.pl line 160.
Execution of /usr/local/bin/zmpkg.pl aborted due to compilation errors.
failure

Re: Zoneminder wont start after deleting events

Posted: Fri Aug 19, 2011 4:14 am
by smilliken
I have the same situation. I had deleted several events from with zoneminder. I noted there was not very many events today, which was strange. So I rebooted the computer and was presented with a login screen. Funny thing about this is I never set up any user to sign in at the login screen.

Re: Zoneminder wont start after deleting events

Posted: Sat Aug 20, 2011 1:17 am
by gmar_87
I ended up restoring an old backup and reconfigured Zoneminder to work with my cameras again..
Still don't know what happened, but it hasn't reoccurred yet...
Nullmailer events were caused by miss-configuration on my end :oops:

Re: Zoneminder wont start after deleting events

Posted: Thu Aug 25, 2011 1:16 am
by smilliken
gmar_87 wrote:I ended up restoring an old backup and reconfigured Zoneminder to work with my cameras again..
Still don't know what happened, but it hasn't reoccurred yet...
Nullmailer events were caused by miss-configuration on my end :oops:
Thanks

Is there a default user id and password?

Re: Zoneminder wont start after deleting events

Posted: Thu Aug 25, 2011 5:06 am
by PacoLM
admin/admin

Re: Zoneminder wont start after deleting events

Posted: Sat Aug 27, 2011 4:47 am
by smilliken
PacoLM wrote:admin/admin
Thanks

I get this:

Code: Select all

Not Found

The requested URL /zm/undefined was not found on this server.
Apache/2.2.19 (Debian) Server at 127.0.0.1 Port 80