apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName
hello
i am using ubutnu 10.04 and i installed apache2.2.14 and everything is working fine
then i try to install GNUPANEL(but it's installation was failed in last step)but it changed some configuration in my apache so
when i try to start apache then i got following message:
peeyush@
* Starting web server apache2
apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName
no listening sockets available, shutting down
Unable to open logs
and the output of my /etc/hosts is:
127.0.0.1 localhost
127.0.1.1 peeyush-desktop
# The following lines are desirable for IPv6 capable hosts
::1 localhost ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts
and output of /etc/apache2/
(it means these files contains nothing)
then i add this line
ServerName localhost
to /etc/apache2/
then i again try to start apache then got the following output:
peeyush@
* Starting web server apache2
no listening sockets available, shutting down
Unable to open logs
so please tell me how to solve this problem.
-Thanks
Peeyush Chandel
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- Ubuntu apache2 Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask Peeyush Chandel for more information if necessary.