• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

ERROR while trying to check the host name

V

VictorySaber

Guest
I have Fedora Core 2

Is this a bug or im doing something wrong?

Thanks in advance.
 
Just make sure your hostname is set and can be resolved.

You can also put it's ip and hostname in /etc/hosts
 
I had this same problem. Oddly enough this issue was only resolved when I changed the hosts file so that my hostname.mydomain.com hostname came AFTER the localhost.localdomain localhost

Strange but true.
 
Im haveing the same problem.. on fresh install the host resolves fine to my ip and its also in the host file but i still have this problem while running the auto installer i'll paste output below

bsdtar 1.02.023, libarchive 1.02.026
Use gtar
/usr/local/bin/gtar
bsdtar 1.02.023, libarchive 1.02.026
Use gtar
/usr/local/bin/gtar
Trying to define super-server internet daemon type... inetd
Trying to check if inetd daemon is running... done

===> Checking for previous installation ... not found.

===> Checking for the necessary system accounts
Checking for the system groups and users necessary for Qmail...
Checking for the group 'qmail'...
Group 'qmail' already exists

Checking for the group 'nofiles'...
Group 'nofiles' already exists

Checking for the user 'alias'...
Trying to add user 'alias'... done

Checking for the user 'qmaild'...
Trying to add user 'qmaild'... done

Checking for the user 'qmaill'...
Trying to add user 'qmaill'... done

Checking for the user 'qmailp'...
Trying to add user 'qmailp'... done

Checking for the user 'qmailq'...
Trying to add user 'qmailq'... done

Checking for the user 'qmailr'...
Trying to add user 'qmailr'... done

Checking for the user 'qmails'...
Trying to add user 'qmails'... done

Checking for the group 'popuser'...
Trying to add group 'popuser'... done

Checking for the user 'popuser'...
Trying to add user 'popuser'... done

done
Checking for the system groups and users necessary for MySQL...
Checking for the group 'mysql'...
Trying to add group 'mysql'... done

Checking for the user 'mysql'...
Trying to add user 'mysql'... done

Checking for the system groups and users necessary for admin server...
Checking for the group 'psaadm'...
Trying to add group 'psaadm'... done

Checking for the user 'psaadm'...
Trying to add user 'psaadm'... done

Checking for the system groups and users necessary for Apache...
Checking for the group 'apache'...
Trying to add group 'apache'... done

Checking for the user 'apache'...
Trying to add user 'apache'... done

Checking for the group 'psaftp'...
Trying to add group 'psaftp'... done

Checking for the user 'psaftp'...
Trying to add user 'psaftp'... done

Checking for the group 'psaserv'...
Group 'psaserv' already exists

Checking for the group 'psaserv'...
Trying to add supplementary group 'psaserv' for user 'apache'... done
done
Checking for the group 'psaserv'...
Trying to add supplementary group 'psaserv' for user 'psaftp'... done
done
Checking for the group 'psaserv'...
Trying to add supplementary group 'psaserv' for user 'psaadm'... done
done
Checking for the group 'psacln'...
Trying to add group 'psacln'... done

Checking for the system groups and users necessary for PostgreSQL...
Checking for the group 'postgres'...
Trying to add group 'postgres'... done

Checking for the user 'postgres'...
Trying to add user 'postgres'... done

Checking for the system groups and users necessary for Mailman...
Trying to Set up right mailman UID/GID (91)... done
Checking for the group 'mailman'...
Group 'mailman' already exists

Checking for the user 'mailman'...
User 'mailman' already exists


ERROR while trying to check the host name
Check the error reason(see log file: /tmp/psa_8.0.0_FreeBSD_6.0_build80060331.13_installing.log), fix and try again

Aborting...



Trying to restart inetd daemon... done
Trying to restart inetd daemon... done
Trying to restart inetd daemon... done
Trying to restart inetd daemon... done
Trying to restart inetd daemon... done
Trying to restart inetd daemon... done
Trying to restart inetd daemon... done
Trying to restart inetd daemon... done
Trying to restart inetd daemon... done
Trying to remove user alias... done
Trying to remove user qmaild... done
Trying to remove user qmaill... done
Trying to remove user qmailp... done
Trying to remove user qmailq... done
Trying to remove user qmailr... done
Trying to remove user qmails... done
Trying to remove user popuser... done
Trying to remove user mysql... done
Trying to remove user psaadm... done
Trying to remove user apache... done
Trying to remove user psaftp... done
Trying to remove user postgres... done
Trying to remove group popuser... done
Trying to remove group mysql... done
Trying to remove group psaadm... done
Trying to remove group apache... done
Trying to remove group psaftp... done
Trying to remove group psacln... done
Trying to remove group postgres... done
done
 
we just fixed this problem by adding server.local to /etc/hosts (on a clean customer server)
 
Hi

I have the same problem on a Suse 9.3 Server.

What exactely do I have to add to /etc/hosts? I tried to add a line with my server IP AFTER the localhost line:

<IP-NR> domainname.ch

That did not work. The upgrade log is still telling me, that my domainname is not set. Entering domainname in a shell or hostname -f yields no results.

Is /etc/hosts to only place I have to enter the domainname (or hostname)?

I'm stuck.

Thank You for help.

Jürgen
 
i had the same problem and it worked after changing to this format:

Code:
127.0.0.1       localhost.localdomain localhost
x.x.x.x     sXXXXXXX.mydomain.de  sXXXXXXXX

also check the DNS-resolving of the hostname with and without domain.
 
OK, it worked...

not by only writing the domain in /etc/hosts but usting domainname and hostname to set the names for the server

does this make sense?

Jürgen
 
Back
Top