#1  
Old 14th September 2008, 01:25
Paul7277 Paul7277 is offline
Junior Member
 
Join Date: Aug 2008
Posts: 1
Thanks: 1
Thanked 0 Times in 0 Posts
Default getnameinfo failed

Hi All,
I've been slowly working my way through http://www.howtoforge.com/perfect-server-ubuntu8.04-lts but i am stuck on this error after i do, netstat -tap | grep mysql i get

getnameinfo failed
tcp 0 0 *:mysql *:* LISTEN 21625/mysqld

If i do hostname
root@server1:~# hostname
server1.murfettsautoelectrical.com.au
root@server1:~# hostname -f
server1.murfettsautoelectrical.com.au

Then
root@server1:~# netstat -tap
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 *:mysql *:* LISTEN 21858/mysqld
tcp 0 0 *:netbios-ssn *:* LISTEN 17288/smbd
tcp 0 0 server1.murfetts:domain *:* LISTEN 20942/named
tcp 0 0 localhost.locald:domain *:* LISTEN 20942/named
tcp 0 0 localhost.localdoma:953 *:* LISTEN 20942/named
tcp 0 0 *:microsoft-ds *:* LISTEN 17288/smbd
tcp6 0 0 [::]:domain [::]:* LISTEN 20942/named
tcp6 0 0 [::]:ssh [::]:* LISTEN 12940/sshd
tcp6 0 0 ip6-localhost:953 [::]:* LISTEN 20942/named
getnameinfo failed
tcp6 0 0 server1.murfettsaut:ssh [UNKNOWN]:3221 ESTABLISHED 12951/0

Where do i go from here?
Thanks
Paul
Reply With Quote
Sponsored Links
  #2  
Old 14th September 2008, 15:48
ralic ralic is offline
Member
 
Join Date: Jun 2008
Posts: 69
Thanks: 0
Thanked 11 Times in 11 Posts
 
Default

My take on this is that the machine you are ssh'ing from cannot be resolved:
Quote:
tcp6 0 0 server1.murfettsaut:ssh [UNKNOWN]:3221 ESTABLISHED 12951/0
So netstat sends "getnameinfo failed" to the stderr stream when the name resolution fails.

When you issue the grep command you're seeing two things.
1.) getnameinfo failed - stderr stream because of above
2.) tcp 0 0 *:mysql *:* LISTEN 21625/mysqld - stdout stream results of grep

So you can either ignore it, it's not really a problem, or fix the name resolution for the box you're ssh'ing from.

Last edited by ralic; 14th September 2008 at 15:52. Reason: link to wikipedia streams, fix spelling
Reply With Quote
The Following User Says Thank You to ralic For This Useful Post:
Paul7277 (15th September 2008)
Reply

Bookmarks

Thread Tools
Display Modes

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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Freebsd 6.1 support misterm Installation/Configuration 10 9th April 2009 09:29
Monit & Munin SamTzu HOWTO-Related Questions 1 4th May 2008 18:03
Anyone figured out to integrate FuzzyOCR into ISPConfig on Ubuntu? friday Installation/Configuration 16 10th May 2007 16:25
Systemimager (rsync) doesn't copy all comedit HOWTO-Related Questions 11 19th January 2007 17:17
How to install BFD (Brute Force Detection) domino Tips/Tricks/Mods 9 31st March 2006 22:40


All times are GMT +2. The time now is 07:31.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.