- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: ls command results in session hang for sftp.
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-10-2009 12:53 PM
тАО11-10-2009 12:53 PM
When I am doing "sftp" on my server and executing "ls" command, it results in session hang.
In normal "ssh" session also sometimes it get hang.
I have checked the file/directory rights, its ok.
I also have checked the sftp user rights also, its ok.
FYI : My server is using Linux.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-10-2009 01:59 PM
тАО11-10-2009 01:59 PM
Re: ls command results in session hang for sftp.
Post the ls commands without sftp involved.
There could be soft link to something forbidden, or a soft link to nfs.
Lots of things can go wrong.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-11-2009 01:00 AM
тАО11-11-2009 01:00 AM
Re: ls command results in session hang for sftp.
Thanks for your reply.
Below is the ls command output without sftp involved. Its ls command output in ssh session.
Thanks for the further investigation.
======================================================
GWKPER001:> ls
./ .bash_profile.ori ems/ OamMt.trace.b .ssh/
../ .bashrc generateFeatureKey .profile .tcshrc
.......... cd install.log pwd Trace 01jul09.txt
anaconda-ks.cfg cfgCommandExecResult_SIM04 install.log.syslog .rhosts uk1.log
.bash_history cfgCommandExecResult_SIM06 .lesshst sipmNodProblem_26thOct./ wss_data.cfg
.bash_logout .cshrc ls sipmNodProblem_26thOct.tar.gz .Xauthority
GWKPER001:> cd /voice/IVR
GWKPER001:> ls
./ IVR1043..cfg IVR1088..cfg IVR1133..cfg IVR1178..cfg IVR1223..cfg IVR1268..cfg IVR1313..cfg IVR917..cfg IVR962..cfg
../ IVR1044..cfg IVR1089..cfg IVR1134..cfg IVR1179..cfg IVR1224..cfg IVR1269..cfg IVR1314..cfg IVR918..cfg IVR963..cfg
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-11-2009 03:33 AM
тАО11-11-2009 03:33 AM
Re: ls command results in session hang for sftp.
does it hangs forever for come out after some time.
Plesse send ls -lrt and mark where is hung.
BR,
Kapil+
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-11-2009 05:18 AM
тАО11-11-2009 05:18 AM
Re: ls command results in session hang for sftp.
Telnet is not allowed on my server, we are using only ssh.
Session gets hang forever.
following is the output of ls -lrt from my server's ssh session.
============================================
GWKPER001:>
GWKPER001:> ls -lrt
total 7376
-rw-rw-rw- 1 root uucp 1697 Nov 11 05:10 IVR1400.cfg
===========================================
Thanks & Regards,
Prakash.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-11-2009 07:16 AM
тАО11-11-2009 07:16 AM
SolutionIf so, the problem is (most likely) on that end of the connection.
If you're connecting FROM Linux to HP, I've seen similar issues with older versions of sshd running on 11.0 (but you didn't mention the OS release either).
In the cases I mentioned above, there were also issues with Expect hanging when the session was done. The same "expect" scripts ran fine with telnet or remsh.
A little clarification if you please?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-11-2009 08:57 AM
тАО11-11-2009 08:57 AM
Re: ls command results in session hang for sftp.
Many thanks to steven,kapil, old school.. for their reply and to all those who were thinking over my problems.
My Problem has been solved and sharing the solution with you.
==========================================
Problem has been identified at Router end. There is a problem of transfering packet larger than 1468 byte over the link between the router connected to my Server and core router.
Thanks once again
Prakash.