#1 (permalink)  
Old 04-04-2004, 06:28 PM
Registered User
 
Join Date: Feb 2004
Posts: 36
rodstewart
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 04-05-2005, 11:44 AM
Registered User
 
Join Date: Aug 2003
Posts: 5
catalyst22
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?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 04-05-2005, 11:47 AM
Registered User
 
Join Date: Feb 2004
Posts: 36
rodstewart
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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 04-05-2005, 12:19 PM
Registered User
 
Join Date: Aug 2003
Posts: 5
catalyst22
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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 03:47 PM.


Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
© cPanel Inc