Page 1 of 1
strange things going on
Posted: Wed Jun 21, 2006 9:18 pm
by rayman2
Posted: Wed Jun 21, 2006 10:08 pm
by acrid
i had some trouble using "inverted" with network cameras... maybe turning it off would help.
another thing is to use "regular expressions" in the network options.
can you access the camera with
http://10.0.0.2 without user/password? are you sure its 640x480 with 24 bit?
if it is still does not work, you should give us some log file snippets.
Posted: Wed Jun 21, 2006 10:20 pm
by jameswilson
yeah there lots of possibles here
You need to check you logs too
Check what the image returned from a browser or wget is (size wise) you coulbe be having shared mem errors (shmget) or path issues etc
Posted: Thu Jun 22, 2006 12:07 am
by cordel
In your paths settings for ZM_PATH_ZMS this should be the relative to the web root not your drive root ie. /cgi-bin/zms
Everything else looks good. Some logs would help.
Run the following command:
tail -f /tmp/zm*.log /var/log/messages
Then from another console window restart zm and try to view your monitor. Post the logs after the restart.
Regards,
Corey
Posted: Thu Jun 22, 2006 7:01 am
by rayman2
hi.
I have uploaded my logs to 100mbit server so you can download it
http://vegovc.si/~lukpiv/logsZM.tar
and yes i can access to camera UI through 10.0.0.2
BTW: I am using 2 NICs eth0 is 192.168.1.236 eth1: 10.0.0.1
tnx
Have a nice day!
Posted: Thu Jun 22, 2006 8:27 am
by cordel
Did you correct your config error???
And rather than go through all your logs just the snips posted here on the forum would be fine.
Regards,
Corey
Posted: Thu Jun 22, 2006 12:10 pm
by rayman2
hm i am getting those 2 errors :S
06/22/06 08:24:12.272811 zmwatch[12000].INF ['zmc -m 1' started at 06/06/22 08:24:12] at /usr/local/bin/zmwatch.pl line 118
06/22/06 08:24:12.274358 zmwatch[12000].ERR [Can't get shared memory id '7a6d2002', 2: No such file or directory]
06/22/06 08:24:12.274712 zmwatch[12000].INF [Restarting capture daemon for Kamera, shared memory not valid]
06/22/06 08:24:12.595139 zmwatch[12000].INF ['zmc -m 2' started at 06/06/22 08:24:12] at /usr/local/bin/zmwatch.pl line 118
and
06/22/06 08:24:12.566141 zmdc[11415].INF ['zmc -m 2' starting at 06/06/22 08:24:12, pid = 5922]
06/22/06 08:24:12.588707 zmdc[11415].ERR ['zmc -m 2' crashed, exit status 255]
06/22/06 08:24:13.173183 zmdc[5926].INF ['zmc -m 3' started at 06/06/22 08:24:13]
06/22/06 08:24:13.174137 zmdc[11415].INF ['zmc -m 3' starting at 06/06/22 08:24:13, pid = 5926]
06/22/06 08:24:13.202669 zmdc[11415].ERR ['zmc -m 3' crashed, exit status 255]
Tnx
Have a nice day!
Posted: Thu Jun 22, 2006 3:23 pm
by jameswilson
what camera is this an axis?
It appears as if zm isnt getting imagaes and this could be a shared mem isue of a size of image issue.
Plus as suggested keep the comfig as std as possible before inverting images so turn this off.
Posted: Mon Jun 26, 2006 7:02 am
by rayman2
oky i disabled all unnecesary things but it is still not working

:(
Have a nice day!
Posted: Mon Jun 26, 2006 7:18 am
by cordel
Is this machine available over the net?
If so, If you would like, I can log-in and take a look and see if I can get you going.
Just PM the info to me including your setup so I don't have to poke around to much to find out what it is.
Regards,
Corey
Posted: Mon Jun 26, 2006 9:05 am
by cordel
Problem solved.
There were three things going on here.
First the path for zms was not correct and didn't go with the alias for the cgi-bin directory in http.conf
The path under the paths tab in zm options is relitive to the web root and not the drive root.
/var/www/localhost/cgi-bin/zms is the drive root and should be /cgi-bin/zms
Second the alias was wrong in httpd.conf so I commented out the bad line and added the correct alias
Code: Select all
# Alias.
#
#ScriptAlias /cgi-bin/ /var/www/localhost/cgi-bin/
ScriptAlias /cgi-bin/ /var/www/cgi-bin/
The real cgi-bin should never really be in the real web root. That just bad ju ju.
The other issue was the shared memory was set to small for shmmax.
Cheers,
Corey
Posted: Tue Jun 27, 2006 4:08 pm
by zoneminder
Thanks for saving the day again Corey
