Open Source Software and Linux

Feb 5 2009   5:18PM GMT

Setting the qualified and loghost name for Solaris 10



Posted by: Xjlittle
Tags:
loghost
qualified name
solaris 10
unqualified name

After installing Solaris 10 for the first time I noticed that I was getting messages on boot referring to the loghost and qualified host name as not resolvable.

After some digging around I came with the solutions to these messages. As so often happens the fix for the problem is quick and simple relative to the time it takes to find the answer

The loghost could not be resolved problem arises from the /etc/inet/hosts file. You simply need to append loghost to the ::1 localhost and 127.0.0.1 localhost entries.

The My unqualified host name (sol10) unknown; sleeping for retry message is resolved by putting the FQDN into the /etc/nodename file:

sol10.home.local

What puzzles me is why this is not setup during the install phase. They do ask for the hostname of the machine which would fix the sendmail problem. Apparently loghost is standard part of the Solaris 10 OS so why not put it in the hosts file when it is created?

You should also be aware that when you open the hosts file it will be read only even if you are root. If you are using vi to edit the file make your edits and close it with :wq!. That way it will be saved without changing the permissions.. Changing default permissions on these files is not a good idea.

-j

 Comment on this Post

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when other members comment.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to: