Can't view live streamed images anymore...

Forum for questions and support relating to the 1.24.x releases only.
Locked
butlerm1977
Posts: 36
Joined: Wed Sep 09, 2009 4:47 pm

Can't view live streamed images anymore...

Post 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.
butlerm1977
Posts: 36
Joined: Wed Sep 09, 2009 4:47 pm

followup

Post by butlerm1977 »

Image

Image

Image
whatboy
Posts: 304
Joined: Mon Aug 31, 2009 10:31 pm

Post by whatboy »

List directory of Zoneminder...
butlerm1977
Posts: 36
Joined: Wed Sep 09, 2009 4:47 pm

files

Post 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
whatboy
Posts: 304
Joined: Mon Aug 31, 2009 10:31 pm

Post 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
butlerm1977
Posts: 36
Joined: Wed Sep 09, 2009 4:47 pm

Post 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
whatboy
Posts: 304
Joined: Mon Aug 31, 2009 10:31 pm

Post 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...
butlerm1977
Posts: 36
Joined: Wed Sep 09, 2009 4:47 pm

Post 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.
whatboy
Posts: 304
Joined: Mon Aug 31, 2009 10:31 pm

Post by whatboy »

Change it to apache:apache
butlerm1977
Posts: 36
Joined: Wed Sep 09, 2009 4:47 pm

Post 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.
butlerm1977
Posts: 36
Joined: Wed Sep 09, 2009 4:47 pm

Post 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)"
butlerm1977
Posts: 36
Joined: Wed Sep 09, 2009 4:47 pm

Post 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.
butlerm1977
Posts: 36
Joined: Wed Sep 09, 2009 4:47 pm

Post by butlerm1977 »

Here's my system config...
Image
mastertheknife
Posts: 678
Joined: Wed Dec 16, 2009 4:32 pm
Location: Israel

Post 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.
Locked