1752701 Members
6081 Online
108789 Solutions
New Discussion юеВ

Error message

 
Kaare Einar Andreassen
Occasional Contributor

Error message

I got a standalone B2000 running HPUX11. On boot i'm geting the following error message: " B2000 sendmail[2126]: unable to qualify my own domain name (B2000) -- using short name"

How can I fix this, or should I ignore it?
When I open mail I can see that it is system info mails that are sendt.
4 REPLIES 4
Pete Randall
Outstanding Contributor

Re: Error message

A look at this thread should give you the answer you seek:

http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x4673402f24d5d61190050090279cd0f9,00.html


Pete

Pete

Re: Error message

Hi,

this is due to the fact that sendmail is expecting full qualified domain names and you are probably working with short names. You can workaround this problem by doing the following steps:

1. In /etc/hosts add an alias for the own hostname followed by a .

IP hostname hostname.

2. In /etc/nsswitch.conf configure the name resolution properly:

hosts: files
aliases: files

(assuming no DNS and NIS is used, is this correct?)

3. In /etc/sendmail.cf search for the line

Dj$w

and change it to this

Dj$w.

After this restart sendmail

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

and your problem should have gone.

Kind regards,
Birgit
CCIL
Frequent Advisor

Re: Error message

can you check whether your sendmail starts as system boots , if sendmail service is not starting as system boots its default run level (ie. run level 3) you may find the error messgaes mentioned in your question

Amit Vichare
MANOJ SRIVASTAVA
Honored Contributor

Re: Error message

This is becasue the sendmail serivice is not able to qualify the name of the host using in the sendmail.conf file ,

check for the nslookup hostname .
set right the sendmail.conf and restart the sendmail , bit also since you said the system is standalon you may also look to stop the sendmail daemon as you would not be using the sendamil


Manoj Srivastava