Page 1 of 1

Can't view live streamed images anymore...

Posted: Wed Mar 24, 2010 4:40 pm
by butlerm1977
Up until a few days ago, everything was perfectly fine. But now, when I click on any cam, I cannot view the streaming jpeg images. When the windows opens to view the camera, I get a quick flash of the 640x480 boundary of where the picture would be, then it disappears. I'm using Firefox 3.6 and ZM 1.24.2.

I tried downloading the latest version of Cambozola and overwriting my original into /var/www/html/zm directory, but same problem. I have since went back to the original jar file.

Which log files would be helpful to troubleshoot this? I'll post some screen caps shortly.

followup

Posted: Wed Mar 24, 2010 6:13 pm
by butlerm1977
Image

Image

Image

Posted: Wed Mar 24, 2010 6:25 pm
by whatboy
List directory of Zoneminder...

files

Posted: Wed Mar 24, 2010 7:55 pm
by butlerm1977
/var/www/html/zm
# ls
ajax css images js sounds views
cambozola.jar events includes lang temp
graphics index.php skins tools

/tmp
# ls
zmaudit.log zms-259043s.sock zms-735258s.sock zmswap-m3
zmdc.log zms-324332w.sock zms-781140s.sock zmswap-m4
zmdc.sock zms-437398w.sock zms-786089w.sock zmswap-m5
zmfilter.log zms-471894s.sock zms-818666w.sock zmswap-m6
zmpkg.log zms-493195w.sock zms-851614s.sock zmswap-m7
zms-073953s.sock zms-528488s.sock zms-959197s.sock zmupdate.log
zms-213033s.sock zms-530609s.sock zmswap-m1 zmwatch.log
zms-219113s.sock zms-557059w.sock zmswap-m2

Posted: Wed Mar 24, 2010 9:17 pm
by whatboy
next time try with "ls -l" instead of only "ls"...

I don't know, but you lack of mootools...

http://www.zoneminder.com/forums/viewto ... 9ee8462e2f
http://www.zoneminder.com/forums/viewto ... 7f84f46c06

Posted: Thu Mar 25, 2010 2:14 pm
by butlerm1977
I downloaded mootools (http://mootools.net/core - selected all components), renamed it to mootools.js and copied it to /var/www/html/zm/.

Do I need to do anything in the /var/www/html/zm/tools/mootools/ ?

I rebooted the machine and no difference. Still have the same problem of cameras not showing up. Again, it's still recording, just can't view the jpeg stream.

#ls -l
total 272
drwxr-xr-x 2 apache apache 4096 Feb 2 08:50 ajax
-rw-r--r-- 1 root root 46494 Mar 24 09:17 cambozola.jar
drwxr-xr-x 2 apache apache 4096 Feb 2 08:50 css
drwxr-xr-x 6 apache apache 4096 Mar 11 14:09 events
drwxr-xr-x 2 apache apache 4096 Feb 2 08:50 graphics
drwxr-xr-x 2 apache apache 4096 Mar 23 07:54 images
drwxr-xr-x 2 apache apache 4096 Feb 2 08:50 includes
-rw-r--r-- 1 apache apache 3717 Feb 2 08:50 index.php
drwxr-xr-x 2 apache apache 4096 Feb 2 08:50 js
drwxr-xr-x 2 apache apache 4096 Feb 2 08:50 lang
-rw------- 1 root root 141417 Mar 25 08:03 mootools.js
drwxr-xr-x 4 apache apache 4096 Feb 2 08:50 skins
drwxr-xr-x 2 apache apache 4096 Feb 2 08:50 sounds
drwxr-xr-x 2 apache apache 4096 Feb 3 14:41 temp
drwxr-xr-x 3 apache apache 4096 Feb 2 08:50 tools
drwxr-xr-x 2 apache apache 4096 Feb 2 08:50 views

Posted: Thu Mar 25, 2010 4:40 pm
by whatboy
Size in cabozola does not match mine...

-rwxrwxr-x 1 apache apache 56667 2010-03-06 00:25 cambozola.jar

try downloading it again from http://www.charliemouse.com:8080/code/c ... est.tar.gz

Untar the file and Copy it from dist folder to your ZM root...

Posted: Thu Mar 25, 2010 6:21 pm
by butlerm1977
#ls -l
total 260
drwxr-xr-x 2 apache apache 4096 Feb 2 08:50 ajax
-rw-r--r-- 1 root root 56667 Mar 25 11:12 cambozola.jar
drwxr-xr-x 2 apache apache 4096 Feb 2 08:50 css
drwxr-xr-x 6 apache apache 4096 Mar 11 14:09 events
drwxr-xr-x 2 apache apache 4096 Feb 2 08:50 graphics
drwxr-xr-x 2 apache apache 4096 Mar 23 07:54 images
drwxr-xr-x 2 apache apache 4096 Feb 2 08:50 includes
-rw-r--r-- 1 apache apache 3717 Feb 2 08:50 index.php
drwxr-xr-x 2 apache apache 4096 Feb 2 08:50 js
drwxr-xr-x 2 apache apache 4096 Feb 2 08:50 lang
-rw-r--r-- 1 root root 141417 Mar 25 08:04 mootools.js
drwxr-xr-x 4 apache apache 4096 Feb 2 08:50 skins
drwxr-xr-x 2 apache apache 4096 Feb 2 08:50 sounds
drwxr-xr-x 2 apache apache 4096 Feb 3 14:41 temp
drwxr-xr-x 3 apache apache 4096 Feb 2 08:50 tools
drwxr-xr-x 2 apache apache 4096 Feb 2 08:50 views

same result....quick flash of the boundries and then nothing.

Posted: Thu Mar 25, 2010 6:47 pm
by whatboy
Change it to apache:apache

Posted: Fri Mar 26, 2010 1:21 pm
by butlerm1977
chown'd apache:apache cambozola.jar and mootools.js

-rw-r--r-- 1 apache apache 56667 Mar 25 11:12 cambozola.jar
-rw-r--r-- 1 apache apache 141417 Mar 25 08:04 mootools.js

Same problem.

Posted: Fri Mar 26, 2010 3:17 pm
by butlerm1977
any other logs that might be helpful? this was essentially a trace of me logging into the system and clicking on Cam 1. The picture boundries load and then disappear.

#tail -f /var/log/httpd/access_log
192.168.1.1 - - [26/Mar/2010:09:11:36 -0600] "GET /zm HTTP/1.1" 301 319 "-" "Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.2.2) Gecko/20100316 Firefox/3.6.2 (.NET CLR 3.5.30729)"
192.168.1.1 - - [26/Mar/2010:09:11:36 -0600] "GET /zm/ HTTP/1.1" 200 27839 "-" "Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.2.2) Gecko/20100316 Firefox/3.6.2 (.NET CLR 3.5.30729)"
192.168.1.1 - - [26/Mar/2010:09:11:51 -0600] "GET /zm/?view=watch&mid=2 HTTP/1.1" 200 6559 "http://XX.XX.XX.XX:8080/zm/" "Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.2.2) Gecko/20100316 Firefox/3.6.2 (.NET CLR 3.5.30729)"
192.168.1.1 - - [26/Mar/2010:09:11:52 -0600] "GET /cgi-bin/nph-zms?mode=jpeg&monitor=2&scale=100&maxfps=5&buffer=1000&auth=056f5223a024d94abcd6ab9452b79d8d&connkey=607332&rand=1269616311 HTTP/1.1" 200 - "http://XX.XX.XX.XX:8080/zm/?view=watch&mid=2" "Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.2.2) Gecko/20100316 Firefox/3.6.2 (.NET CLR 3.5.30729)"
192.168.1.1 - - [26/Mar/2010:09:11:56 -0600] "POST /zm/index.php HTTP/1.1" 200 105 "http://XX.XX.XX.XX:8080/zm/?view=watch&mid=2" "Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.2.2) Gecko/20100316 Firefox/3.6.2 (.NET CLR 3.5.30729)"
192.168.1.1 - - [26/Mar/2010:09:11:58 -0600] "POST /zm/index.php HTTP/1.1" 200 6342 "http://XX.XX.XX.XX:8080/zm/?view=watch&mid=2" "Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.2.2) Gecko/20100316 Firefox/3.6.2 (.NET CLR 3.5.30729)"

Posted: Fri Mar 26, 2010 4:04 pm
by butlerm1977
# tail -f /var/log/messages
Mar 26 09:59:32 ZM zms[3742]: INF [Debug Level = 0, Debug Log = <none>]
Mar 26 09:59:32 ZM zms[3742]: Libgcrypt warning: missing initialization - please fix the application
Mar 26 09:59:32 ZM zms[3742]: ERR [Unable to authenticate user]

This happens exactly when the stream fails to display.

Posted: Fri Mar 26, 2010 4:13 pm
by butlerm1977
Here's my system config...
Image

Posted: Sat Apr 03, 2010 12:03 pm
by mastertheknife
I have that warning too but streams work fine.
I believe this is your error:

Code: Select all

Mar 26 09:59:32 ZM zms[3742]: ERR [Unable to authenticate user]
zms fails to authenicate you for some reason. Please make sure you dont have any weird characters such as spaces in your username and password.