Simpler Navigation for Servers and Operating Systems - Please Update Your Bookmarks
Completed: a much simpler Servers and Operating Systems section of the Community. We combined many of the older boards, so you won't have to click through so many levels to get at the information you need. Check the consolidated boards here as many sub-forums are now single boards.
If you have bookmarked forums or discussion boards in Servers and Operating Systems, we suggest you check and update them as needed.
cancel
Showing results for 
Search instead for 
Did you mean: 

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
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