Not able to start zoneminder

Forum for questions and support relating to the 1.25.x releases only.
Locked
slinnings
Posts: 1
Joined: Mon Oct 22, 2012 10:00 pm

Not able to start zoneminder

Post 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
PacoLM
Posts: 971
Joined: Wed Dec 02, 2009 9:55 pm
Location: Spain

Re: Not able to start zoneminder

Post by PacoLM »

Try with root privileges:

Code: Select all

sudo service zoneminder start

After more than 15 years, no longer using ZM as surveillance system.
Now in the dark side, using a commercial system...
rtv_73
Posts: 11
Joined: Mon Sep 07, 2009 4:01 pm

Re: Not able to start zoneminder

Post 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
Locked