<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: ftp connection pauses before asking for a login prompt in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/ftp-connection-pauses-before-asking-for-a-login-prompt/m-p/4320650#M81808</link>
    <description>Hi (again) Debbie:&lt;BR /&gt;&lt;BR /&gt;If the 'nslookup' by name works but the lookup by IPaddress doesn't, then the DNS server is missing the PTR record to enable reverse lookups.&lt;BR /&gt;&lt;BR /&gt;Speak to whoever manages your DNS server and have the record added.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
    <pubDate>Wed, 10 Dec 2008 17:23:46 GMT</pubDate>
    <dc:creator>James R. Ferguson</dc:creator>
    <dc:date>2008-12-10T17:23:46Z</dc:date>
    <item>
      <title>ftp connection pauses before asking for a login prompt</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ftp-connection-pauses-before-asking-for-a-login-prompt/m-p/4320641#M81799</link>
      <description>What would cause an ftp session to take several minutes before it issues a login prompt?   &lt;BR /&gt;&lt;BR /&gt;I have this problem even from the Linux server itself.  I can start ftp and then issue "open localhost 3021" (a custom version of ftp is running on 3021) and I get my ftp login right away as normal.   However, if I try to "open ip_address 3021", it takes a very long time to get my login prompt.   This used to work fine and I'm not sure what may have changed.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 09 Dec 2008 22:41:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ftp-connection-pauses-before-asking-for-a-login-prompt/m-p/4320641#M81799</guid>
      <dc:creator>Debbie Fleith</dc:creator>
      <dc:date>2008-12-09T22:41:12Z</dc:date>
    </item>
    <item>
      <title>Re: ftp connection pauses before asking for a login prompt</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ftp-connection-pauses-before-asking-for-a-login-prompt/m-p/4320642#M81800</link>
      <description>&lt;!--!*#--&gt;"localhost" is, I assume, 127.0.0.1, while&lt;BR /&gt;"ip_address" is, I assume, some other IP&lt;BR /&gt;address.  (If you would post actual commands&lt;BR /&gt;with actual output, I might not need to&lt;BR /&gt;_assume_ anything.)  The usual explanation&lt;BR /&gt;for a pause like this is that the server&lt;BR /&gt;(here, the FTP server) is trying to look up&lt;BR /&gt;the name associated with the IP address of&lt;BR /&gt;the client which is connecting to it.  It&lt;BR /&gt;would be unusual if such a reverse look-up of&lt;BR /&gt;127.0.0.1 were anything but trouble-free, but&lt;BR /&gt;it's more likely that there's a DNS problem&lt;BR /&gt;which causes a reverse look-up of&lt;BR /&gt;"ip_address" to fail (often slowly).  As a&lt;BR /&gt;quick test, you could try (on the server):&lt;BR /&gt;&lt;BR /&gt;      nslookup ip_address&lt;BR /&gt;&lt;BR /&gt;If that's slow, then you probably have a&lt;BR /&gt;reverse DNS problem.</description>
      <pubDate>Tue, 09 Dec 2008 23:13:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ftp-connection-pauses-before-asking-for-a-login-prompt/m-p/4320642#M81800</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2008-12-09T23:13:13Z</dc:date>
    </item>
    <item>
      <title>Re: ftp connection pauses before asking for a login prompt</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ftp-connection-pauses-before-asking-for-a-login-prompt/m-p/4320643#M81801</link>
      <description>Hi Debbie:&lt;BR /&gt;&lt;BR /&gt;I agree with Steven that a probable explanation for the delay is due to a DNS reverse name lookup.&lt;BR /&gt;&lt;BR /&gt;Another way to verify that this is causing your problem is to add the ip_address in question to your '/etc/hosts' file.  If the lookup order in '/etc/hosts.conf' is "hosts,bind" then the '/etc/hosts' will be consulted before the DNS server.  The elimination of the delay would point to a reverse-name lookup.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Wed, 10 Dec 2008 02:57:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ftp-connection-pauses-before-asking-for-a-login-prompt/m-p/4320643#M81801</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2008-12-10T02:57:55Z</dc:date>
    </item>
    <item>
      <title>Re: ftp connection pauses before asking for a login prompt</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ftp-connection-pauses-before-asking-for-a-login-prompt/m-p/4320644#M81802</link>
      <description>I have seen this before, and I agree with the above, it was a DNS problem. My machine only had one nameserver in resolv.conf. That server had gone down.&lt;BR /&gt;&lt;BR /&gt;Check nslookup both on the ip and the hostname, how long do these take?</description>
      <pubDate>Wed, 10 Dec 2008 03:39:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ftp-connection-pauses-before-asking-for-a-login-prompt/m-p/4320644#M81802</guid>
      <dc:creator>Mark McDonald_2</dc:creator>
      <dc:date>2008-12-10T03:39:53Z</dc:date>
    </item>
    <item>
      <title>Re: ftp connection pauses before asking for a login prompt</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ftp-connection-pauses-before-asking-for-a-login-prompt/m-p/4320645#M81803</link>
      <description>This is quite a usual occurance (atleast for me :P) in opensshd. &lt;BR /&gt;Since I'm not sure which ftpd you're running I'm just going to suggest to look for some config option telling your daemon to reverse lookup addresses or to use DNS at all. Normal operation doesn't need to use dns lookups for client connections (unless you're Ã¼ber paranoid and want to use FQDN/FQHN).&lt;BR /&gt;&lt;BR /&gt;Anyway, hope this gives you a lead :)&lt;BR /&gt;&lt;BR /&gt;Best regards&lt;BR /&gt;Fredrik Eriksson</description>
      <pubDate>Wed, 10 Dec 2008 09:15:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ftp-connection-pauses-before-asking-for-a-login-prompt/m-p/4320645#M81803</guid>
      <dc:creator>Fredrik.eriksson</dc:creator>
      <dc:date>2008-12-10T09:15:44Z</dc:date>
    </item>
    <item>
      <title>Re: ftp connection pauses before asking for a login prompt</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ftp-connection-pauses-before-asking-for-a-login-prompt/m-p/4320646#M81804</link>
      <description>Oh almost forgot, it can be in some ftpd's that it's trying to do a ident check or auth check. Should be config options for that also.&lt;BR /&gt;&lt;BR /&gt;Best regards&lt;BR /&gt;Fredrik Eriksson</description>
      <pubDate>Wed, 10 Dec 2008 09:18:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ftp-connection-pauses-before-asking-for-a-login-prompt/m-p/4320646#M81804</guid>
      <dc:creator>Fredrik.eriksson</dc:creator>
      <dc:date>2008-12-10T09:18:30Z</dc:date>
    </item>
    <item>
      <title>Re: ftp connection pauses before asking for a login prompt</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ftp-connection-pauses-before-asking-for-a-login-prompt/m-p/4320647#M81805</link>
      <description>Aside from DNS being the most likely culprit, similar problems can also sometimes be a mismatch between the NIC speed &amp;amp; the switch port speed. Check the NIC speed with ethtool, &lt;BR /&gt;&lt;BR /&gt;eg : &lt;BR /&gt;# ethtool eth0&lt;BR /&gt;Settings for eth0:&lt;BR /&gt;        Supported ports: [ TP ]&lt;BR /&gt;        Supported link modes:   10baseT/Half 10baseT/Full&lt;BR /&gt;                                100baseT/Half 100baseT/Full&lt;BR /&gt;                                1000baseT/Half 1000baseT/Full&lt;BR /&gt;        Supports auto-negotiation: Yes&lt;BR /&gt;        Advertised link modes:  10baseT/Half 10baseT/Full&lt;BR /&gt;                                100baseT/Half 100baseT/Full&lt;BR /&gt;                                1000baseT/Half 1000baseT/Full&lt;BR /&gt;        Advertised auto-negotiation: Yes&lt;BR /&gt;        Speed: 100Mb/s&lt;BR /&gt;        Duplex: Full&lt;BR /&gt;        Port: Twisted Pair&lt;BR /&gt;        PHYAD: 1&lt;BR /&gt;        Transceiver: internal&lt;BR /&gt;        Auto-negotiation: on&lt;BR /&gt;        Supports Wake-on: g&lt;BR /&gt;        Wake-on: g&lt;BR /&gt;        Current message level: 0x000000ff (255)&lt;BR /&gt;        Link detected: yes&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Then check your network switch port is matches what you NIC speed.... in this case 100Mb/Full Duplex, card set to autonegotiate.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Brendan</description>
      <pubDate>Wed, 10 Dec 2008 10:32:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ftp-connection-pauses-before-asking-for-a-login-prompt/m-p/4320647#M81805</guid>
      <dc:creator>Brendan Peter Murphy</dc:creator>
      <dc:date>2008-12-10T10:32:56Z</dc:date>
    </item>
    <item>
      <title>Re: ftp connection pauses before asking for a login prompt</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ftp-connection-pauses-before-asking-for-a-login-prompt/m-p/4320648#M81806</link>
      <description>&amp;gt; I have this problem even from the Linux&lt;BR /&gt;&amp;gt; server itself.  [...]&lt;BR /&gt;&lt;BR /&gt;&amp;gt; [...] mismatch between the NIC speed &amp;amp; the&lt;BR /&gt;&amp;gt; switch port speed. [...]&lt;BR /&gt;&lt;BR /&gt;I'd expect such a hardware configuration&lt;BR /&gt;problem not to have much effect when the bits&lt;BR /&gt;don't actually leave the one system.  And if&lt;BR /&gt;it did, I'd expect more trouble than a&lt;BR /&gt;one-time delay when the connection is formed.&lt;BR /&gt;&lt;BR /&gt;&amp;gt; [...] I'm not sure what may have changed.&lt;BR /&gt;&lt;BR /&gt;That'll probably be the real mystery.</description>
      <pubDate>Wed, 10 Dec 2008 13:45:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ftp-connection-pauses-before-asking-for-a-login-prompt/m-p/4320648#M81806</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2008-12-10T13:45:59Z</dc:date>
    </item>
    <item>
      <title>Re: ftp connection pauses before asking for a login prompt</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ftp-connection-pauses-before-asking-for-a-login-prompt/m-p/4320649#M81807</link>
      <description>More info in response to above questions:&lt;BR /&gt;&lt;BR /&gt;1.  nslookup by ip_address never returns an address:&lt;BR /&gt;&lt;BR /&gt;nslookup -silent 10.100.0.22&lt;BR /&gt;Server:         10.100.0.19&lt;BR /&gt;Address:        10.100.0.19#53&lt;BR /&gt;&lt;BR /&gt;** server can't find 22.0.100.10.in-addr.arpa: SERVFAIL&lt;BR /&gt;&lt;BR /&gt;2.  more /etc/host.conf&lt;BR /&gt;order hosts,bind&lt;BR /&gt;&lt;BR /&gt;3.  /etc/hosts entries:&lt;BR /&gt;127.0.0.1 localhost.localdomain   localhost&lt;BR /&gt;10.100.0.22 vmms.brown1.local  vbrown&lt;BR /&gt;&lt;BR /&gt;4.  nslookup by hostname works:&lt;BR /&gt;nslookup -silent vmms.brown1.local&lt;BR /&gt;[root@vbrown gbg]# nslookup vmms.brown1.local&lt;BR /&gt;Server:         10.100.0.19&lt;BR /&gt;Address:        10.100.0.19#53&lt;BR /&gt;&lt;BR /&gt;Name:   vmms.brown1.local&lt;BR /&gt;Address: 10.100.0.22&lt;BR /&gt;&lt;BR /&gt;5.   The switch settings match the settings returned by ethtool.&lt;BR /&gt;&lt;BR /&gt;Any other ideas would be appreciated.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 10 Dec 2008 17:06:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ftp-connection-pauses-before-asking-for-a-login-prompt/m-p/4320649#M81807</guid>
      <dc:creator>Debbie Fleith</dc:creator>
      <dc:date>2008-12-10T17:06:55Z</dc:date>
    </item>
    <item>
      <title>Re: ftp connection pauses before asking for a login prompt</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ftp-connection-pauses-before-asking-for-a-login-prompt/m-p/4320650#M81808</link>
      <description>Hi (again) Debbie:&lt;BR /&gt;&lt;BR /&gt;If the 'nslookup' by name works but the lookup by IPaddress doesn't, then the DNS server is missing the PTR record to enable reverse lookups.&lt;BR /&gt;&lt;BR /&gt;Speak to whoever manages your DNS server and have the record added.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Wed, 10 Dec 2008 17:23:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ftp-connection-pauses-before-asking-for-a-login-prompt/m-p/4320650#M81808</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2008-12-10T17:23:46Z</dc:date>
    </item>
    <item>
      <title>Re: ftp connection pauses before asking for a login prompt</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ftp-connection-pauses-before-asking-for-a-login-prompt/m-p/4320651#M81809</link>
      <description>&amp;gt; ** server can't find 22.0.100.10.in-addr.arpa: SERVFAIL&lt;BR /&gt;&lt;BR /&gt;And was this slow enough to account for the&lt;BR /&gt;delay when opening an FTP session?  Sure&lt;BR /&gt;smells like a reverse DNS look-up problem to&lt;BR /&gt;me.&lt;BR /&gt;</description>
      <pubDate>Wed, 10 Dec 2008 19:33:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ftp-connection-pauses-before-asking-for-a-login-prompt/m-p/4320651#M81809</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2008-12-10T19:33:00Z</dc:date>
    </item>
  </channel>
</rss>

