Page 1 of 1

I ran out of space, now I can't start ZM

Posted: Thu Sep 13, 2012 7:29 am
by baekmark
Hi list,
I made a similar post on Monday, But I haven't got any reply or solution, so I'm trying with a different headline!
The issue is still the same!

my Zoneminder ran out of diskspace, and now I can't start ZM. I'm running V1.25.0 on a 64 bit Ubuntu 11.04. Before this incident, the server has been running for many month!

When I try to start via init.d I get this:

root@npczm:~# /etc/init.d/zm start
Starting ZoneMinder: Bareword "ZM_DYN_DB_VERSION" not allowed while "strict subs" in use at /usr/local/bin/zmpkg.pl line 150.
Bareword "ZM_DYN_DB_VERSION" not allowed while "strict subs" in use at /usr/local/bin/zmpkg.pl line 149.
Bareword "ZM_DYN_DB_VERSION" not allowed while "strict subs" in use at /usr/local/bin/zmpkg.pl line 151.
Execution of /usr/local/bin/zmpkg.pl aborted due to compilation errors.
failure
root@npczm:~#

I have some 116 M available space!

Right now all space is being used under the /var/www/zm directory, and I kind of don't want to remove any files before ZM is running again

Any help is appreciated

BR
Lars

Re: I ran out of space, now I can't start ZM

Posted: Sat Sep 29, 2012 12:44 am
by dante
Hi

I had the same error. The error is because some of the records from the Config table (from the mysql zm database) were deleted.

I compared this table with the original and detected that the records with the id greater than 201 do not exists.

So, I just copied those records, start the zoneminder service and everything begins to works as expected.

Dante

Re: I ran out of space, now I can't start ZM

Posted: Thu Jan 24, 2013 2:53 pm
by thomas1977
Hi @ all,
Having the same problem here after disk running full. I dont know how to compare the Config tables. Compare with what?

How can I restore my installation?

thanks a lot
thomas1977