LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
LinkBack Search this Thread
Old 03-20-2005, 10:33 AM   #1
mikz
Member
 
Registered: Sep 2004
Distribution: Slackware current
Posts: 109

Rep: Reputation: 15
Sendmail and gethostbyaddr


Using Sendmail I get the following message during boot.

Quote:
Mar 20 17:13:40 localhost sm-mta[4026]: gethostbyaddr(192.168.0.2) failed: 1
Mar 20 17:13:40 localhost sm-mta[4026]: gethostbyaddr(192.168.1.1) failed: 1
Mar 20 17:13:40 localhost sm-mta[4027]: starting daemon (8.13.3): SMTP+queueing@00:25:00
Mar 20 17:13:40 localhost sm-msp-queue[4030]: starting daemon (8.13.3): queueing@00:25:00
What are the common reasons for 'gethostbyaddr' to fail.
 
Old 03-20-2005, 08:05 PM   #2
jimrt
Member
 
Registered: Mar 2003
Posts: 32

Rep: Reputation: 15
What does your hosts line in /etc/nsswitch.conf look like?

This message basically means that the system isn't able to reolve the IPs you listed from the local hosts file, DNS, NIS, whatever you're using for host HOST<-> IP mappings.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Sendmail ignores my sendmail smarthost entry Paul_assheton Linux - General 1 03-17-2009 07:55 AM
FC4 and Sendmail - Cannot create sendmail.pem Balderayne Linux - Security 2 11-09-2005 02:55 PM
what's the matter with the function gethostbyaddr() galaxier Programming 3 04-08-2005 10:04 AM
Getting hostname of remote machine with gethostbyaddr() thomjakub Linux - Networking 4 03-06-2004 09:08 AM
Sendmail - RunAsUser=sendmail:mail/What files to i have to change ForumKid Linux - Security 45 01-18-2002 11:47 AM


All times are GMT -5. The time now is 10:12 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration