Okay, I have been hanging out on #zoneminder at freenode.net for two days now asking for help and only got one response there. Not even one that was really helpful. Hopefully, some of you here can help me solve this. The directory structure on this build is:
Code: Select all
[root@zmvss Build]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda1 7.7G 391M 7.0G 6% /
/dev/md0 1.9T 33M 1.9T 1% /data0
/dev/sda10 20G 265M 19G 2% /home
/dev/sda8 4.9G 138M 4.5G 3% /tmp
/dev/sda6 9.7G 2.3G 6.9G 26% /usr
/dev/sda7 9.7G 327M 8.8G 4% /var
/dev/sda9 9.7G 158M 9.0G 2% /var/www
Code: Select all
/data0/zmdata/events /var/www/html/events none defaults,bind 0 2
/data0/zmdata/images /var/www/html/images none defaults,bind 0 2
But, while trying to make some adjustments to the base Linux system using the tools provided by Mageia I found out that the CPAN upgrade had completely hosed some of the Perl based tools provided by Mageia. I dinked around trying to fix this for a couple of days, then decided to wipe '/' and '/usr' and reinstall. This "fixed" the broken Perl tools in Mageia. Of course, I then had to redo my ZM install. I reran ./configure, make and make install and edited the installed zm.conf with the user and pass for the MySQL 'zm' database. This time, ZM is not working. Every time I try to load the 'index.php' for ZM I see this in the Apache access_log:
So, I shut down 'zm', deleted the 'zm' database, ran 'make uninstall' in the 'zm' build directory (/home/zoneminder/Build/ZoneMinder-1.25.0), removed the 'zm' build directory, extracted the build directory from the ZoneMinder-1.25.0.tar.gz again and redid the steps to ./configure, make. create the 'zm' database, and make install ZM again. I still get a 500 error every time I try to load the 'index.php' file for ZM.127.0.0.1 - - [17/Jan/2012:13:17:47 -0500] "GET /index.php HTTP/1.1" 500 - "-" "Mozilla/5.0 (X11; Linux x86_64; rv:9.0.1) Gecko/20100101 Firefox/9.0.1"
Nothing shows up in the Apache error_log file. When I load a test.php page with the one line <? phpinfo(); ?> in it, that works. So PHP on Apache does appear to be working okay. Here are the Apache packages that are installed:
Code: Select all
apache-base-2.2.17-5.6.mga1
apache-conf-2.2.17-2.mga1
apache-doc-2.2.17-1.mga1
apache-mod_perl-2.0.5-1.1.mga1
apache-mod_php-5.3.6-1.mga1
apache-mod_ssl-2.2.17-5.6.mga1
apache-modules-2.2.17-5.6.mga1
apache-mpm-prefork-2.2.17-5.6.mga1
Help?