[SOLVED] Fresh install / ZoneMinder won't start

Forum for questions and support relating to the 1.28.x releases only.
bbunge
Posts: 2956
Joined: Mon Mar 26, 2012 11:40 am
Location: Pennsylvania

Re: Fresh install / ZoneMinder won't start

Post 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
bmather9
Posts: 23
Joined: Sun Jul 19, 2015 10:44 pm

Re: Fresh install / ZoneMinder won't start

Post 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?
SteveGilvarry
Posts: 494
Joined: Sun Jun 29, 2014 1:12 pm
Location: Melbourne, AU

Re: Fresh install / ZoneMinder won't start

Post 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.
Production Zoneminder 1.37.x (Living dangerously)
Random Selection of Cameras (Dahua and Hikvision)
Locked