1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

unknown hostname -- causing updater to fail

Discussion in 'Plesk for Linux - 8.x and Older' started by screamv, Dec 27, 2006.

  1. screamv

    screamv Guest

    0
     
    Hello, I am trying to use the updater to upgrade to 8.1. The auto installer craps out because:

    Hostname check failed. Autoinstaller will try to continue installation without hostname checking.

    When I run a hostname -f, it returns:

    hostname: Unknown host

    I made certain that I have a hostname in my Plesk server preferances.

    Any ideas on how I can get the hostname in there?

    Thanks!
     
  2. jens.jensen

    jens.jensen Guest

    0
     
    find out what the reverse dns for your ip is (dnsstuff.com)

    make sure your /etc/hosts file looks similar to this (fill in 2nd line with your own info):

    # Do not remove the following line, or various programs
    # that require network functionality will fail.
    127.0.0.1 localhost.localdomain localhost
    a.b.c.d myserver.somedomain.com myserver


    If that DOES NOT work:

    Not sure if this was necessary (and there might be a better way to do this) but I wound up putting the hostname statement in my startup script (/etc/rc.local) with command "hostname myserver.somedomain.com"
     
Loading...