- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- gethostbyaddr errors in syslog
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
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
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
10-22-2007 07:15 AM
10-22-2007 07:15 AM
Oct 21 14:35:55 uxsvrdv2 syslog: gethostbyaddr:
Oct 21 17:13:47 uxsvrdv2 syslog: gethostbyaddr:
Oct 21 21:30:17 uxsvrdv2 syslog: gethostbyaddr:
Oct 22 02:06:30 uxsvrdv2 syslog: gethostbyaddr:
I have checked and I get several different answers from nslookup even though it is always getting is answer from one specific Windows DNS server. I have the network guys looking into that problem.
What I want to know is what program is causing these errors. One of the servers should only have me and the DBA poking at, yet these end user workstation IP addresses are showing up.
Is there some way I can trak all accesses to a server by IP address?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-22-2007 07:45 AM
10-22-2007 07:45 AM
Re: gethostbyaddr errors in syslog
Check these threads.
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1067252
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1108887
hope they help
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-22-2007 08:00 AM
10-22-2007 08:00 AM
Re: gethostbyaddr errors in syslog
some off your client registered to dns with some ip and these clients ( mostly notebooks ) connect to you hp-ux server with another ip . perhaps second ip got from dhcp.
you should check your dns records.
mathmad.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-22-2007 08:09 AM
10-22-2007 08:09 AM
Re: gethostbyaddr errors in syslog
What I want to know is what program is trying do get these host names?
As I said in the original post is, there are client PCs connecting to a server that they have no business connecting to, let alone should even know the name of. How do I track that traffic back to a root cause?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-22-2007 09:16 AM
10-22-2007 09:16 AM
Re: gethostbyaddr errors in syslog
You should be able to see what hosts are connecting to your server at a particular time, by looking at the output of "netstat -an" The n will show you the actual IP addresses rather than names, to get round any DNS problems you might be having.
It's not clear from the error message you posted, whether the numbers 84 and 110 are the port numbers the client is connecting to. If so, the latter is POP3...
Hope this helps,
Regards,
Rob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-22-2007 09:21 AM
10-22-2007 09:21 AM
Re: gethostbyaddr errors in syslog
Trying to run netstat and "catch" when the gethostbyaddr error occurs, will be a challenge.
Thanks for trying,
-Dave
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-22-2007 09:33 AM
10-22-2007 09:33 AM
Re: gethostbyaddr errors in syslog
I suppose you could try capturing the netstat output to a file, every minute or so...
TCP/IP connections normally stay active for a period after the initial connection, so you might get lucky in finding the culprit.
Cheers,
Rob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-22-2007 09:43 AM
10-22-2007 09:43 AM
Re: gethostbyaddr errors in syslog
This could be done on your HP-UX machine via nettl. The nettl trace can be saved to a file and then later analyzed by a program like Wireshark (formerly Ethereal).
If you have an external network sniffer, this could also do the job.
In both cases you should be able to restrict the captured packets to the IP addresses you are interested in so that you don't get a huge trace file.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-22-2007 09:52 AM
10-22-2007 09:52 AM
Re: gethostbyaddr errors in syslog
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-22-2007 10:01 AM
10-22-2007 10:01 AM
Re: gethostbyaddr errors in syslog
Cheers,
Rob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-22-2007 10:05 AM
10-22-2007 10:05 AM
Re: gethostbyaddr errors in syslog
I do not have tcpdump. Where do I get it?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-22-2007 10:11 AM
10-22-2007 10:11 AM
Solution> I do not have tcpdump. Where do I get it?
You can get 'tcpdump' from the HP-UX Porting Center:
http://hpux.connect.org.uk/
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-22-2007 12:18 PM
10-22-2007 12:18 PM
Re: gethostbyaddr errors in syslog
Anyhow, in addition to the porting archives, there is a tcpdump in the HP Internet Express bits, and I've often been able to compile the latest and greatest libpcap and tcpdump from www.tcpdump.org, using the HP ANSI C compiler.
To keep the packet traces small, you might use a tcpdump filter expression to only capture those packets which are TCP segments with the SYNchronize bit set in the header. I believe the tcpdump manpage has an example you can leverage.
When you take the packet traces, you may find those PC's attempting to access more than just the one service logging those messages... could be something like nmap, could be the PC's have been compromised, could be any number of things.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-22-2007 06:05 PM
10-22-2007 06:05 PM
Re: gethostbyaddr errors in syslog
This error indicated missing dns db records
Or missing A records in DNS database
WK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-23-2007 03:04 AM
10-23-2007 03:04 AM
Re: gethostbyaddr errors in syslog
Later,
-Dave