- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Cannot execute 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
Forums
Discussions
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
10-28-2007 03:24 PM
10-28-2007 03:24 PM
Cannot execute command
I logged in to the server. However, the command that i typed could not be executed. There is no such a pointer or anything. When i type the command e.g date. Then i press enter. Nothing happened.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-28-2007 03:28 PM
10-28-2007 03:28 PM
Re: Cannot execute command
# whence date
/usr/bin/date
try to key in full path
/usr/bin/date -> is this working ?
WK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-28-2007 03:34 PM
10-28-2007 03:34 PM
Re: Cannot execute command
If its something like "date: not found" then, it means that your PATH variable is not set.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-28-2007 04:03 PM
10-28-2007 04:03 PM
Re: Cannot execute command
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-28-2007 04:39 PM
10-28-2007 04:39 PM
Re: Cannot execute command
HPUX?
A new server or new account?
Did it ever work?
What changed?
Did it come back with a prompt?!?!
>> However, the command that i typed could not be executed.
Did you try a ^C and try again?
This is most likely a broken user profile setup (profile or .cshrc or .bashrc...), or even a proken shell.
As the system administrator (or is that you?) to triple check the user setup for teh account used.
a command with a long wait in the profile could simply explain this behaviour. ^C might break that.
This that 'look' like what you describe are
1) sleep 9999
2) cat > x
Hope this helps some,
Good luck,
Hein.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-28-2007 05:23 PM
10-28-2007 05:23 PM
Re: Cannot execute command
you should verify all filesets by
swverify -F \*
and look at logfile.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-28-2007 06:14 PM
10-28-2007 06:14 PM
Re: Cannot execute command
HPUX? <- Yes
A new server or new account? <- Not a new server.
Did it ever work? <- Yes
What changed? <- I'm not sure because the user ask me about this problem.
Did it come back with a prompt?!?! <- Nope
Did you try a ^C and try again? <- Yes. But it still the same.
As the system administrator (or is that you?) to triple check the user setup for teh account used. <- Yes. I'm a new staff as system administrator here. I will ask the senior :-)
Thanks for your explanation.