zmviewer_0.2 can't show recorded events

Forum for questions and support relating to the 1.24.x releases only.
Locked
landrower
Posts: 12
Joined: Sat Apr 03, 2010 1:17 pm
Location: Brazil

zmviewer_0.2 can't show recorded events

Post by landrower »

Hello all.
First, sorry by my bad English.

I have zmviwer-0.2_I386.deb installed on my ubuntu 8.04 and the server has zoneminder v1.24.2 with CentOS 5.4 64bits.

The problem appears when I open the "Event List", there I receive the error "Connection Refused (or timed out)" and on the console a receive this message:
/cgi-bin/nph-zms?source=event&mode=jpeg&frame=1&event=56317&scale=100&bitrate=2&auth=d5a0a010d9d8e40a7d9f9fde394af9e0

If I paste the url below on browser I receive a blank screen without errors.
http://cameras.cordiap15.intra/cgi-bin/ ... de394af9e0

If anyone have an idea, please tell-me.

Thanks for all.
Lawrence Waclawiak
ilios
Posts: 20
Joined: Sun Jun 20, 2010 5:28 pm

Post by ilios »

please post apache error
F5 is our mantra
landrower
Posts: 12
Joined: Sat Apr 03, 2010 1:17 pm
Location: Brazil

Post by landrower »

ilios wrote:please post apache error
Apache have no error.

log:
10.10.50.201 - - [19/Jul/2010:20:54:04 -0300] "GET /cgi-bin/nph-zms?source=event&mode=jpeg&frame=1&event=56612&scale=100&bitrate=2&auth=c2fa35a7a9cebae3cca0c340877fbc9d HTTP/1.1" 200 -
10.10.50.201 - - [19/Jul/2010:20:54:08 -0300] "GET /cgi-bin/nph-zms?source=event&mode=jpeg&frame=1&event=56612&scale=100&bitrate=2&auth=c2fa35a7a9cebae3cca0c340877fbc9d HTTP/1.1" 200 -
10.10.50.201 - - [19/Jul/2010:20:54:10 -0300] "GET /cgi-bin/nph-zms?source=event&mode=jpeg&frame=1&event=56673&scale=100&bitrate=2&auth=c2fa35a7a9cebae3cca0c340877fbc9d HTTP/1.1" 200 -
10.10.50.201 - - [19/Jul/2010:20:54:10 -0300] "GET /cgi-bin/nph-zms?source=event&mode=jpeg&frame=1&event=56673&scale=100&bitrate=2&auth=c2fa35a7a9cebae3cca0c340877fbc9d HTTP/1.1" 200 -

I miss to say that I have 6 cameras and all are configured on port 1234, not 80.
When I try to see one event I run a tcpdump on server and I see that zmviwer are trying to connect to server on 1234 port, but the server is not listing os this port.
See:
[root@ProxyP15 shorewall]# [root@ProxyP15 httpd]# tcpdump -i any -nnn host 10.10.50.201 and tcp port 1234
tcpdump: WARNING: Promiscuous mode not supported on the "any" device
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on any, link-type LINUX_SLL (Linux cooked), capture size 96 bytes
20:47:22.565931 IP 10.10.50.201.34792 > 10.10.50.14.1234: S 331350224:331350224(0) win 5840 <mss>
20:47:28.565317 IP 10.10.50.201.34792 > 10.10.50.14.1234: S 331350224:331350224(0) win 5840 <mss>
20:47:40.564170 IP 10.10.50.201.34792 > 10.10.50.14.1234: S 331350224:331350224(0) win 5840 <mss>
20:48:04.561833 IP 10.10.50.201.34792 > 10.10.50.14.1234: S 331350224:331350224(0) win 5840 <mss>
20:48:52.557119 IP 10.10.50.201.34792 > 10.10.50.14.1234: S 331350224:331350224(0) win 5840 <mss>

I change the camera's port to 1234 because when all was running over port 80, when I tried restart the apache it's say that the port 80 was already in use.
Lawrence Waclawiak
ilios
Posts: 20
Joined: Sun Jun 20, 2010 5:28 pm

Post by ilios »

ok, i will try to help you, witch distro are you using? is your zm installation in a vps?

brand and model of your camera?
F5 is our mantra
landrower
Posts: 12
Joined: Sat Apr 03, 2010 1:17 pm
Location: Brazil

Post by landrower »

Thank you very much Ilios.

Ok,

Server: IP 10.10.50.14
Dell PowerEdge 1950 8Gb ram 500Gb raid 5 SAS
Centos 5.4 64 bits
Zoneminder 1.24.2 compiled.
Apache 2.2.3-31.el5

Clients: IP 10.10.50.201 and 10.10.50.209
Kubuntu 8.04 with zmviwer 0.2 deb packet.
WIndowx XP with zmviwer 0.2 for windows

Cameras:
6 Foscam FI8908W with web access over tcp port 1234

I don't know what is a VPS, please give-me more explain.

The server, clients and cameras are on the same network 10.10.50.0/24

ZoneMinder full work's with browsers, but browsers freeze some times, because this I'm trying to use the zmviewer.

Zmviwer are able to connect and show cameras, but can't able to show events.
The events windows open ok, the evens was listed, but when a double click on an event I receive the error "Connection Refused(or timed out)"
If I open "View Setup" on events window it show-me:

Name: Event-123819
Server: cameras.cordiap15.intra
Port: 1234
Monitor: 1
Stream: /cgi-bin/nph-zms

I think here we have a problem because are the cameras that are running on port 1234, not SERVER.

At this time o run a tcpdump on server filtering by IP of client and port 1234 and I saw that zmviwer sent requests to ZM server on port 1234 instead of 80.

[root@ProxyP15 ~]# tcpdump -i any -nnn host 10.10.50.201 and tcp port 1234
14:19:46.389508 IP 10.10.50.201.53741 > 10.10.50.14.1234: S 2158530123:2158530123(0) win 5840 <mss>
14:19:46.389540 IP 10.10.50.14.1234 > 10.10.50.201.53741: R 0:0(0) ack 2158530124 win 0
14:19:46.569737 IP 10.10.50.201.53742 > 10.10.50.14.1234: S 2162166638:2162166638(0) win 5840 <mss>
14:19:46.569766 IP 10.10.50.14.1234 > 10.10.50.201.53742: R 0:0(0) ack 2162166639 win 0

And on zmviwer console a saw it:
/cgi-bin/nph-zms?source=event&mode=jpeg&frame=1&event=58278&scale=100&bitrate=2&auth=2ba11cf70a7b8aee13bfa6b3c8ad9f51

Have no log about this on APACHE, I think because apache is not listening on port 1234.
Have no log about this on ZM too.

My apache virtual host configuration is:

<VirtualHost>

<Directory>
Options -Indexes MultiViews FollowSymLinks
AllowOverride All
Order allow,deny
Allow from all
#Deny from all # DELETE THIS LINE
</Directory>
ServerAdmin lwaclawiak@cordiaip.com.br
DocumentRoot /var/www/html/zoneminder
ServerName cameras.cordiap15.intra
ErrorLog logs/cameras.cordiap15-error_log
CustomLog logs/cameras.cordiap15.intra-access_log common
</VirtualHost>

The problem is the same with windows and Linux version of ZMviewer.

I have one more doubt. ZMVIWER is able to control PTZ cameras? Because I made drivers to control my cameras, and it's work very nice on browser, but I can't found this option on zmviwer.

Sorry again by my bad English, I'm from Brasil.
I appreciate very much your help and if you need more details please let me know.
Lawrence Waclawiak
Locked