Troubles with ZM and Apache
Posted: Sat Jun 19, 2010 9:22 am
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
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