Page 2 of 2

Re: Fresh install / ZoneMinder won't start

Posted: Sat Jul 25, 2015 7:09 pm
by bbunge
Might be easier for you to start over.

apt-get purge zoneminder or just install a fresh version of Ubuntu.

then

http://www.zoneminder.com/wiki/index.ph ... e_easy_way

You do not need to install FFMPEG but be aware of the extras if you want to try libvlc

bb

Re: Fresh install / ZoneMinder won't start

Posted: Sat Jul 25, 2015 8:42 pm
by bmather9
SteveGilvarry wrote:Possibly caused by this
9. Harden PHP for security.

Edit the php.ini file :
sudo vi /etc/php5/apache2/php.ini
Add or edit the following lines an save :
disable_functions = exec,system,shell_exec,passthru
register_globals = Off
expose_php = Off
display_errors = Off
track_errors = Off
html_errors = Off
magic_quotes_gpc = Off
And ZM needs exec at least to run console status.
That did it! I was getting so frustrated! I commented out that line in my php.ini file and it started Running immediately! I can view the video and play from here! Thanks so much!

So is it worthwhile to disable those other functions of system, shell_exec, passthru?

Re: Fresh install / ZoneMinder won't start

Posted: Sun Jul 26, 2015 3:26 am
by SteveGilvarry
If you are super dedicated to locking it down, you could try adding them back slowly, I think the only other one that could possibly be in use is system. I don't expose zm direct to Internet so don't lock down.