Cordel: With all due respect, I simply followed a basic howto, step-by-step as I mentioned above (no fancy changes that I am aware of). If anything, my setup would only be out of wack because I have been trying to get this directory change accomplished by creating symlinks for "events". Remember through all of this Zoneminder worked perfectly (except for Email notification).cordel wrote:His configuration is just not right and some how there are duplicates which means somethings were done that should have never been.
The question becomes what was done as it needs to be undone.
my guess would be the php files should be in the /usr/share/zoneminder directory as aliased in the http.zm.conf as it's how most of the packagers do since we started packaging rpms a couple years back. But it don't really matter so long as you configure apahe correctly.
Remove the link from /var/www as you should not need it and whom ever told you to put it there don't know what he is doing. If apache is using the link, it should not be.
Restart apache and everything should still work. If it don't, report back the error reported by apache.
In any case, I got it working -- here is how:
1) Stop Zoneminder
Code: Select all
/etc/init.d/zoneminder stop
Code: Select all
cp -prvL /usr/share/zoneminder /zm
3) within the /usr/share/zoneminder directory, do:
Code: Select all
cd /usr/share/zoneminder
ln -s /zm/zoneminder /var/www/zm
4) Restart Zoneminder
Code: Select all
/etc/init.d/zoneminder start
PS: Never touched, modified, restarted apache at all -- which is one reason I liked this way.
Please let me know if this is not good or will cause any problems. Thanks all.