On Wed, 2011-04-13 at 08:48 +0530, Varuna Seneviratna wrote:
When the command "service httpd start" is given the output is
Starting httpd: httpd: Could not reliably determine the server's fully qualified domain name, using ::1 for ServerName
Sounds like your networking wasn't up, at the time. Or you don't have working DNS.
If you have a DNS server, then your computer's IP address and hostname should be programmed into it.
Otherwise, you can enter the information into your /etc/hosts file. Have a look at the file, and "man hosts", for how it's used.
(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]
Which does sound like, either something else is already running on port 80, or perhaps you have a SELinux restriction on web serving, or you weren't the root user (which I see is the case, by your subsequent post).
For future reference, running the following command line will show if something's already running. Look for an address followed by :80 in the local address column.
netstat -antvp
And the end column would name the program.