- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: ll not working
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
Forums
Discussions
Discussions
Discussions
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
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
03-11-2004 04:38 AM
03-11-2004 04:38 AM
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-11-2004 04:42 AM
03-11-2004 04:42 AM
Re: ll not working
please post
which ll
type ll
if you enter /usr/bin/ll what is the output like ?
Regards,
Jean-Luc
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-11-2004 04:42 AM
03-11-2004 04:42 AM
Re: ll not working
Is it there?
ls -la the put put.
This is a command, not an alias, so if its there it should work.
Next, Check PATH variable, make sure /usr/bin is part of it.
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
03-11-2004 04:44 AM
03-11-2004 04:44 AM
Re: ll not working
When you see this problem - run
which ls
and
which ll
It *should* come back
/bin/ls
/bin/ll
If it's different, then there's other ls and ll binaries out there & you need to get /bin into your path *before* their location.
Rgds,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-11-2004 04:48 AM
03-11-2004 04:48 AM
Re: ll not working
type ll retruns ll is /usr/bin/ll
ls -l the put put returns
the not found
put not found
put not found
/usr/bin is in $PATH
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-11-2004 04:49 AM
03-11-2004 04:49 AM
Re: ll not working
/usr/bin/ls
/usr/bin/ll
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-11-2004 04:50 AM
03-11-2004 04:50 AM
Re: ll not working
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-11-2004 04:51 AM
03-11-2004 04:51 AM
Re: ll not working
;^)
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-11-2004 04:57 AM
03-11-2004 04:57 AM
SolutionI believe you have an NFS filesystems that is hanging. ls will work but not ll as it has to generate a long listing.
YOu will need to get your NFS fixed first. Your bdf may be hanging too. To find out the NFS mounted file systems do cat /etc/mnttab. Check the NFS servers from where you are mounting and fix them if they are not responding.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-11-2004 04:57 AM
03-11-2004 04:57 AM
Re: ll not working
* Try an /usr/bin/ls -l | cat -v.
Maybe there are control characters in ls's output,
* Do you use NIS or something like that? Maybe usernames / groupnames cannot be found?
* No problem on other directory?
JP.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-11-2004 04:58 AM
03-11-2004 04:58 AM
Re: ll not working
Does bdf command work?
JP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-11-2004 05:01 AM
03-11-2004 05:01 AM
Re: ll not working
# cd /usr/bin
# ls -l l lc ll ls lsf lsr lsx
-r-xr-xr-x 7 bin bin 28672 May 5 2003 /usr/bin/l*
-r-xr-xr-x 7 bin bin 28672 May 5 2003 /usr/bin/lc*
-r-xr-xr-x 7 bin bin 28672 May 5 2003 /usr/bin/ll*
-r-xr-xr-x 7 bin bin 28672 May 5 2003 /usr/bin/ls*
-r-xr-xr-x 7 bin bin 28672 May 5 2003 /usr/bin/lsf*
-r-xr-xr-x 7 bin bin 28672 May 5 2003 /usr/bin/lsr*
-r-xr-xr-x 7 bin bin 28672 May 5 2003 /usr/bin/lsx*
You should get something like the above. Notice the '7' in the link count and the fact that they are all the same size. This should be the case on your machine as well.
This list was taken on an 11.11 machine, so yours may be slightly different depending on your OS release and any patches you may have installed.
If any of the files in the list are different, then I would look at your backups and see what changed.
Also -- are you sure you have permissions to see all of the info when logged in as a user? Are there any NFS mounts involved?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-11-2004 05:02 AM
03-11-2004 05:02 AM
Re: ll not working
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-11-2004 05:02 AM
03-11-2004 05:02 AM
Re: ll not working
libautofs.a
SR: 8606221217
DTS: JAGad90351
The "ll" command hangs in the case of an automounted
file system if the server is down.
Regards,
JL
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-11-2004 05:04 AM
03-11-2004 05:04 AM
Re: ll not working
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-11-2004 05:05 AM
03-11-2004 05:05 AM
Re: ll not working
/etc/rc.config.d/nfsconf
/etc/auto_master
Regards,
Jean-Luc
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-11-2004 05:06 AM
03-11-2004 05:06 AM
Re: ll not working
//
The cat on /etc/mnttab does show a /net listing that I do not see on my other systems. //
This does mean you have an NFS issue. YOu will need to fix your NFS server. What entry do you have corresponding to /net?. Can you ping to that server?.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-11-2004 05:11 AM
03-11-2004 05:11 AM
Re: ll not working
I have seen this a few times and it has always been a filesystem corruption. "ls" only needs to read a directory whereas "ls -l" needs to look up the filesystem inodes.
I would attempt to unmount the filesystem and do an "fsck" on it.
Also, just to be sure, you could try your "ls -l" in another filesystem or two and see if it works there.
One more thing, your "/net" is probably an automounted NFS filesystem. By default the auto mount it configured with a /net filesystem which NFS mounts other hosts on your network when you attempt to cd to /net/
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-11-2004 05:15 AM
03-11-2004 05:15 AM
Re: ll not working
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-11-2004 05:19 AM
03-11-2004 05:19 AM
Re: ll not working
NFS server (pid1102@/net) not responding still trying
Then can I edit some file to take care of this?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-11-2004 05:20 AM
03-11-2004 05:20 AM
Re: ll not working
change
NFS_CLIENT=0
in /etc/rc.config.d/nfsconf
and then /sbin/init.d/nfs.client stop
If this is just automount :
change
AUTOMOUNT = 0
in /etc/rc.config.d/nfsconf
and re-start nfs client
Regards
Jean-Luc
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-11-2004 05:21 AM
03-11-2004 05:21 AM
Re: ll not working
check patch details: PHNE_30168
http://www4.itrc.hp.com/service/cki/patchDocDisplay.do?patchId=PHNE_30168
Regards,
Jean-Luc
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-11-2004 05:31 AM
03-11-2004 05:31 AM
Re: ll not working
Go into /etc/rc.config.d and have a look at nfsconf. At the bottom you'll find a reference to the autofs and automount. Set them to 0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-11-2004 05:37 AM
03-11-2004 05:37 AM
Re: ll not working
Since you already rebooted the server, I would suggest you to get into single user mode. ONce in single user mode do
#mount /usr
#export TERM=vt100
Or whatever appropriate
#mount /var
#clear (make sure it works otherwise you have to set your TERM)
#vi /etc/rc.config.d/nfsconf
Turn-off both NFS_CLIENT and NFS_SERVER (set them to 0). Then get into multi-user mode
#init 3
-Sri