<?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: ls command is hang when ftp in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/ls-command-is-hang-when-ftp/m-p/5198306#M463003</link>
    <description>It can be a buffer cache sizing pb&lt;BR /&gt;or kernel memory contention.&lt;BR /&gt;</description>
    <pubDate>Fri, 11 Sep 2009 14:19:19 GMT</pubDate>
    <dc:creator>Laurent Menase</dc:creator>
    <dc:date>2009-09-11T14:19:19Z</dc:date>
    <item>
      <title>ls command is hang when ftp</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ls-command-is-hang-when-ftp/m-p/5198301#M462998</link>
      <description>Hi gurus,&lt;BR /&gt;I tried to ftp to one server. I can login without any problem. Even execute cd command also. But there problem is when I tried to execute ls, it's hang. I tried using Sun Solaris, it can execute ls without issue.&lt;BR /&gt;&lt;BR /&gt;Thanks in advance for your help.</description>
      <pubDate>Thu, 10 Sep 2009 01:10:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ls-command-is-hang-when-ftp/m-p/5198301#M462998</guid>
      <dc:creator>mohdamir</dc:creator>
      <dc:date>2009-09-10T01:10:44Z</dc:date>
    </item>
    <item>
      <title>Re: ls command is hang when ftp</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ls-command-is-hang-when-ftp/m-p/5198302#M462999</link>
      <description>&lt;!--!*#--&gt;&amp;gt; I tried to ftp to one server.  [...]&lt;BR /&gt;&lt;BR /&gt;Not a useful description of what you did, or&lt;BR /&gt;of "one server".&lt;BR /&gt;&lt;BR /&gt;&amp;gt; I tried using Sun Solaris, [...]&lt;BR /&gt;&lt;BR /&gt;For what?</description>
      <pubDate>Thu, 10 Sep 2009 01:48:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ls-command-is-hang-when-ftp/m-p/5198302#M462999</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2009-09-10T01:48:45Z</dc:date>
    </item>
    <item>
      <title>Re: ls command is hang when ftp</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ls-command-is-hang-when-ftp/m-p/5198303#M463000</link>
      <description>Sorry because not elaborate. My server is using HP-UX and named as A. There is one server, which using Sun Solaris, for me to ftp out/in some file. I named it as B. So right now when I try to ftp to server B from server A it works. I can cd to other directories in server B. However when I try to execute ls, it hangs. Then I try to use server C, which running on Sun Solaris to ftp into server B. It works without any problem.&lt;BR /&gt;&lt;BR /&gt;TQ</description>
      <pubDate>Thu, 10 Sep 2009 02:28:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ls-command-is-hang-when-ftp/m-p/5198303#M463000</guid>
      <dc:creator>mohdamir</dc:creator>
      <dc:date>2009-09-10T02:28:11Z</dc:date>
    </item>
    <item>
      <title>Re: ls command is hang when ftp</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ls-command-is-hang-when-ftp/m-p/5198304#M463001</link>
      <description>There might be sevral reason for it,&lt;BR /&gt;&lt;BR /&gt;as of i know there might be more number of files located, where you run ls commnad,&lt;BR /&gt;&lt;BR /&gt;plz check&lt;BR /&gt;&lt;BR /&gt;additionaly plz check the user ftp access, what kind of access?</description>
      <pubDate>Thu, 10 Sep 2009 08:30:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ls-command-is-hang-when-ftp/m-p/5198304#M463001</guid>
      <dc:creator>bullz</dc:creator>
      <dc:date>2009-09-10T08:30:13Z</dc:date>
    </item>
    <item>
      <title>Re: ls command is hang when ftp</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ls-command-is-hang-when-ftp/m-p/5198305#M463002</link>
      <description>Did you try using "passive".&lt;BR /&gt;</description>
      <pubDate>Fri, 11 Sep 2009 11:44:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ls-command-is-hang-when-ftp/m-p/5198305#M463002</guid>
      <dc:creator>Raynald Boucher</dc:creator>
      <dc:date>2009-09-11T11:44:37Z</dc:date>
    </item>
    <item>
      <title>Re: ls command is hang when ftp</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ls-command-is-hang-when-ftp/m-p/5198306#M463003</link>
      <description>It can be a buffer cache sizing pb&lt;BR /&gt;or kernel memory contention.&lt;BR /&gt;</description>
      <pubDate>Fri, 11 Sep 2009 14:19:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ls-command-is-hang-when-ftp/m-p/5198306#M463003</guid>
      <dc:creator>Laurent Menase</dc:creator>
      <dc:date>2009-09-11T14:19:19Z</dc:date>
    </item>
    <item>
      <title>Re: ls command is hang when ftp</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ls-command-is-hang-when-ftp/m-p/5198307#M463004</link>
      <description>Usually the ls error happens when the ftp user's home directory is jailed (chroot) on the ftp server. Is this the case with your server?</description>
      <pubDate>Fri, 11 Sep 2009 14:38:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ls-command-is-hang-when-ftp/m-p/5198307#M463004</guid>
      <dc:creator>TTr</dc:creator>
      <dc:date>2009-09-11T14:38:18Z</dc:date>
    </item>
    <item>
      <title>Re: ls command is hang when ftp</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ls-command-is-hang-when-ftp/m-p/5198308#M463005</link>
      <description>&lt;!--!*#--&gt;&amp;gt; Usually the ls error happens [...]&lt;BR /&gt;&lt;BR /&gt;Which ls error is _the_ ls error?&lt;BR /&gt;&lt;BR /&gt;&amp;gt; [...] (chroot) [...]&lt;BR /&gt;&lt;BR /&gt;_That_ ls error is, in my experience, no ls&lt;BR /&gt;output, not a hung condition.</description>
      <pubDate>Fri, 11 Sep 2009 15:06:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ls-command-is-hang-when-ftp/m-p/5198308#M463005</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2009-09-11T15:06:39Z</dc:date>
    </item>
    <item>
      <title>Re: ls command is hang when ftp</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ls-command-is-hang-when-ftp/m-p/5198309#M463006</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Your ftp user is configure with "chroot" this is what you are getting this error.&lt;BR /&gt;&lt;BR /&gt;Suraj</description>
      <pubDate>Fri, 11 Sep 2009 16:33:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ls-command-is-hang-when-ftp/m-p/5198309#M463006</guid>
      <dc:creator>Suraj K Sankari</dc:creator>
      <dc:date>2009-09-11T16:33:48Z</dc:date>
    </item>
    <item>
      <title>Re: ls command is hang when ftp</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ls-command-is-hang-when-ftp/m-p/5198310#M463007</link>
      <description>Hi bullz,&lt;BR /&gt;Attached is my ftpaccess. I don't think ftpaccess is a reason because I can ftp to other HP-UX machine without any problem.&lt;BR /&gt;&lt;BR /&gt;Hi Raynald,&lt;BR /&gt;&lt;BR /&gt;What is passive? Can you explain it a little bit?&lt;BR /&gt;&lt;BR /&gt;Hi Laurent,&lt;BR /&gt;On my HP-UX server or Sun Solaris server?&lt;BR /&gt;&lt;BR /&gt;Hi TTr and Suraj,&lt;BR /&gt;But if I use Sun Solaris server to ftp in using the same ftp user, it works. Is it because the chroot also?&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Sat, 12 Sep 2009 03:27:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ls-command-is-hang-when-ftp/m-p/5198310#M463007</guid>
      <dc:creator>mohdamir</dc:creator>
      <dc:date>2009-09-12T03:27:14Z</dc:date>
    </item>
    <item>
      <title>Re: ls command is hang when ftp</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ls-command-is-hang-when-ftp/m-p/5198311#M463008</link>
      <description>may be some kind of performance issue; &lt;BR /&gt;did you check the the directory you tried to ls by issuing bdf command to see usage percentage ?&lt;BR /&gt;</description>
      <pubDate>Sat, 12 Sep 2009 09:42:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ls-command-is-hang-when-ftp/m-p/5198311#M463008</guid>
      <dc:creator>Hakki Aydin Ucar</dc:creator>
      <dc:date>2009-09-12T09:42:56Z</dc:date>
    </item>
    <item>
      <title>Re: ls command is hang when ftp</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ls-command-is-hang-when-ftp/m-p/5198312#M463009</link>
      <description>&lt;!--!*#--&gt;&amp;gt; Sorry because not elaborate. [...]&lt;BR /&gt;&lt;BR /&gt;Ok.  I read this a few more times.  Tell me&lt;BR /&gt;if I understand what you're doing.&lt;BR /&gt;&lt;BR /&gt;1.  You are running the FTP client program&lt;BR /&gt;("ftp") on an HP-UX system ("A"), and&lt;BR /&gt;connecting to the FTP server on a Solaris&lt;BR /&gt;system ("B").&lt;BR /&gt;&lt;BR /&gt;2.  You can get connected (logged in).&lt;BR /&gt;&lt;BR /&gt;3.  Simple commands like "cd" work.&lt;BR /&gt;&lt;BR /&gt;4.  An "ls" command hangs.&lt;BR /&gt;&lt;BR /&gt;5.  If you run the FTP client program on a&lt;BR /&gt;some system other than "A", and connect to&lt;BR /&gt;the same FTP server, as the same user,&lt;BR /&gt;everything works.&lt;BR /&gt;&lt;BR /&gt;General advice:&lt;BR /&gt;&lt;BR /&gt;Actual "uname -a" output from each system&lt;BR /&gt;would say more than "HP-UX" or "Solaris".&lt;BR /&gt;&lt;BR /&gt;Showing actual commands with their actual&lt;BR /&gt;output would be more helpful than your&lt;BR /&gt;description of what you did.&lt;BR /&gt;&lt;BR /&gt;Now, assuming that I understand what's&lt;BR /&gt;happening, ...&lt;BR /&gt;&lt;BR /&gt;&amp;gt; [...] Is it because the chroot also?&lt;BR /&gt;&lt;BR /&gt;I'd ignore all that advice about "chroot".&lt;BR /&gt;As you can see, the problem is _not_ with&lt;BR /&gt;your (Solaris) FTP server.&lt;BR /&gt;&lt;BR /&gt;Questions:&lt;BR /&gt;&lt;BR /&gt;Ok, "ls" hangs.  Does "get some_file" also&lt;BR /&gt;hang?&lt;BR /&gt;&lt;BR /&gt;Does FTP work from the HP-UX system to&lt;BR /&gt;itself?&lt;BR /&gt;&lt;BR /&gt;Is the HP-UX system on the same physical&lt;BR /&gt;network as the other system(s), or is there&lt;BR /&gt;more network stuff (routers, firewalls, ..)&lt;BR /&gt;between the HP-UX system and the other&lt;BR /&gt;system(s)?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&amp;gt; Did you try using "passive".&lt;BR /&gt;&lt;BR /&gt;&amp;gt; What is passive?&lt;BR /&gt;&lt;BR /&gt;"man ftp", look for "passive".  Normal FTP&lt;BR /&gt;uses separate ports for "control" and "data".&lt;BR /&gt;Passive FTP uses only the "control" port, so&lt;BR /&gt;it often works better when a firewall blocks&lt;BR /&gt;communication on the "data" port.  Knowing&lt;BR /&gt;nothing about your network, I'd say that this &lt;BR /&gt;may be the best suggestion you've gotten.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&amp;gt; Attached is my ftpaccess.&lt;BR /&gt;&lt;BR /&gt;No, it's not.  But we probably don't need it.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;  I don't think ftpaccess is a reason&lt;BR /&gt;&lt;BR /&gt;I agree.&lt;BR /&gt;&lt;BR /&gt;&amp;gt; because I can ftp to other HP-UX machine&lt;BR /&gt;&amp;gt; without any problem.&lt;BR /&gt;&lt;BR /&gt;Again, this is not clear.  Now you're talking&lt;BR /&gt;about using some other HP-UX system as an FTP&lt;BR /&gt;_server_?  One reason that you're not getting&lt;BR /&gt;much good advice here may be that no one&lt;BR /&gt;really understands what you're doing.&lt;BR /&gt;Clearer explanations might help.</description>
      <pubDate>Sat, 12 Sep 2009 11:19:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ls-command-is-hang-when-ftp/m-p/5198312#M463009</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2009-09-12T11:19:39Z</dc:date>
    </item>
    <item>
      <title>Re: ls command is hang when ftp</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ls-command-is-hang-when-ftp/m-p/5198313#M463010</link>
      <description>Steven,&lt;BR /&gt;&lt;BR /&gt;5.  If you run the FTP client program on a&lt;BR /&gt;some system other than "A", and connect to&lt;BR /&gt;the same FTP server, as the same user,&lt;BR /&gt;everything works.&lt;BR /&gt;&lt;BR /&gt;General advice:&lt;BR /&gt;&lt;BR /&gt;Actual "uname -a" output from each system&lt;BR /&gt;would say more than "HP-UX" or "Solaris".&lt;BR /&gt;&lt;BR /&gt;Showing actual commands with their actual&lt;BR /&gt;output would be more helpful than your&lt;BR /&gt;description of what you did.&lt;BR /&gt;&lt;BR /&gt;Ans: Server A: &lt;BR /&gt;#uname -a&lt;BR /&gt;HP-UX S02CJ091 B.11.31 U ia64 1571896790 unlimited-user license.&lt;BR /&gt;&lt;BR /&gt;Server B:&lt;BR /&gt;#uname -a&lt;BR /&gt;SunOS 5.10 Generic_127127-11&lt;BR /&gt;&lt;BR /&gt;Server C:&lt;BR /&gt;# uname -a&lt;BR /&gt;SunOS S34TD109 5.8 Generic_117350-55 sun4u sparc SUNW,Sun-Fire-V440&lt;BR /&gt;&lt;BR /&gt;Now, assuming that I understand what's&lt;BR /&gt;happening, ...&lt;BR /&gt;&lt;BR /&gt;&amp;gt; [...] Is it because the chroot also?&lt;BR /&gt;&lt;BR /&gt;I'd ignore all that advice about "chroot".&lt;BR /&gt;As you can see, the problem is _not_ with&lt;BR /&gt;your (Solaris) FTP server.&lt;BR /&gt;&lt;BR /&gt;Questions:&lt;BR /&gt;&lt;BR /&gt;Ok, "ls" hangs.  Does "get some_file" also&lt;BR /&gt;hang?&lt;BR /&gt;&lt;BR /&gt;Ans: Yes, it also hang.&lt;BR /&gt;&lt;BR /&gt;Does FTP work from the HP-UX system to&lt;BR /&gt;itself?&lt;BR /&gt;&lt;BR /&gt;Ans: Yes&lt;BR /&gt;&lt;BR /&gt;Is the HP-UX system on the same physical&lt;BR /&gt;network as the other system(s), or is there&lt;BR /&gt;more network stuff (routers, firewalls, ..)&lt;BR /&gt;between the HP-UX system and the other&lt;BR /&gt;system(s)?&lt;BR /&gt;&lt;BR /&gt;Ans: HP-UX (System A) and Sun Solaris (System C) are in same physical network. But Sun Solaris (System B) is not. It reside in other country.&lt;BR /&gt;&lt;BR /&gt;&amp;gt; Did you try using "passive".&lt;BR /&gt;&lt;BR /&gt;&amp;gt; What is passive?&lt;BR /&gt;&lt;BR /&gt;"man ftp", look for "passive".  Normal FTP&lt;BR /&gt;uses separate ports for "control" and "data".&lt;BR /&gt;Passive FTP uses only the "control" port, so&lt;BR /&gt;it often works better when a firewall blocks&lt;BR /&gt;communication on the "data" port.  Knowing&lt;BR /&gt;nothing about your network, I'd say that this &lt;BR /&gt;may be the best suggestion you've gotten.&lt;BR /&gt;&lt;BR /&gt;Ans: So i've to ask the Sun Solaris admin to open some ports?&lt;BR /&gt;&lt;BR /&gt;Again, this is not clear.  Now you're talking&lt;BR /&gt;about using some other HP-UX system as an FTP&lt;BR /&gt;_server_?  One reason that you're not getting&lt;BR /&gt;much good advice here may be that no one&lt;BR /&gt;really understands what you're doing.&lt;BR /&gt;Clearer explanations might help.&lt;BR /&gt;&lt;BR /&gt;Ans: I'm using the other HP-UX machine (System D if you want to name it) to proof that this error is not because of the chroot or ftpaccess.</description>
      <pubDate>Sun, 13 Sep 2009 22:05:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ls-command-is-hang-when-ftp/m-p/5198313#M463010</guid>
      <dc:creator>mohdamir</dc:creator>
      <dc:date>2009-09-13T22:05:20Z</dc:date>
    </item>
    <item>
      <title>Re: ls command is hang when ftp</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ls-command-is-hang-when-ftp/m-p/5198314#M463011</link>
      <description>&lt;!--!*#--&gt;&amp;gt; Ok, "ls" hangs. Does "get some_file" also&lt;BR /&gt;hang?&lt;BR /&gt;&amp;gt; &lt;BR /&gt;&amp;gt; Ans: Yes, it also hang.&lt;BR /&gt;&amp;gt; &lt;BR /&gt;&amp;gt; Does FTP work from the HP-UX system to&lt;BR /&gt;itself?&lt;BR /&gt;&amp;gt; &lt;BR /&gt;&amp;gt; Ans: Yes&lt;BR /&gt;&lt;BR /&gt;To me, that makes it look as if the FTP&lt;BR /&gt;server is working correctly, but there's&lt;BR /&gt;some firewall somewhere which is blocking the&lt;BR /&gt;FTP data channel.  "ls" and "get" both do a&lt;BR /&gt;data transfer.  With active FTP, they both&lt;BR /&gt;use the data channel.  If that port is&lt;BR /&gt;blocked, then that would explain the hanging.&lt;BR /&gt;&lt;BR /&gt;&amp;gt; Ans: So i've to ask the Sun Solaris admin&lt;BR /&gt;&amp;gt; to open some ports?&lt;BR /&gt;&lt;BR /&gt;Something like that, or else use passive FTP.&lt;BR /&gt;Passive FTP is easy, and you can do it&lt;BR /&gt;yourself.  I don't know who is blocking the&lt;BR /&gt;FTP data channel, so I don't know what to&lt;BR /&gt;change to fix it that way.&lt;BR /&gt;&lt;BR /&gt;&amp;gt; [...] proof that this error is not because&lt;BR /&gt;&amp;gt; of the chroot or ftpaccess.&lt;BR /&gt;&lt;BR /&gt;Ok.  (I never thought that it was.)&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&amp;gt; &amp;gt; Did you try using "passive".&lt;BR /&gt;&amp;gt; &lt;BR /&gt;&amp;gt; &amp;gt; What is passive?&lt;BR /&gt;&amp;gt; &lt;BR /&gt;&amp;gt; "man ftp", look for "passive".  [...]&lt;BR /&gt;&amp;gt; Knowing&lt;BR /&gt;&amp;gt; nothing about your network, I'd say that this&lt;BR /&gt;&amp;gt; may be the best suggestion you've gotten.&lt;BR /&gt;&lt;BR /&gt;As I/we said, try passive FTP, and see if&lt;BR /&gt;that helps.  It still sounds to me like the&lt;BR /&gt;best idea.</description>
      <pubDate>Sun, 13 Sep 2009 22:58:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ls-command-is-hang-when-ftp/m-p/5198314#M463011</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2009-09-13T22:58:18Z</dc:date>
    </item>
    <item>
      <title>Re: ls command is hang when ftp</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ls-command-is-hang-when-ftp/m-p/5198315#M463012</link>
      <description>Thanks Steve and others,&lt;BR /&gt;&lt;BR /&gt;You are the great! I just use:&lt;BR /&gt;&lt;BR /&gt;# ftp -p &lt;IP of="" ther="" solaris="" server=""&gt;&lt;BR /&gt;&lt;BR /&gt;That's it.. (^_^)&lt;/IP&gt;</description>
      <pubDate>Mon, 14 Sep 2009 02:02:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ls-command-is-hang-when-ftp/m-p/5198315#M463012</guid>
      <dc:creator>mohdamir</dc:creator>
      <dc:date>2009-09-14T02:02:04Z</dc:date>
    </item>
    <item>
      <title>Re: ls command is hang when ftp</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ls-command-is-hang-when-ftp/m-p/5198316#M463013</link>
      <description>See above comment.&lt;BR /&gt;TQ</description>
      <pubDate>Mon, 14 Sep 2009 02:02:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ls-command-is-hang-when-ftp/m-p/5198316#M463013</guid>
      <dc:creator>mohdamir</dc:creator>
      <dc:date>2009-09-14T02:02:30Z</dc:date>
    </item>
  </channel>
</rss>

