- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Unable to execute ls / ll command
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
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
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
тАО08-16-2003 11:52 PM
тАО08-16-2003 11:52 PM
Unable to execute ls / ll command
But after installation I could not able to execute list command ( ls / ll ) console as well as through telnet.
Anyone has any idea , or else I need to reinstall this server again ?
Looking for your reply.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-17-2003 12:02 AM
тАО08-17-2003 12:02 AM
Re: Unable to execute ls / ll command
ll /usr/bin/ls (should be owned by bin:bin with perms read, execute for all)
Check permissions on /usr/bin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-17-2003 12:05 AM
тАО08-17-2003 12:05 AM
Re: Unable to execute ls / ll command
What is the message you get when you try to issue the ls or ll command?
What is your PATH environment variable set to?
Do the ls and ll commands exist in /sbin and /usr/bin?
Tim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-17-2003 01:11 AM
тАО08-17-2003 01:11 AM
Re: Unable to execute ls / ll command
When try to executing ls /ll command , no error , only cursor hangs , so need to Control+C ,
Unable to see file permission as ll command itself is not working.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-17-2003 01:54 AM
тАО08-17-2003 01:54 AM
Re: Unable to execute ls / ll command
There are quite a few things you can check. first ensure the ls you are trying to run is indeed the /usr/bin/ls executable. Run:
# type ls
It will tell you what you are actually running. If its set to the correct path try /sbin/ls. If this works use chatr to check /usr/bin/ls is linked properly:
# chatr /usr/bin/ls
If neither ls works you can use echo to mimic the ls command as a workaround:
# echo *
I would then use swverify to check the state of the install:
# swverify \*
Check /var/adm/sw/swagent.log for the results of this. Attach any output if you are unsure.
Also, seems a bit strange to be installing 10.20 at this time?
Cheers,
James.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-17-2003 02:25 AM
тАО08-17-2003 02:25 AM
Re: Unable to execute ls / ll command
Why not try to use absolute path as follows:
# /usr/bin/ls /tmp
Maybe you are trying to list an NFS directory that is having problems.
What directory are you trying to list?
Can you list /tmp or / ??
Are there any messages in syslog.log?
Also check to ensure all filesets are configured:
# swlist -l fileset -a state | grep -v configured | grep -v "^#"
The above command should return a blank line. If you get anything else, then you have filesets that are NOT configured. This is not necessarily a problem if they have been superseded by more recent filesets that are in a configured state (typically applies to patches).
If you get filesets in an installed state, you can configure them using "# swconfig \*" command. Any other state is a different problem.
Tim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-17-2003 10:58 PM
тАО08-17-2003 10:58 PM
Re: Unable to execute ls / ll command
After analyzing installed software , using swverify , I get error message , File /usr/bin/l missing , & related fileset had a error.
Now I will reinstalled this fileset .
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-18-2003 04:22 AM
тАО08-18-2003 04:22 AM
Re: Unable to execute ls / ll command
I ran into problem some weeks ago.
umount non-responding filesystems.
good luck.
Bruno
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-18-2003 04:23 AM
тАО08-18-2003 04:23 AM
Re: Unable to execute ls / ll command
I ran into problem some weeks ago.
umount non-responding filesystems.
good luck.
Bruno