No Image shown in Monitor view

Forum for questions and support relating to the 1.24.x releases only.
Locked
DARKHalf
Posts: 4
Joined: Mon Dec 19, 2011 1:29 pm

No Image shown in Monitor view

Post by DARKHalf »

Hi there,
I've installed zoneminder 1.24.2.
I'm running a debian squeeze server and zoneminder is running.

I've set up a monitor for my IP camera and when I click on the monitor the watch window opens but no image is shown.
If I copy the image URL and open it in a new window, I get nph_zms downloaded instead of a image.

I think this indicates that my web setup of apache is not complete but i have no idea where the problem lies.
Could anyone help me with this?

Best regards.
DARKHalf
Posts: 4
Joined: Mon Dec 19, 2011 1:29 pm

Re: No Image shown in Monitor view

Post by DARKHalf »

It turned out that zmwatch can not read shared memory.

12/19/11 17:44:11.745744 zmwatch[3950].ERR [Can't read from shared memory '7a6d0002/2359297': Permission denied]
12/19/11 17:44:11.745940 zmwatch[3950].ERR [Unable to read 'shared_data:size' from memory for monitor 2]

I've already tried to set shmmax for sysctl but I get a permission denied error. This seems to be because I'm on a vserver and cannot change shared memory values. Any Idea how to get zoneminder to work with my environment?
DARKHalf
Posts: 4
Joined: Mon Dec 19, 2011 1:29 pm

Re: No Image shown in Monitor view

Post by DARKHalf »

No one with any idea?
pathetic_programmer
Posts: 18
Joined: Fri Dec 09, 2011 2:49 am

Re: No Image shown in Monitor view

Post by pathetic_programmer »

What settings did you use for your monitor? Are you copying and pasting from the address bar? If you are, that won't work since Zoneminder needs a way to authenticate itself with the camera. For my Foscam, I have to use these settings under source:

Remote Protocol: HTTP
Remote Method: Simple
Remote Host Name: 192.168.10.90
Remote Host Port: 80
Remote Host Path: /videostream.cgi?user=admin&pwd=password
Remote Image Colours: 24 bit colour
Capture Width: 640
Capture Height: 480
Perserver Aspect Ratio: Unchecked
Orientation: Normal
DARKHalf
Posts: 4
Joined: Mon Dec 19, 2011 1:29 pm

Re: No Image shown in Monitor view

Post by DARKHalf »

I used hostname instead of IPAdress and put the credentials there.
E.g.: <user>:<pass>@host

The rest is configured like yours.

I've checked the logs and it seems zmWatch cannot access the shared memory. But the process is started with the same user the shared memory has. So zmwatch should be able to access the memory. But I always get an error in the log as mentioned before.
Locked