netstat error(getnameinfo failed) | Unix Linux Forums | UNIX for Dummies Questions & Answers

  Go Back    


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

netstat error(getnameinfo failed)

UNIX for Dummies Questions & Answers


Closed Thread    
 
Thread Tools Search this Thread Display Modes
    #1  
Old 02-28-2009
crackthehit007 crackthehit007 is offline
Registered User
 
Join Date: Feb 2009
Last Activity: 2 June 2010, 4:06 AM EDT
Location: Pune/Banagalore
Posts: 72
Thanks: 0
Thanked 0 Times in 0 Posts
netstat error(getnameinfo failed)

[root@a etc]# netstat -a > /test/a
getnameinfo failed
getnameinfo failed
getnameinfo failed
getnameinfo failed
getnameinfo failed

command is working fine (as i get output in file /test/a)

[root@a etc]# dig -x 10.xxx.xxx.xxx
; <<>> DiG 9.3.3rc2 <<>> -x 10.203.xxx.xxx
;; global options: printcmd
;; connection timed out; no servers could be reached


Anyone knows how to resolve this issue?
Sponsored Links
    #2  
Old 02-28-2009
jim mcnamara jim mcnamara is offline Forum Staff  
...@...
 
Join Date: Feb 2004
Last Activity: 25 July 2014, 11:32 PM EDT
Location: NM
Posts: 10,154
Thanks: 269
Thanked 781 Times in 731 Posts
Is your dns server down?
Sponsored Links
    #3  
Old 02-28-2009
crackthehit007 crackthehit007 is offline
Registered User
 
Join Date: Feb 2009
Last Activity: 2 June 2010, 4:06 AM EDT
Location: Pune/Banagalore
Posts: 72
Thanks: 0
Thanked 0 Times in 0 Posts
How to check whether dns server is down or not?

is it problem with naming resolution ?
    #4  
Old 02-28-2009
jim mcnamara jim mcnamara is offline Forum Staff  
...@...
 
Join Date: Feb 2004
Last Activity: 25 July 2014, 11:32 PM EDT
Location: NM
Posts: 10,154
Thanks: 269
Thanked 781 Times in 731 Posts
It looks like a dns problem. getnameinfo translates a socket address to a host nodename.
The standards describe it:

Code:
By default the fully-qualified domain name (FQDN) for the host shall be returned ...

There other possible errors, mostly on the system making the call.

try nslookup for some external ip address. if dns is down it will fail, too.
Sponsored Links
    #5  
Old 03-01-2009
crackthehit007 crackthehit007 is offline
Registered User
 
Join Date: Feb 2009
Last Activity: 2 June 2010, 4:06 AM EDT
Location: Pune/Banagalore
Posts: 72
Thanks: 0
Thanked 0 Times in 0 Posts
Any other solution ?
Sponsored Links
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
nestat error (getnameinfo failed) crackthehit007 UNIX for Advanced & Expert Users 0 02-26-2009 03:05 AM
Pla help - urgent-netstat error--- cant open mib stream vadivukumar Solaris 1 10-30-2008 06:10 AM
Compilation failed error chrisanto_2000 HP-UX 1 06-17-2008 12:50 PM
Capturing failed FTP error ganapati UNIX for Advanced & Expert Users 5 04-19-2007 10:41 AM
netstat error gerwhelan UNIX for Dummies Questions & Answers 2 04-03-2002 07:58 AM



All times are GMT -4. The time now is 01:06 AM.