Zoneminder wont start after deleting events

Forum for questions and support relating to the 1.24.x releases only.
Locked
gmar_87
Posts: 72
Joined: Sat Aug 13, 2011 11:38 pm
Location: Melbourne, Australia

Zoneminder wont start after deleting events

Post 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?
gmar_87
Posts: 72
Joined: Sat Aug 13, 2011 11:38 pm
Location: Melbourne, Australia

Re: Zoneminder wont start after deleting events

Post 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.
gmar_87
Posts: 72
Joined: Sat Aug 13, 2011 11:38 pm
Location: Melbourne, Australia

Re: Zoneminder wont start after deleting events

Post 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
User avatar
smilliken
Posts: 12
Joined: Sat Jun 05, 2010 8:37 pm

Re: Zoneminder wont start after deleting events

Post 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.
Simply Mepis 11 Zoneminder 1.24.2-9
Without walls.....Who needs Windows!
gmar_87
Posts: 72
Joined: Sat Aug 13, 2011 11:38 pm
Location: Melbourne, Australia

Re: Zoneminder wont start after deleting events

Post 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:
User avatar
smilliken
Posts: 12
Joined: Sat Jun 05, 2010 8:37 pm

Re: Zoneminder wont start after deleting events

Post 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?
Simply Mepis 11 Zoneminder 1.24.2-9
Without walls.....Who needs Windows!
PacoLM
Posts: 971
Joined: Wed Dec 02, 2009 9:55 pm
Location: Spain

Re: Zoneminder wont start after deleting events

Post by PacoLM »

admin/admin

After more than 15 years, no longer using ZM as surveillance system.
Now in the dark side, using a commercial system...
User avatar
smilliken
Posts: 12
Joined: Sat Jun 05, 2010 8:37 pm

Re: Zoneminder wont start after deleting events

Post 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
Simply Mepis 11 Zoneminder 1.24.2-9
Without walls.....Who needs Windows!
Locked