1851101 Members
1983 Online
104056 Solutions
New Discussion

error on console

 
Bhavin Shah
Contributor

error on console

Hi! Everybody,
I'm working on a HP L2000 server running HP-UX 11:00. i'm frequently getting an error on my console.
Server_Name Sendmail[254423]: Unable to qualify my own doamin name (Server_Name) Using short name.

What is this error? and what is the solution to overcome it.

I have added domain entry in /etc/hosts i.e.
127.0.0.1 localhost@localdomain.com localhost loopback.
But still the same error message.

4 REPLIES 4
Edward Sedgemore
Trusted Contributor

Re: error on console


You need to add a domain entry to your /etc/mail/sendmail.cf file. Change the following line;

DM
to
DM

Then restart sendmail. Fixed.
Printaporn_1
Esteemed Contributor

Re: error on console

Hi,

Because sendmail version 8.8.6 up need DNS to be setup , if not the message will appear.
then in /etc/mail/sendmail.cf add
Dj$w.

and in /etc/hosts
IP hostname hostname.

restart sendmail
/sbin/init.d/sendmail stop
/sbin/init.d/sendmail start

Hope it help,
enjoy any little thing in my life
Philip Chan_1
Respected Contributor

Re: error on console

Or, if your system don't have a domain name, you can still fix the problem by the following steps,

1. edit /etc/mail/sendmail.cf

2. locate the line Dj$w.hp.com

3. UNCOMMENT the above line and remove the domain part, that is "hp.com", the resulting line should read like "Dj$w."

4. edit /etc/hosts

5. add an alias right after the server's hostname,

eg. "192.168.0.10 hostXYZ" should became "192.168.0.10 hostXYZ hostXYZ."
/* don't forget the dot (.) */

6. stop sendmail daemon by /sbin/init.d/sendmail stop

7. start sendmail daemon by /sbin/init.d/sendmail start

You should not see the message complaining about un-qualify domain name anymore, even at the console after system reboot.

In the /etc/mail/sendmail.cf file, right above the line containing text "Dj$w.hp.com", there is some explanation on why such un-qualify domain name message appears.

Hope this help.

Rgds,
Philip
Vincenzo Restuccia
Honored Contributor

Re: error on console

In /etc/hosts add an alias :
IP host host.domain.com.