[RESOLVED] Debian 6 install no image

Forum for questions and support relating to the 1.24.x releases only.
Locked
Esky
Posts: 13
Joined: Wed Mar 19, 2008 11:58 am

[RESOLVED] Debian 6 install no image

Post by Esky »

Hello all,

I installed zoneminder (1.24.2-8) on a debian6 machine with apt-get. After a while I got the ip cams setup in Nodect mode.

In the webinterface the function and source are green so I guess it works. But when I click montage no image is shown.

I can't seem to find the problem (or an error message), where should I look?

zmdc.log:

Code: Select all

05/31/2011 11:48:19.478316 zmdc[32393].INF [Server starting at 11/05/31 11:48:19]
05/31/2011 11:48:22.650245 zmdc[32393].INF ['zmc -m 1' starting at 11/05/31 11:48:22, pid = 32433]
05/31/2011 11:48:22.811656 zmdc[32393].INF ['zma -m 1' starting at 11/05/31 11:48:22, pid = 32436]
05/31/2011 11:48:22.982092 zmdc[32393].INF ['zmc -m 2' starting at 11/05/31 11:48:22, pid = 32439]
05/31/2011 11:48:23.150088 zmdc[32393].INF ['zma -m 2' starting at 11/05/31 11:48:23, pid = 32442]
05/31/2011 11:48:23.307387 zmdc[32393].INF ['zmfilter.pl' starting at 11/05/31 11:48:23, pid = 32445]
05/31/2011 11:48:23.449918 zmdc[32393].INF ['zmaudit.pl -c' starting at 11/05/31 11:48:23, pid = 32448]
05/31/2011 11:48:23.678624 zmdc[32393].INF ['zmwatch.pl' starting at 11/05/31 11:48:23, pid = 32451]
05/31/2011 12:04:28.254733 zmdc[32393].ERR ['zmc -m 2' exited abnormally, exit status 255]
05/31/2011 12:04:28.255095 zmdc[32393].INF [Starting pending process, zmc -m 2]
05/31/2011 12:04:28.258686 zmdc[32393].INF ['zmc -m 2' starting at 11/05/31 12:04:28, pid = 32743]
zmfilter.log:

Code: Select all

05/31/2011 11:48:23.584219 zmfilter[32445].INF [Scanning for events]
zmpkg.log:

Code: Select all

05/31/2011 11:48:19.132500 zmpkg[32380].INF [Command: start]
zmwatch.log:

Code: Select all

05/31/2011 11:48:23.805501 zmwatch[32451].INF [Watchdog starting]
05/31/2011 11:48:23.805931 zmwatch[32451].INF [Watchdog pausing for 30 seconds]
/var/log/messages

Code: Select all

May 31 12:28:55 forumhetpraathuis zmc_m2[32743]: INF [test: 2000 - Capturing at 1.43 fps]
May 31 12:30:22 forumhetpraathuis zmc_m1[32433]: INF [01-Albert-Lensen: 24000 - Capturing at 9.52 fps]
Attachments
montage.jpg
montage.jpg (44.54 KiB) Viewed 3267 times
Last edited by Esky on Fri Jun 03, 2011 3:09 pm, edited 1 time in total.
Esky
Posts: 13
Joined: Wed Mar 19, 2008 11:58 am

Re: Debian 6 install no image

Post by Esky »

Some more searching led me to the apache error logs:
[Thu Jun 02 12:30:38 2011] [error] [client XX.XX.XX.XX] array (\n 0 => \n array (\n 'file' => '/usr/share/zoneminder/ajax/stream.php',\n 'line' => 55,\n 'function' => 'ajaxError',\n 'args' => \n array (\n 0 => 'socket_sendto( /tmp/zms-662593s.sock ) failed: No such file or directory',\n ),\n ),\n 1 => \n array (\n 'file' => '/usr/share/zoneminder/index.php',\n 'line' => 116,\n 'args' => \n array (\n 0 => '/usr/share/zoneminder/ajax/stream.php',\n ),\n 'function' => 'require_once',\n ),\n), referer: http://test.forumhetpraathuis.nl/index. ... ge&group=0
this happens when I open the montage or cycle window when I use either mpeg or jpeg streaming.

The .sock files do appear in the /tmp folder but the disappear almost instantly.
Esky
Posts: 13
Joined: Wed Mar 19, 2008 11:58 am

Re: Debian 6 install no image

Post by Esky »

ow and I did manage to record a few events. I can watch them as frames or stills and generate a video, but I can't watch them as stream.
User avatar
cordel
Posts: 5210
Joined: Fri Mar 05, 2004 4:47 pm
Location: /USA/Washington/Seattle

Re: Debian 6 install no image

Post by cordel »

Esky wrote:Some more searching led me to the apache error logs:
[Thu Jun 02 12:30:38 2011] [error] [client XX.XX.XX.XX] array (\n 0 => \n array (\n 'file' => '/usr/share/zoneminder/ajax/stream.php',\n 'line' => 55,\n 'function' => 'ajaxError',\n 'args' => \n array (\n 0 => 'socket_sendto( /tmp/zms-662593s.sock ) failed: No such file or directory',\n ),\n ),\n 1 => \n array (\n 'file' => '/usr/share/zoneminder/index.php',\n 'line' => 116,\n 'args' => \n array (\n 0 => '/usr/share/zoneminder/ajax/stream.php',\n ),\n 'function' => 'require_once',\n ),\n), referer: http://test.forumhetpraathuis.nl/index. ... ge&group=0
Check the highlighted location, see if the socket file is created and what the permissions are.
Esky
Posts: 13
Joined: Wed Mar 19, 2008 11:58 am

Re: Debian 6 install no image

Post by Esky »

Thank you for the help. I found the problem, turns out it was a problem with the cgi-bin not working properly :oops:
Locked