• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

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