Page 1 of 1

Troubles with ZM and Apache

Posted: Sat Jun 19, 2010 9:22 am
by albertazzo
I just installed ZoneMinder for Ubuntu (my distribution is Ubuntu 10.04) through
sudo apt-get install zoneminder

and all seemed going alright, MySQL got installed too.

Then I did:
sudo ln -s /etc/zm/apache.conf/etc/apache2/conf.d/zoneminder.conf

and I had no problems.

But when I tried to update Apache configuration by

/etc/init.d/apache2 reload

I got this feedback from the system:

alberto@alberto-laptop:~$ /etc/init.d/apache2 reload
* Reloading web server config apache2 apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName
httpd not running, trying to start
(13)Permission denied: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
Unable to open logs
[fail]

So I thought to give a try with "sudo":
alberto@alberto-laptop:~$ sudo /etc/init.d/apache2 reload
* Reloading web server config apache2 apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName

In the end when I try to access the web interface through FireFox

http://localhost/zm

I get the well known "404 Not Found" error
and I get the same with
http://127.0.1.1/zm

I don't know what to do.

Any advice?

Thanks beforehand
Alberto

Posted: Thu Jul 29, 2010 6:26 am
by landrower
Hello,

I had the same issue and I corrected it by change the web port of my cameras to other port like 1234.(remember to update it on source tab and control tab)

I think it's a port socket conflict with apache and zoneminder.

Any way, if you try to start apache with zm down apache will come up and than zm too.