krazeel Posted October 30, 2008 Share Posted October 30, 2008 Hello, I'm a first-time user of the PHP Freaks forums and I say hi to all of you - especially those who could give me a hand! So what happens is that I installed yesterday Apache 2 in Ubuntu, compiling the source code from Terminal. I don't know if any of you has ever installed a LAMP environment, but I guess it's not crucial for you to understand this particular message: "httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName" I get this message when I start and stop Apache from terminal - what would be like Windows Command Line. I searched this issue in google and I found some information, but I couldn't get specific enough answers. What I would like to know initially is why is this httpd reply displayed whenever I start or stop Apache and how should it look like if it was correctly configured. Thanks Quote Link to comment Share on other sites More sharing options...
trq Posted October 30, 2008 Share Posted October 30, 2008 It would appear your hostname isn't set properly on the machine. What is the output of the following.... cat /etc/hosts Quote Link to comment Share on other sites More sharing options...
krazeel Posted October 30, 2008 Author Share Posted October 30, 2008 Thanks for the quick response This is the output: 127.0.0.1 localhost 127.0.1.1 ab-desktop # The following lines are desirable for IPv6 capable hosts ::1 ip6-localhost ip6-loopback fe00::0 ip6-localnet ff00::0 ip6-mcastprefix ff02::1 ip6-allnodes ff02::2 ip6-allrouters ff02::3 ip6-allhosts Quote Link to comment Share on other sites More sharing options...
krazeel Posted November 2, 2008 Author Share Posted November 2, 2008 Well problem solved, I set the ServerName in the httpd.conf file and there were no more errors. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.