boatman9 Posted November 11, 2008 Report Share Posted November 11, 2008 I am using Mandriva 2008.0. After following the instructions for installation of ZoneMinder (here), Zoneminder failed to run. The installation process seemed to complete successfully, but after opening my web browser to http://127.0.0.1/zm I got a 403 error. Can this be fixed or should I give up and try the ZoneMinder live CD? Because the installation took several hours, I'm wondering if ZoneMinder will ever be added to the Mandriva repos? What is the package request procedure? Quote Link to comment Share on other sites More sharing options...
ianw1974 Posted November 12, 2008 Report Share Posted November 12, 2008 Can you provide the output of: netstat -tunlp so that we can see if a port is listening to connect to via web browser. But make sure that mysqld, httpd and zm services are started as per that installation guide you posted. If so, the netstat command I gave above should tell me if it's there or not. Quote Link to comment Share on other sites More sharing options...
boatman9 Posted November 12, 2008 Author Report Share Posted November 12, 2008 According to the Control Center, mysqld, httpd and zm services are running and configured to start on boot. I know that httpd is working, it will serve other files in the www directory such as http://127.0.0.1/robots.txt and http://127.0.0.1/addon-modules/HOWTO_get_modules.html. netstat -tunlp Active Internet connections (only servers) Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name tcp 0 0 0.0.0.0:2273 0.0.0.0:* LISTEN 6242/mysqlmanager tcp 0 0 0.0.0.0:6000 0.0.0.0:* LISTEN 5733/X tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 5985/httpd tcp 0 0 0.0.0.0:631 0.0.0.0:* LISTEN 5910/cupsd tcp 0 0 :::6000 :::* LISTEN 5733/X tcp 0 0 :::631 :::* LISTEN 5910/cupsd udp 0 0 0.0.0.0:32768 0.0.0.0:* 5493/avahi-daemon: udp 0 0 0.0.0.0:68 0.0.0.0:* 5212/dhclient udp 0 0 0.0.0.0:69 0.0.0.0:* 5679/xinetd udp 0 0 0.0.0.0:5353 0.0.0.0:* 5493/avahi-daemon: udp 0 0 192.168.100.11:123 0.0.0.0:* 6024/ntpd udp 0 0 127.0.0.1:123 0.0.0.0:* 6024/ntpd udp 0 0 0.0.0.0:123 0.0.0.0:* 6024/ntpd udp 0 0 fe80::208:2ff:fe93:e06e:123 :::* 6024/ntpd udp 0 0 ::1:123 :::* 6024/ntpd udp 0 0 :::123 :::* 6024/ntpd Quote Link to comment Share on other sites More sharing options...
ianw1974 Posted November 12, 2008 Report Share Posted November 12, 2008 OK, can you confirm that a zm directory exists under your webroot directory, or that a config file exists that shows which particular directory is configured to provide the url that ZoneMinder requires? Quote Link to comment Share on other sites More sharing options...
boatman9 Posted November 12, 2008 Author Report Share Posted November 12, 2008 (edited) Yes, the zm directory is populated with ZoneMinder files. [user@evo html]$ pwd /var/www/html [user@evo html]$ ls -al total 28 drwxr-xr-x 4 root root 4096 2008-11-10 20:51 ./ drwxr-xr-x 7 apache apache 4096 2008-11-10 20:51 ../ drwxr-xr-x 2 root root 4096 2008-11-10 20:46 addon-modules/ -rw-r--r-- 1 root root 3638 2007-09-07 13:47 favicon.ico -rw-r--r-- 1 root root 44 2007-09-07 13:47 index.html -rw-r--r-- 1 root root 513 2007-09-07 13:47 robots.txt drwxr-xr-x 7 root root 4096 2008-11-10 21:31 zm/ [user@evo html]$ There is a file /var/www/html/zm/index.php, it's softlinked to zm.php in the same directory. I can load http://127.0.0.1/zm/index.php into a Firefox window, it displays as php code. Edited November 12, 2008 by boatman9 Quote Link to comment Share on other sites More sharing options...
ianw1974 Posted November 12, 2008 Report Share Posted November 12, 2008 You need to install php so that apache can read the files correctly. This is why it's not working for you. Quote Link to comment Share on other sites More sharing options...
boatman9 Posted November 12, 2008 Author Report Share Posted November 12, 2008 Yes, that was it. I added apache-mod_php and now the ZoneMinder console appears in the browser window as it should. Thanks! Quote Link to comment Share on other sites More sharing options...
boatman9 Posted November 13, 2008 Author Report Share Posted November 13, 2008 Would you know which piece of software is responsible for sending ZoneMinder's control packets to the network camera? I configured ZoneMinder for my Trendnet TV-IP100 network camera, but get no image from the camera because no ZoneMinder packets are reaching the camera or appearing on the LAN. Quote Link to comment Share on other sites More sharing options...
ianw1974 Posted November 13, 2008 Report Share Posted November 13, 2008 How is the camera attached? USB? Network? If USB, when you connect it to the machine, check dmesg for the correct port, possibly /dev/ttyUSB0 and ensure that ZoneMinder is configured to correctly use this. At least, this is what I'd check, I've never used Zone Minder as of yet :) Quote Link to comment Share on other sites More sharing options...
boatman9 Posted November 14, 2008 Author Report Share Posted November 14, 2008 The Trendnet TV-IP100 is an Ethernet IP camera. I suspect the problem is related to the following error messages which I see repeated in the zmwatch.log file. 11/13/08 19:33:05.312900 zmwatch[6794].ERR [Can't get shared memory id '7a6d0002', 2: No such file or directory] 11/13/08 19:33:05.313416 zmwatch[6794].INF [Restarting capture daemon for TV-IP100, shared memory not valid] 11/13/08 19:33:05.610392 zmwatch[6794].INF ['zmc -m 2' starting at 08/11/13 19:33:05, pid = 7607] I wonder if ZoneMinder is in Mandriva's 2009.0 repo? I didn't find it in the 2008.0 repo, not sure how to look in the 2009.0 repo as I'm still using 2008.0. How do I make a package request to the Mandriva package makers? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.