OK I have the latest release 1.24.2 on Centos 5.5. I remember having similar problems on my original install on Centos This is a fresh install with a working BT878 4 channel single chip card.
Here is the last part of my zmdc.log
05/24/2010 07:12:41.102153 zmdc[2611].INF ['zma -m 2' starting at 10/05/24 07:12:41, pid = 3099]
05/24/2010 07:12:41.124155 zmdc[2611].ERR ['zma -m 2' exited abnormally, exit status 255]
05/24/2010 07:12:41.131403 zmdc[2611].ERR ['zma -m 1' exited abnormally, exit status 255]
05/24/2010 07:12:42.037930 zmdc[2611].INF [Starting pending process, zma -m 4]
05/24/2010 07:12:42.039328 zmdc[2611].INF ['zma -m 4' starting at 10/05/24 07:12:42, pid = 3102]
05/24/2010 07:12:42.051190 zmdc[2611].INF [Starting pending process, zma -m 3]
05/24/2010 07:12:42.062082 zmdc[2611].INF ['zma -m 3' starting at 10/05/24 07:12:42, pid = 3104]
05/24/2010 07:12:42.074604 zmdc[2611].ERR ['zma -m 4' exited abnormally, exit status 255]
05/24/2010 07:12:42.086442 zmdc[2611].ERR ['zma -m 3' exited abnormally, exit status 255]
************************
I have checked shared memory and it was good.
Apache errors
[Mon May 24 07:12:20 2010] [error] [client 127.0.0.1] socket_sendto( /tmp/zms-346264s.sock ) failed: No such file or directory, referer: http://localhost/zm/index.php?view=watch&mid=1
[Mon May 24 07:12:20 2010] [error] [client 127.0.0.1] array (\n 0 => \n array (\n 'file' => '/var/www/html/zm/ajax/stream.php',\n 'line' => 55,\n 'function' => 'ajaxError',\n 'args' => \n array (\n 0 => 'socket_sendto( /tmp/zms-346264s.sock ) failed: No such file or directory',\n ),\n ),\n 1 => \n array (\n 'file' => '/var/www/html/zm/index.php',\n 'line' => 116,\n 'args' => \n array (\n 0 => '/var/www/html/zm/ajax/stream.php',\n ),\n 'function' => 'require_once',\n ),\n), referer: http://localhost/zm/index.php?view=watch&mid=1
*************************
also these in apache
[Mon May 24 07:08:27 2010] [error] [client 127.0.0.1] PHP Notice: Undefined offset: 3 in /var/www/html/zm/skins/classic/views/settings.php on line 30, referer: http://localhost/zm/index.php?view=watch&mid=4
[Mon May 24 07:08:27 2010] [error] [client 127.0.0.1] PHP Notice: Undefined offset: 2 in /var/www/html/zm/skins/classic/views/settings.php on line 30, referer: http://localhost/zm/index.php?view=watch&mid=4
[Mon May 24 07:08:27 2010] [error] [client 127.0.0.1] PHP Notice: Undefined offset: 1 in /var/www/html/zm/skins/classic/views/settings.php on line 30, referer: http://localhost/zm/index.php?view=watch&mid=4
***************************
Could this be a permission issue??
I don't even get a square box with blue or black when I view the monitor just the menu items and controls.
Kind Regards
Michael Smith
Orange /dev/video 0 --> no widow for video Centos 5.5
-
- Posts: 49
- Joined: Wed Mar 14, 2007 12:58 pm
- knight-of-ni
- Posts: 2406
- Joined: Thu Oct 18, 2007 1:55 pm
- Location: Shiloh, IL
I read your post... thought about it... I can't say I know what the issue is, but in light of no other responses here is what I would do if I were in your shoes. You could find out if it is a permissions problem by simply executing:
Although my guess is that this is not a permissions problem.
Because a fresh install of CentOS does not have everything you need, I recommend you verify you are not missing some prerequisite or some Apache/PHP related package is not new enough.
You can do that by reviewing the CentOS guide here:
http://www.zoneminder.com/wiki/index.php/CentOS
See "Step Five - Installing ZoneMinder 1.24.2"
To simplify what the guide says, you basically have to add the rpmforge repository and then install several packages. You will almost certainly run into problems if you have not done this.
I've been keeping up to date with the latest svn of zoneminder for some time now on my CentOS 5 system so I know that once you get all your prerequisites, zm installs and runs quite well on this platform.
If you are confident you have your system set up correctly, then the next thing I would look at is the bt878 module. Bt878 cards are typically not auto-detected correctly. Have you specified the correct options for this module in /etc/modprobe.d? Steps for this can be found in the wiki & forums as well. Look for the infamous "pico" card as one example.
Code: Select all
sudo chown apache:apache -R /var/www/html
Because a fresh install of CentOS does not have everything you need, I recommend you verify you are not missing some prerequisite or some Apache/PHP related package is not new enough.
You can do that by reviewing the CentOS guide here:
http://www.zoneminder.com/wiki/index.php/CentOS
See "Step Five - Installing ZoneMinder 1.24.2"
To simplify what the guide says, you basically have to add the rpmforge repository and then install several packages. You will almost certainly run into problems if you have not done this.
I've been keeping up to date with the latest svn of zoneminder for some time now on my CentOS 5 system so I know that once you get all your prerequisites, zm installs and runs quite well on this platform.
If you are confident you have your system set up correctly, then the next thing I would look at is the bt878 module. Bt878 cards are typically not auto-detected correctly. Have you specified the correct options for this module in /etc/modprobe.d? Steps for this can be found in the wiki & forums as well. Look for the infamous "pico" card as one example.