Community Forums
Connect with us on LinkedIn
Community Notice
+ Reply to Thread
Results 1 to 4 of 4
  1. #1
    Member
    Join Date
    Feb 2004
    Posts
    37

    Default Hostname Error but the hostname is set correctly

    Hello i get the following message at the start of the installation

    ********************* ERROR *********************

    Your hostname is not set properly. Please
    change your hostname to a fully qualified domain name,
    and re-run this installer.

    *******************************************************
    If you wish to change it press Ctrl+C NOW!!!
    Otherwise, you must change it once the install is complete.
    And then run /scripts/upcp --force
    *******************************************************


    But if i make hostname -d -v i get that all is right set.

    server1:/home/cpins # hostname -d -v -f
    gethostname()=`server1'
    Resolving `server1' ...
    Result: h_name=`server1.mydomain.de'
    Result: h_aliases=`server1'
    Result: h_aliases=`server1'
    Result: h_addr_list=`127.0.0.1'
    Result: h_addr_list=`127.0.0.2'

    What i have make wrong? My OS is Suse 8.2

    thanks for help
    Sven

  2. #2
    Member
    Join Date
    Aug 2003
    Posts
    5

    Default

    I have the same exact issue on Suse Enterprise 9
    If I type #hostname hostname.domain.tld I can run the installer and it works without the warning message.

    If I just set it up under the hosts file it doesn't work. Somewhere there is a file that I need to modify, and I'll be danged if I can figure out where it is.

    I have a call into Novell, so if I ever get a call back I'll post what I find out.

    Anyone?

  3. #3
    Member
    Join Date
    Feb 2004
    Posts
    37

    Default

    Edit /etc/hostname and put in the right hostname.
    Reboot or restart network interfaces.
    And after that it should work.

    If not you must edit the reverse DNS (Hostname) to the IP of your server.

  4. #4
    Member
    Join Date
    Aug 2003
    Posts
    5

    Default

    Here is what I have tried:

    HOSTNAME: hostname.doman.tld
    Hosts: xxx.xxx.xxx.xxx hostname.domain.tld

    nogo

    also tried

    HOSTNAME: hostname

    and I prob tried about 10 dif variants.
    I know I missing something fundamental, but I do not know what it is.

    *edit* I edited resolve.conf and another nogo.
    The part I don't understand is why when I type: #hostname "hostname.domain.tld.org" It will allow me to install with no problem. Where is it writeing this and how do I make it permanent? I could swear it should be in HOSTNAME, but if I change it there it doesn't work.

    If I change the hosts file to xxx.xxx.xxx.xxx somename.domain.tld hostname
    and I change HOSTNAME to "somename" I can then do a #hostname -f and it shows the correct settings, but still when I do the install it warns me that my host name is not correct.

    Is there some way that the hostname I am choosing would not be allowed? I've tried everything including random letters.

    Could it be the way my hosting company setup my IP to point to my hostname? The IP I am using is static, and resides on the physical server. The server is on the DMZ of my router.

    Any help will be appreciated.
    Last edited by catalyst22; 04-05-2005 at 03:49 PM.

Similar Threads & Tags
Similar threads

  1. Hostname changed. cPanel/WHM still try to access original hostname
    By Nathan D. in forum cPanel and WHM Discussions
    Replies: 7
    Last Post: 09-24-2009, 05:42 PM
  2. How to set hostname using ssh
    By jestin_virtual in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 09-08-2009, 03:35 PM
  3. Set Default language for hostname (cpanel web with SSL)
    By strikinado in forum cPanel and WHM Discussions
    Replies: 7
    Last Post: 06-16-2008, 10:40 AM
  4. SSL cert works for hostname/cpanel but not hostname:2082
    By foxphiles in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 04-30-2008, 10:12 AM
  5. set exim hostname
    By ntwaddel in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 12-03-2004, 04:37 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube