• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

unknown hostname -- causing updater to fail

S

screamv

Guest
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!
 
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"
 
Back
Top