<?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 problem - invalid argument: getpeername in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-problem-invalid-argument-getpeername/m-p/3583663#M826599</link>
    <description>is ftpd running fulll time on your server or is it inetd initiated ? &lt;BR /&gt;&lt;BR /&gt;could you please provide output from &lt;BR /&gt;&lt;BR /&gt;ps -ef | grep ftpd &lt;BR /&gt;&lt;BR /&gt;While you are ftp ing to this server from a remote host&lt;BR /&gt;&lt;BR /&gt;also output of &lt;BR /&gt;&lt;BR /&gt;grep ftp /etc/inetd.conf &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Fri, 15 Jul 2005 09:09:48 GMT</pubDate>
    <dc:creator>Mel Burslan</dc:creator>
    <dc:date>2005-07-15T09:09:48Z</dc:date>
    <item>
      <title>FTP problem - invalid argument: getpeername</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-problem-invalid-argument-getpeername/m-p/3583661#M826597</link>
      <description>Trying to FTP, but instantly gets a message saying connection refused by remote host. On remote host syslog shows entries like the following message. Can anyone advise?&lt;BR /&gt;&lt;BR /&gt;Jul 15 15:50:09 &lt;SERVERNAME&gt; inetd[9340]: registrar/tcp: Connection from &lt;SERVERNAME&gt; (ipaddress) at Fri Jul 15 16:19:07 2005&lt;BR /&gt;&lt;BR /&gt;Jul 15 15:50:09 &lt;SERVERNAME&gt; ftpd[9339]: getpeername (ftpd): Invalid argument&lt;/SERVERNAME&gt;&lt;/SERVERNAME&gt;&lt;/SERVERNAME&gt;</description>
      <pubDate>Fri, 15 Jul 2005 08:51:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-problem-invalid-argument-getpeername/m-p/3583661#M826597</guid>
      <dc:creator>Ravinder Singh Gill</dc:creator>
      <dc:date>2005-07-15T08:51:16Z</dc:date>
    </item>
    <item>
      <title>Re: FTP problem - invalid argument: getpeername</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-problem-invalid-argument-getpeername/m-p/3583662#M826598</link>
      <description>Is anyone able to advise please?</description>
      <pubDate>Fri, 15 Jul 2005 08:52:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-problem-invalid-argument-getpeername/m-p/3583662#M826598</guid>
      <dc:creator>Ravinder Singh Gill</dc:creator>
      <dc:date>2005-07-15T08:52:49Z</dc:date>
    </item>
    <item>
      <title>Re: FTP problem - invalid argument: getpeername</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-problem-invalid-argument-getpeername/m-p/3583663#M826599</link>
      <description>is ftpd running fulll time on your server or is it inetd initiated ? &lt;BR /&gt;&lt;BR /&gt;could you please provide output from &lt;BR /&gt;&lt;BR /&gt;ps -ef | grep ftpd &lt;BR /&gt;&lt;BR /&gt;While you are ftp ing to this server from a remote host&lt;BR /&gt;&lt;BR /&gt;also output of &lt;BR /&gt;&lt;BR /&gt;grep ftp /etc/inetd.conf &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 15 Jul 2005 09:09:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-problem-invalid-argument-getpeername/m-p/3583663#M826599</guid>
      <dc:creator>Mel Burslan</dc:creator>
      <dc:date>2005-07-15T09:09:48Z</dc:date>
    </item>
    <item>
      <title>Re: FTP problem - invalid argument: getpeername</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-problem-invalid-argument-getpeername/m-p/3583664#M826600</link>
      <description>percival:/etc# ps -ef | grep ftpd&lt;BR /&gt;    root 16446  4507  0 17:09:08 pts/2     0:00 grep ftpd&lt;BR /&gt;    root 16374  1310  0 17:08:44 ?         0:00 ftpd: &lt;SERVER&gt;: root: IDLE&lt;BR /&gt;percival:/etc#&lt;BR /&gt;&lt;/SERVER&gt;</description>
      <pubDate>Fri, 15 Jul 2005 09:13:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-problem-invalid-argument-getpeername/m-p/3583664#M826600</guid>
      <dc:creator>Ravinder Singh Gill</dc:creator>
      <dc:date>2005-07-15T09:13:50Z</dc:date>
    </item>
    <item>
      <title>Re: FTP problem - invalid argument: getpeername</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-problem-invalid-argument-getpeername/m-p/3583665#M826601</link>
      <description>ftp          stream tcp nowait root /usr/lbin/ftpd      ftpd -u 111&lt;BR /&gt;</description>
      <pubDate>Fri, 15 Jul 2005 09:16:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-problem-invalid-argument-getpeername/m-p/3583665#M826601</guid>
      <dc:creator>Ravinder Singh Gill</dc:creator>
      <dc:date>2005-07-15T09:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: FTP problem - invalid argument: getpeername</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-problem-invalid-argument-getpeername/m-p/3583666#M826602</link>
      <description>Any ideas?</description>
      <pubDate>Fri, 15 Jul 2005 09:28:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-problem-invalid-argument-getpeername/m-p/3583666#M826602</guid>
      <dc:creator>Ravinder Singh Gill</dc:creator>
      <dc:date>2005-07-15T09:28:51Z</dc:date>
    </item>
    <item>
      <title>Re: FTP problem - invalid argument: getpeername</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-problem-invalid-argument-getpeername/m-p/3583667#M826603</link>
      <description>well, since your ftpd is not running with some exotic switches, the only question is how many firewalls do you have between this client and this server and who is in charge of those firewalls.&lt;BR /&gt;&lt;BR /&gt;The error you are getting getpeername:Invalid argument, implies that the socket connection ftpd is expecting to find is getting closed immediately, even before this getpeername call gets executed. I do not think that your server is doing it. The only other option is to look for the restrictions in the firewall.&lt;BR /&gt;&lt;BR /&gt;Are you able to successfully establish ftp sessions from other clients to this server or is it the response to ftp request coming from anywhere ?&lt;BR /&gt;&lt;BR /&gt;try ftp'ing from a neighboring node while watching the syslog. By neighboring node, I am implying something like this :&lt;BR /&gt;&lt;BR /&gt;ftp server ip : 192.168.100.40&lt;BR /&gt;ftp client ip : 192.168.100.x &lt;BR /&gt;&lt;BR /&gt;where netmask is 255.255.255.0, i.e., on the same subnet so that we should not worry about any cross network routing hence eliminating firewall blockage possibilities.&lt;BR /&gt;&lt;BR /&gt;also you can change your ftp line in your inetd.conf file to something like this:&lt;BR /&gt;&lt;BR /&gt;ftp  stream tcp nowait root /usr/lbin/ftpd ftpd -Llu 111&lt;BR /&gt;&lt;BR /&gt;for more extensive logging. Then &lt;BR /&gt;&lt;BR /&gt;inetd -k&lt;BR /&gt;inetd -l&lt;BR /&gt;&lt;BR /&gt;then try the ftp while on a separate window, running&lt;BR /&gt;&lt;BR /&gt;tail -f /var/adm/syslog/syslog.log&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 15 Jul 2005 09:34:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-problem-invalid-argument-getpeername/m-p/3583667#M826603</guid>
      <dc:creator>Mel Burslan</dc:creator>
      <dc:date>2005-07-15T09:34:52Z</dc:date>
    </item>
    <item>
      <title>Re: FTP problem - invalid argument: getpeername</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-problem-invalid-argument-getpeername/m-p/3583668#M826604</link>
      <description>This is happening when someone is trying to connect to the server from another company. If I ftp to the server from one of the servers in our company (different site) it works fine.</description>
      <pubDate>Fri, 15 Jul 2005 09:39:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-problem-invalid-argument-getpeername/m-p/3583668#M826604</guid>
      <dc:creator>Ravinder Singh Gill</dc:creator>
      <dc:date>2005-07-15T09:39:02Z</dc:date>
    </item>
    <item>
      <title>Re: FTP problem - invalid argument: getpeername</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-problem-invalid-argument-getpeername/m-p/3583669#M826605</link>
      <description>which emphasizes my firewall issues possibility. There is a loss of socket connection between the client and the server.&lt;BR /&gt;&lt;BR /&gt;I do not believe you can do anything unless you are the firewall administrator at the same time. And even if you are, I do not have any experience in the firewalls to tell you want to do. &lt;BR /&gt;&lt;BR /&gt;Bring the issue up to the attention of your firewall admins as quickly as possible if this is a production issue.</description>
      <pubDate>Fri, 15 Jul 2005 09:42:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-problem-invalid-argument-getpeername/m-p/3583669#M826605</guid>
      <dc:creator>Mel Burslan</dc:creator>
      <dc:date>2005-07-15T09:42:01Z</dc:date>
    </item>
  </channel>
</rss>

