Find the answer to your Linux question:
Results 1 to 3 of 3
I know this is not very important but I get this error after service httpd star: httpd: Could not reliably determine the server's fully qualified domain name, using ::1 for ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Oct 2011
    Posts
    10

    /etc/hosts


    I know this is not very important but I get this error after service httpd star:

    httpd: Could not reliably determine the server's fully qualified domain name, using ::1 for ServerName

    I change /etc/hosts from:

    10.0.3.15 myhost # Added by NetworkManager
    127.0.0.1 localhost.localdomain localhost
    ::1 myhost localhost6.localdomain6 localhost6

    to:

    10.0.3.15 myhost # Added by NetworkManager
    127.0.0.1 localhost.localdomain localhost
    ::1 myhost myhost.com

    But the file comes back to its original form after I reboot the system, and then I get the same error...

  2. #2
    Just Joined!
    Join Date
    Nov 2011
    Location
    Bandung
    Posts
    6
    10.0.3.15 myhost
    #::1 myhost myhost.com

    on your httpd.conf change your server name with right name for example myhost:80

  3. #3
    Just Joined!
    Join Date
    Mar 2009
    Location
    Santa Cruz, California
    Posts
    76
    You should restore the /etc/hosts file to its former state. The hostname should show up in /etc/hostname. Then edit httpd.conf as above and restart the server.

    Also, configure /etc/resolv.conf unless you are using Network Manager to configure your network - Network Manager writes this file according to its own settings.

    As you said, this message is probably not too important.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •