start and stop not functionaing

Support and queries relating to all previous versions of ZoneMinder
Locked
nelius
Posts: 3
Joined: Sun Dec 07, 2003 5:25 pm

start and stop not functionaing

Post by nelius »

Hi

If I click the start button on top of the control-page, nothing happens, it remains as stop, and nothing comes in the log-files.

If i then open a watch-window, i can see no video, in the logs is said, that zmc has not initialized shared mem.

If i try to activate this cam, the logs says: permission denid vor /dev/video0

to get the thing solved, i hav to run zmc -d 0, than it works, exept the stop button then...

whats going wrong?

tnx
cornelius
nelius
Posts: 3
Joined: Sun Dec 07, 2003 5:25 pm

Re: start and stop not functionaing

Post by nelius »

Ok, i found it,
It was the wrong user and group for apache...
mikep
Posts: 21
Joined: Thu Jan 22, 2004 7:08 pm

Re: start and stop not functionaing

Post by mikep »

yes, in /usr/bin/zmpkg.pl theres the web username and password, they have to match.

I just did that and it seemed to help a lot as well.
mikep
Posts: 21
Joined: Thu Jan 22, 2004 7:08 pm

Re: start and stop not functionaing

Post by mikep »

it was failing because of
Can't open log file: Permission denied at /usr/bin/zmdc.pl line 153.

I just put a absolute path to /tmp/zmdc.log instead because it couldnt access /var/log.

works now says its running!
Locked