- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- SAM problem
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
07-13-2005 05:38 AM
07-13-2005 05:38 AM
sh: sam: Execute permission denied.
Hello everyone, I get the above error message
when I try to use SAM and some other messages that I am sure are from the same problem:
# history
sh: fc: Cannot access or open the history file.
here is a listing of /etc/PATH
# more PATH
/usr/bin:/usr/ccs/bin:/usr/contrib/bin:/opt/nettladm/bin:/opt/fc/bin:/opt/fcms/b
in:/opt/upgrade/bin:/opt/pd/bin:/usr/bin/X11:/usr/contrib/bin/X11:/opt/hparray/b
in:/opt/cobol/bin:/opt/perf/bin:/opt/OV/bin/OpC:/opt/ignite/bin:/opt/resmon/bin:
/opt/pred/bin:/opt/hpnpl//bin:/opt/hpnp//bin
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-13-2005 05:55 AM
07-13-2005 05:55 AM
Re: SAM problem
sam is /usr/sbin/sam
# ll /usr/sbin/sam
-r-xr-xr-x 1 bin bin 7032 Nov 20 2001 /usr/sbin/sam
do you see execute permissions like this one I put above ??
make sure you have the rights to run sam, i.e., you are not a regular user and all regular user rights to sam being turned off.
for the history file, it looks like somebody have changed the ownership of your history file. Are you root ot equivalent when you are gtting these messages ?
UNIX because I majored in cryptology...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-13-2005 06:09 AM
07-13-2005 06:09 AM
Re: SAM problem
It seems that the execute permission on /usr/sbin/sam is not there .
first chcek ll /usr/sbin/sam .
But make sure u r looged in as a user who has the permsiion to execute this command .
Check the file permssion for .sh_history also.
Regards
CS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-13-2005 11:05 PM
07-13-2005 11:05 PM
Re: SAM problem
Andre'
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-13-2005 11:32 PM
07-13-2005 11:32 PM
Re: SAM problem
root can also configure sam with limited menu items for any user by using restricted sam builder (run sam -r as root ) .
Its not a path issue as you are getting error "execute permission denied" very clearly.
for history issue, try removing and recreating user with same UIS ( do not use userdel without -r option not to delete home directory )
thanks
deepak
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-13-2005 11:33 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-13-2005 11:54 PM
07-13-2005 11:54 PM
Re: SAM problem
at the prompt how do I get that back? I am not sure what has caused these little problems.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-14-2005 12:08 AM
07-14-2005 12:08 AM
Re: SAM problem
maybe your home directory was moved or the path isn't right in the passwd.
You have to check where are your .profile, .cshrc, and others.
HTH
Volkmar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-14-2005 12:14 AM
07-14-2005 12:14 AM
Re: SAM problem
How did you login as root on the system (telnet, su - root, CDE, or ....what)?
Best regards,
Fabio
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-14-2005 12:23 AM
07-14-2005 12:23 AM
Re: SAM problem
now. When I look in the /etc/home I do not even see any files for the "root" user, I get the following for "alsoroot" (I see that
there are a total of 6 files, so are the 3 for "root" hidden?)
# ll *root*
total 6
-rw-r--r-- 1 root root 347 Aug 10 2000 .exrc
-rw-r--r-- 1 root root 593 Aug 10 2000 .profile
-rw-r--r-- 1 root root 734 Aug 10 2000 .proflie
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-14-2005 12:34 AM
07-14-2005 12:34 AM
Re: SAM problem
If I remember correctly last time I had this problem I was able to correct it without a reboot to single user mode
http://forums2.itrc.hp.com/service/forums/questionanswer.do?threadId=267217&admit=-1335382922+1121351499796+28353475
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-14-2005 12:42 AM
07-14-2005 12:42 AM
Re: SAM problem
Perhaps you could copy .profile from root's home directory to alsoroot's home directory?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-14-2005 01:00 AM
07-14-2005 01:00 AM
Re: SAM problem
what does 'll -a' says?
Also:
'alsoroot' should be owner of the files in it's home directory.
Try to change it or make a copy to become owner.
Also - which group is 'alsoroot'?
V.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-14-2005 01:45 AM
07-14-2005 01:45 AM
Re: SAM problem
Thanks for your suggestions and efforts as always.
Andre'
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-14-2005 01:47 AM
07-14-2005 01:47 AM