Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

my solution to sendmail errors in log:

May 9 19:08:54 myhost sm-mta[17103]: unable to qualify my own domain name (myhost) -- using short name

was to set hostname from myhost , to FQDN: myhost.mydomain.eu, by:

me@myhost: hostname
myhost
me@myhost:/# hostname myhost.mydomain.eu

however now my host disappear in NetGear in attached devices, though I have still internet. Why it disappears? first disappear only name, but entry IP remains, few minutes later IP dissapear also. If I change hostname to myhost it is OK.


thanks to Andrzej A.Filip now I know how to solve this:

  1. stay with hostname myhost 2.Reorder your /etc/hosts entries:
127.0.0.1   localhost localhost.localdomain
127.0.1.1   myhost.mydomain.eu myhost.domain2.eu myhost
share|improve this question

closed as not constructive by joeqwerty, Ward, Jenny D, Jim B, gWaldo May 10 '13 at 14:28

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.If this question can be reworded to fit the rules in the help center, please edit the question.

    
provide explanation for downvoting! –  bits_international May 10 '13 at 12:26
add comment

1 Answer

  1. stay with hostname myhost 2.Reorder your /etc/hosts entries:
127.0.0.1   localhost localhost.localdomain
127.0.1.1   myhost.mydomain.eu myhost.domain2.eu myhost
share|improve this answer
add comment

Not the answer you're looking for? Browse other questions tagged or ask your own question.