Can't see streaming ....

Support and queries relating to all previous versions of ZoneMinder
Locked
angelhod
Posts: 67
Joined: Wed May 04, 2005 1:51 pm
Contact:

Can't see streaming ....

Post by angelhod »

hi
i can not see any streamings, when i press on the camera name to go into Watch window all i see there is the place to show my camera view but it is blank and it says that camera status is idle. On the main page when camera function is set up to monitor the function and source for the camera are yellow.
I am running it on Slackware 10.1, ZM v1.21
All logs look really good except zmdc.log which looks like :

Can't find process with command of 'zmc -d 0'
'zmc -d 0' starting at 05/05/05 18:47:10, pid = 7031
'zmc -d 0' started at 05/05/05 18:47:10
Can't find process with command of 'zma -m 2'
Starting pending process, zmupdate.pl -c
'zmupdate.pl -c' starting at 05/05/05 18:48:30, pid = 7087
Starting pending process, zmaudit.pl -d 900 -y
'zmaudit.pl -d 900 -y' starting at 05/05/05 18:48:30, pid = 7088
'zmupdate.pl -c' started at 05/05/05 18:48:30
'zmaudit.pl -d 900 -y' started at 05/05/05 18:48:30
Can't locate LWP/UserAgent.pm in @INC (@INC contains: /usr/local/lib/perl5/5.8.6/i686-linux /usr/local/lib/perl5/5.8.6 /usr/l
ocal/lib/perl5/site_perl/5.8.6/i686-linux /usr/local/lib/perl5/site_perl/5.8.6 /usr/local/lib/perl5/site_perl .) at /usr/loca
l/bin/zmupdate.pl line 181.
BEGIN failed--compilation aborted at /usr/local/bin/zmupdate.pl line 181.
'zmupdate.pl -c' crashed at 05/05/05 18:48:31, exit status 2
Can't open log file: No such file or directory at /usr/local/bin/zmaudit.pl line 169.
'zmaudit.pl -d 900 -y' crashed at 05/05/05 18:48:31, exit status 2

when the Funtion is set up MODECT both fields are green and it is captruring images, events but still when i go to WATCH window there is same blank picture and status of the camera is idle


plz help me
User avatar
zoneminder
Site Admin
Posts: 5215
Joined: Wed Jul 09, 2003 2:07 pm
Location: Bristol, UK
Contact:

Post by zoneminder »

This is sometimes a problem with your webserver configuration either not being set up for CGI correctly in the directory that you have installed your zms binaries to. This is the first thing to check anyway.

Phil
angelhod
Posts: 67
Joined: Wed May 04, 2005 1:51 pm
Contact:

What else i can do?

Post by angelhod »

well my apache should be configured with CGI support but maybe i forgot about something.....
all i did for apache to get CGI on is
into httpd.conf i've put :
AddHandler cgi-script .cgi
Alias /usr/local/apache/cgi-bin/ /cgi-bin/

into access.conf :
<Directory /usr/local/apache/cgi-bin>
AllowOverride None
Options ExecCGI
</Directory>

is this all that should be done?

and one more

is the yellow color of the Function and Source is correct when i change into Monitor mode?

thhanks for any help
angelhod
Posts: 67
Joined: Wed May 04, 2005 1:51 pm
Contact:

it is orange not yellow ;) sorry for that

Post by angelhod »

it is orange not yellow ;) sorry for that
angelhod
Posts: 67
Joined: Wed May 04, 2005 1:51 pm
Contact:

one more thing

Post by angelhod »

at this time there is only one strange thing in logs,
zmdc.log :

'zmaudit.pl -d 900 -y' started at 05/05/05 22:05:12
Can't open log file: No such file or directory at /usr/local/bin/zmaudit.pl line 169.
'zmaudit.pl -d 900 -y' crashed at 05/05/05 22:05:12, exit status 2
User avatar
zoneminder
Site Admin
Posts: 5215
Joined: Wed Jul 09, 2003 2:07 pm
Location: Bristol, UK
Contact:

Post by zoneminder »

This does suggest that the directory you have set for your logs is perhaps not present or doesn't have permissions to write. Alternatively perhaps you ran ZM originally as root and now you are trying to run as another user but old log files have been left and cannot be overwritten. You are doing the right thing by trying to fix issue like these first as otherwise tracking down other problems is much harder.

Phil
Ruler
Posts: 235
Joined: Mon Nov 08, 2004 9:02 pm
Location: Bay City, MI

Post by Ruler »

Just a note that log file permissions can and do cause problems if they're not correct. I beat my head into the wall for almost 4 hours the other day trying to figure out why I could generate an MPEG from the command line but not from within zoneminder. Turns out that I originally got it working from the command line running zmvideo.pl directly as root, so zmvideo.log was owned by root:root. When the web interface was used, it couldn't open the log file and died. Nothing in the logs about what the problem was (the other log files were fine, but nothing was in them). So there I was sifting through the code, trying to find something like the su command in zmpkg.pl that you have to change for slack's syntax. After wondering why the command didn't even execute, I was sitting here frustrated when I noticed the permissions on the log files that were still on the screen. The lightbulb went off over my head - I fixed the permissions and all was well.
angelhod
Posts: 67
Joined: Wed May 04, 2005 1:51 pm
Contact:

ehh i dont get it....

Post by angelhod »

i i did chmod 777 to my /usr/local/apache/htdocs/zm directory but still i have the same error.....

'zmaudit.pl -d 900 -y' starting at 05/05/07 12:23:28, pid = 3842
'zmaudit.pl -d 900 -y' started at 05/05/07 12:23:28
Can't open log file: No such file or directory at /usr/local/bin/zmaudit.pl line 169.
'zmaudit.pl -d 900 -y' crashed at 05/05/07 12:23:28, exit status 2
User avatar
zoneminder
Site Admin
Posts: 5215
Joined: Wed Jul 09, 2003 2:07 pm
Location: Bristol, UK
Contact:

Post by zoneminder »

Unless you have explicitly set it to be so I very much doubt that usr/local/apache/htdocs/zm will be your log directory. Check in Options to see what it is set to.

Phil
Locked