- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Some Command Not Work Under CO
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
тАО07-21-2008 09:48 PM
тАО07-21-2008 09:48 PM
Some Command Not Work Under CO
I have rp8420 server with 4 node and 11.11 O.S version,
When I using the CO from MP and then select the first node
And tray to use some command, I found the more commands
Are not work in the CO for e.g. I can use ll command and bdf
And ioscan and netstat, but when I try to use another command
I am see this message
Ksh not found the command
For e.g. the who, whereis, ifconfig , SAM
And another command
And I am check this command on another node(partition) and it is working
And I am checking on the /usr/sbin file and find all the command
How to solve this problem?
Thanks & kind Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-21-2008 10:00 PM
тАО07-21-2008 10:00 PM
Re: Some Command Not Work Under CO
Is this nPar really up and running or somewhere in a lower init level (init 1 or single user mode)?
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-21-2008 10:43 PM
тАО07-21-2008 10:43 PM
Re: Some Command Not Work Under CO
ksh not found the command
ksh: sfsf: not found
This seems to indicate that you PATH isn't set up properly for your shell. What does this show:
echo $PATH
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-21-2008 11:36 PM
тАО07-21-2008 11:36 PM
Re: Some Command Not Work Under CO
the output of echo $PATH
/usr/sbin:/opt/........and more directory
thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-21-2008 11:42 PM
тАО07-21-2008 11:42 PM
Re: Some Command Not Work Under CO
/sbin/vgdisplay -v vg00
work?
What is the result of
/usr/bin/who -r
You need to check if you reached the correct run level. "who -r" may produce incorrect results - you can also check /etc/rc.log and the console log from MP for this partition.
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-21-2008 11:55 PM
тАО07-21-2008 11:55 PM
Re: Some Command Not Work Under CO
Are you running the commands as root or as normal user.
What is the output of the below commands:
which ll bdf ioscan netstat
which who whereis ifconfig sam
whence ll bdf ioscan netstat
whence who whereis ifconfig sam
Test running the above as root and the normal user. Is there any difference in the output?
Regards.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-22-2008 12:10 AM
тАО07-22-2008 12:10 AM
Re: Some Command Not Work Under CO
the /sbin/vgdisplay -v vg00 it is work but without sbin the vgdisplay is not work
/usr/bin/who -r
run level 3 0 s
and the which ll bdf ioscan netstat it is working under root user and normal user
but the whereis and SAM and ifconfig is not working
thanks
Thanks & kind Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-22-2008 12:21 AM
тАО07-22-2008 12:21 AM
Re: Some Command Not Work Under CO
What is the output of the whence command.
Regards.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-22-2008 12:35 AM
тАО07-22-2008 12:35 AM
Re: Some Command Not Work Under CO
the same output ksh not found whence
thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-22-2008 12:48 AM
тАО07-22-2008 12:48 AM
Re: Some Command Not Work Under CO
What is the exact message?
Example:
> bla
ksh: bla: not found
Did you by chance configure /usr/sbin/ksh as root's default shell? just an idea...
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-22-2008 12:55 AM
тАО07-22-2008 12:55 AM
Re: Some Command Not Work Under CO
i am try all command with root user and and i am see the same error massage
>whence
ksh: whence: not found
and i am tray with a full path for a command
/usr/sbin/.... and the same error
Thanks & kind Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-22-2008 01:06 AM
тАО07-22-2008 01:06 AM
Re: Some Command Not Work Under CO
Try this
> which ksh
should result
/usr/bin/ksh
What is the result of "set" command? Please post!
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-22-2008 01:16 AM
тАО07-22-2008 01:16 AM
Re: Some Command Not Work Under CO
If you change your shell to posix and run the commands, what response you get.
run sh or /usr/bin/sh
and repeat the other commands.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-22-2008 01:35 AM
тАО07-22-2008 01:35 AM
Re: Some Command Not Work Under CO
the output of > which ksh is
/usr/bin/ksh
but the set command it is the more output i can't posted because i am work on the MP from the datacenter from integrated keyboard mentor
and if my shell need a patch what is this the patch.
Thanks & kind Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-22-2008 01:40 AM
тАО07-22-2008 01:40 AM
Re: Some Command Not Work Under CO
What is the output of:
what /usr/bin/ksh
regards.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-22-2008 01:50 AM
тАО07-22-2008 01:50 AM
Re: Some Command Not Work Under CO
i can't copy the output of this command because i am work on the MP from server on datacenter.
but the output is more name and number of patch for ksh
thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-22-2008 01:53 AM
тАО07-22-2008 01:53 AM
Re: Some Command Not Work Under CO
Are you able to reboot the partition?
If yes, watch it! Does the system comes up properly?
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-22-2008 02:17 AM
тАО07-22-2008 02:17 AM
Re: Some Command Not Work Under CO
sorry to i can't post the output,
and i can't able to reboot a server because it is a producton server.
thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-22-2008 05:02 AM
тАО07-22-2008 05:02 AM
Re: Some Command Not Work Under CO
We suspect there might be some issues with your system. That is why, I guess, Torsten mentioned about reboot and there may be a possibility the system might not come up clean.
What results you get when you run the below:
/usr/bin/whereis -b who ifconfig sam
/usr/bin/whereis -b ll bdf ioscan netstat
Can you run those commands using the full path.
Regards.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-22-2008 05:09 AM
тАО07-22-2008 05:09 AM
Re: Some Command Not Work Under CO
Check /etc/passwd and see what the default shell is for root. If it is not /sbin/sh, change it back.
What happens if you log out and log back in as root?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-22-2008 08:30 AM
тАО07-22-2008 08:30 AM
Re: Some Command Not Work Under CO
Why not? You redirect the output of the command to a file then access that file from another machine or terminal.
You can also invoke the script(1) command to log all input/output.
>Torsten: Are you able to reboot the partition?
Instead of rebooting, can you access the machine remotely, not from the MP?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-19-2008 01:41 AM
тАО08-19-2008 01:41 AM