Page 1 of 1

Not able to start zoneminder

Posted: Mon Oct 22, 2012 10:05 pm
by slinnings
Hi,

I have installed zm v. 1.25 on a Ubuntu 12 desktop, but I am not able to start the server. when I enter the command: service zoneminder start, I get the error: Starting Zoneminder: failure.

Looking at the log in the web browser gives me the following output, please advice.



2012-10-22 23:57:06.681030 zmpkg 3357 ERR Unable to run "sudo -u www-data /usr/bin/zmdc.pl startup", output is "Starting server" zmpkg.pl
2012-10-22 23:57:06.666330 zmdc 3372 FAT Can't connect: Permission denied zmdc.pl
2012-10-22 23:56:59.225630 zmdc 3374 FAT Can't bind: Permission denied zmdc.pl
2012-10-22 23:56:56.667420 zmdc 3374 INF Server starting at 12/10/22 23:56:56 zmdc.pl
2012-10-22 23:56:55.882532 zmfix 3369 ERR Can't chmod /dev/video0 to 20666: Operation not permitted zmfix.cpp 127
2012-10-22 23:56:54.126580 zmpkg 3357 INF Command: start zmpkg.pl

Re: Not able to start zoneminder

Posted: Tue Oct 23, 2012 6:29 am
by PacoLM
Try with root privileges:

Code: Select all

sudo service zoneminder start

Re: Not able to start zoneminder

Posted: Wed Jul 31, 2013 6:59 pm
by rtv_73
slinnings wrote:Hi,

I have installed zm v. 1.25 on a Ubuntu 12 desktop, but I am not able to start the server. when I enter the command: service zoneminder start, I get the error: Starting Zoneminder: failure.

Looking at the log in the web browser gives me the following output, please advice.



2012-10-22 23:57:06.681030 zmpkg 3357 ERR Unable to run "sudo -u www-data /usr/bin/zmdc.pl startup", output is "Starting server" zmpkg.pl
2012-10-22 23:57:06.666330 zmdc 3372 FAT Can't connect: Permission denied zmdc.pl
2012-10-22 23:56:59.225630 zmdc 3374 FAT Can't bind: Permission denied zmdc.pl
2012-10-22 23:56:56.667420 zmdc 3374 INF Server starting at 12/10/22 23:56:56 zmdc.pl
2012-10-22 23:56:55.882532 zmfix 3369 ERR Can't chmod /dev/video0 to 20666: Operation not permitted zmfix.cpp 127
2012-10-22 23:56:54.126580 zmpkg 3357 INF Command: start zmpkg.pl
This fixed it for me:

Make sure www-data:www-data own your /tmp/zm directory