Debian/Apache error message
Hi all!
I am new to the ”server side” of GNU/Linux, but I managed to install Debian on an old laptop, and open up the correct ports for ssh and http. So, I now have a functioning server! However, I get an error from Apache when I reload it, it looks like follows:
[Wed Dec 01 21:05:48 2010] [warn] NameVirtualHost *:80 has no VirtualHosts
httpd not running, trying to start
(13)Permission denied: make_sock: could not bind to address [::]:80
(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
failed!
Now, having said (typed) that:
1) It works - despite this message
2) I have Googled my a** off, and found that I am by no means alone in this. Sadly though, none of the results I found with the help of Google helped me solve this riddle.
Now, this is not the end of the world, I can host my sites, and like I said, it works. BUT! Being who I am, I would like to LEARN why this message pops up, and what I can do to make things right.
This started after I decided to try to host more than one site on the same ip by the way.
My ports.conf looks like this:
NameVirtualHost *:80
Listen 80
My files in sites-enabled starts off with:
<VirtualHost *:80>
I would appreciate any help to solve this little mystery, thanks for reading this,
HMW