- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Sendmail gethostbyaddr failure
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-01-2002 06:57 AM
тАО08-01-2002 06:57 AM
Sendmail gethostbyaddr failure
Aug 1 09:46:22 frank sendmail[29941]: gethostbyaddr(192.1.1.2) failed: 1
errors. I would like to know how to reconfigure it to stop paying attention to this lan.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-01-2002 07:03 AM
тАО08-01-2002 07:03 AM
Re: Sendmail gethostbyaddr failure
Add an entry to your /etc/hosts files for 192.1.1.2
and ensure your /etc/nsswitch.conf (DNS lookup) file is configured to check hosts also;
hosts: dns [NOTFOUND=continue] files
Then when you do; nslookup 192.1.1.2
it will resolve so gethostbyaddr will not produce an error.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-01-2002 07:03 AM
тАО08-01-2002 07:03 AM
Re: Sendmail gethostbyaddr failure
http://support2.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=500000000092459
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-01-2002 07:04 AM
тАО08-01-2002 07:04 AM
Re: Sendmail gethostbyaddr failure
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-01-2002 07:04 AM
тАО08-01-2002 07:04 AM
Re: Sendmail gethostbyaddr failure
I'm assuming you are using dns and the new lan cards are entered in /etc/hosts.
Make sure your /etc/nsswitch.conf looks like this:
hosts: dns [NOTFOUND=continue UNAVAIL=continue TRYAGAIN=continue] files
What I believe is happening is that you have return instead of continue, which means that if the ip isn't found, it bombs. Having continue lets it go on to files if not found in dns.
Hope this helps
Chris
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-01-2002 07:04 AM
тАО08-01-2002 07:04 AM
Re: Sendmail gethostbyaddr failure
If you are using /etc/hosts for host name lookup, add a fake_hostname associated with this IP.
Is it true that it takes 2,3 minutes each time you restart sendmail manually currently?
Hai
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-01-2002 07:06 AM
тАО08-01-2002 07:06 AM
Re: Sendmail gethostbyaddr failure
192.1.1.2 frankie frankie.
into /etc/hosts
just the dot will do..
Later,
Bill
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-01-2002 07:14 AM
тАО08-01-2002 07:14 AM