- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: ls command hangs during telnet only
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
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
тАО01-06-2004 12:50 AM
тАО01-06-2004 12:50 AM
ls command hangs during telnet only
Gerald
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-06-2004 01:00 AM
тАО01-06-2004 01:00 AM
Re: ls command hangs during telnet only
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-06-2004 01:02 AM
тАО01-06-2004 01:02 AM
Re: ls command hangs during telnet only
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-06-2004 01:05 AM
тАО01-06-2004 01:05 AM
Re: ls command hangs during telnet only
Check out this thread:
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=42444
HTH, Elena
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-06-2004 01:15 AM
тАО01-06-2004 01:15 AM
Re: ls command hangs during telnet only
which ls
You could also force both sessions to run the same command, by typing:
/bin/ls
in both sessions.
Are you using pipes or things like that, or are you just running ls straight to your session?
Have you tried to redirect the output of the commands to a file?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-06-2004 01:16 AM
тАО01-06-2004 01:16 AM
Re: ls command hangs during telnet only
Gerald
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-06-2004 01:19 AM
тАО01-06-2004 01:19 AM
Re: ls command hangs during telnet only
is successful. Both sessions use /usr/bin/ls. I am unsure why 'ls > temp.out' works but just using 'ls' hangs. Does this mean my terminal settings are off?
Gerald
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-06-2004 01:33 AM
тАО01-06-2004 01:33 AM
Re: ls command hangs during telnet only
You could try:
ls | cat -tv | more
Look for things like ^Q, ^S or other escaped control characters.
Sometimes special characters might hang your system, for instance
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-06-2004 01:54 AM
тАО01-06-2004 01:54 AM
Re: ls command hangs during telnet only
works fine but I do not see any special characters in the directories. I am able to cd into different directories but the hang occurs on all directories.
Gerald
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-06-2004 02:42 PM
тАО01-06-2004 02:42 PM
Re: ls command hangs during telnet only
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-06-2004 03:06 PM
тАО01-06-2004 03:06 PM
Re: ls command hangs during telnet only
1.check for NFS mounts
2.move out the initialization files respective to your shell .profile .login .cshrc files and then try again.It could have some terminal settings.
Is that specific to only one user or all users
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-06-2004 03:32 PM
тАО01-06-2004 03:32 PM
Re: ls command hangs during telnet only
Another possible cause is some kind of issue with a missing disk. If course this should show up in syslog, but if it went dead fast say right before you cleared syslog you might miss it.
Something to look in, possibl missing disk.
NFS or network is more likely.
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
тАО01-06-2004 05:46 PM
тАО01-06-2004 05:46 PM
Re: ls command hangs during telnet only
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-06-2004 05:54 PM
тАО01-06-2004 05:54 PM
Re: ls command hangs during telnet only
The most possible cause which makes "ls" to hang are,
1) /tmp or /var file system full
2) NFS mount point problem
3) linked file problem in the respective directory..
Best regards,
Bala
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-06-2004 06:20 PM
тАО01-06-2004 06:20 PM
Re: ls command hangs during telnet only
bdf > bdf.out
will work but
bdf
will hang, also if I ftp to another system and try 'ls' this will hang also. Makes me think this is a communication issue I just don't know the fix.
Gerald
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-06-2004 06:35 PM
тАО01-06-2004 06:35 PM
Re: ls command hangs during telnet only
As I understand output to terminal is failing whereas output to a file is working.
Check if terminal device files are correctly defined.
sks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-07-2004 05:24 AM
тАО01-07-2004 05:24 AM
Re: ls command hangs during telnet only
Gerald
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-08-2004 04:55 AM
тАО01-08-2004 04:55 AM
Re: ls command hangs during telnet only
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-08-2004 05:00 AM
тАО01-08-2004 05:00 AM
Re: ls command hangs during telnet only
Gerald