Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Unable to qualify my own domain name -- using short name 1

Status
Not open for further replies.

penguin1

IS-IT--Management
Mar 5, 2001
15
0
0
US
I'm getting this error on my HP-UX server:

Jul 31 14:28:05 K360 sendmail[29091]: unable to qualify my own domain name (K3
60) -- using short name
Jul 31 15:24:21 K360 sendmail[18398]: unable to qualify my own domain name (K360
) -- using short name

Anybody know what's up?
 
Hi Penguin,

Have you got the the fully qualified domain name set up in the machine's hosts file, that is assuming that it looks up in it's own hosts file first, can check this in the nsswitch.conf file.

Regards
Queenie
 
Queenie, how do I check this? "vi nsswitch.conf"? What am I looking for once I get in this file?

Penguin1
 
Penguin,

Could I suggest you look in your /etc/hosts file first?

Assuming:
your host is called my_host
your IP address is 192.100.200.23
your domain is mydomain.com

you should then have a line in your hosts file that looks like this (I think)
[tt]
192.100.200.23[tab]my_host[tab]my_host.mydomain.com
[/tt]

Is that right Queenie? (I'm hopeless at remembering this sort of thing, I have to work out how to do it each time....)
Mike
michael.j.lacey@ntlworld.com
Email welcome if you're in a hurry or something -- but post in tek-tips as well please, and I will post my reply here as well.
 
I've been down this road many times. Here is how you fix it.

FIRST, edit the /etc/hosts file, adding an alias with a period. So if your system name was hplab1 it would look something like this.

192.168.1.1 hplab1 hplab1.

NEXT, edit the /etc/mail/sendmail.cw file adding the same entry that we did to /etc/hosts. This should be toward the end of the file.

localhost
hplab1
hplab1. <--------add this

Then stop/start sendmail and the message should never come back.

/sbin/init.d/sendmail stop
/sbin/init.d/sendmail start
 
Thanks crowe, your instructions were great and it worked!

Penguin1
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top