- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Sam - execution permission denied
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
11-19-2001 08:54 PM
11-19-2001 08:54 PM
Sam - execution permission denied
I need some help
At my Hp-Visualize workstation, when i log in as root and try to execute sam at command line, i get "Execution permission denied".
What must i see, check to enable me to get into sam? Please help
Regards
Joyce
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-19-2001 09:03 PM
11-19-2001 09:03 PM
Re: Sam - execution permission denied
#ll `which sam`
show?
(those are backquotes..the one below the ~)

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-19-2001 09:04 PM
11-19-2001 09:04 PM
Re: Sam - execution permission denied
There is a front-end to 'sam' called /usr/sbin/sam
If the permissions have been changed you will get this message. I've just tested it, changing the permissions on the file to 444, I get the same error message as yourself. Change the permissions on this file to 555
# chmod 555 /usr/sbin/sam
HTH
-Michael
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-19-2001 09:21 PM
11-19-2001 09:21 PM
Re: Sam - execution permission denied
the output for which sam is as below
no sam in /usr/bin /usr/ccs/bin /usr/contrib/bin /opt/nettladm/bin /opt/fc/bin /
opt/fcms/bin /opt/upgrade/bin /opt/pd/bin /usr/bin/X11 /usr/contrib/bin/X11 /opt
/hparray/bin /opt/resmon/bin /opt/ignite/bin /opt/graphics/phigs/bin /opt/hpnpl/
/bin /usr/lnms/bin /usr/bin /bin /etc
and i have tried to run the chmod command and i still have the same error
regards
Joyce
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-19-2001 09:30 PM
11-19-2001 09:30 PM
Re: Sam - execution permission denied
# /usr/sbin/sam
(with the full path)

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-19-2001 09:34 PM
11-19-2001 09:34 PM
Re: Sam - execution permission denied
# export PATH=$PATH:/usr/sbin
# sam
Hope this helps.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-19-2001 09:36 PM
11-19-2001 09:36 PM
Re: Sam - execution permission denied
Looks like the file could have been removed?
# /usr/sbin/find / -name "sam*" -print
You won't be able to chmod a file if it is
not on the system. If it is missing you will
have to either copy it from another system, or
from backup tape.
-Michael
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-19-2001 10:19 PM
11-19-2001 10:19 PM
Re: Sam - execution permission denied
/usr/sbin/sam is a script that calls samx (full path: /usr/sam/lbin/samx).
Perform this:
# ll /usr/sam/lbin/samx
# ll -d /usr/sam/lbin
# ll -d /usr/sam
You must have execute permissions for /usr/sam/lbin/samx as well as for the parent directories.
If you don't, perform a chmod +x:
# chmod +x /usr/sam
# chmod +x /usr/sam/lbin
# chmod +x /usr/sam/lbin/samx
Hope this helps. Regards.
Steven Sim Kok Leong
Brainbench MVP for Unix Admin
http://www.brainbench.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-23-2001 07:42 PM
11-23-2001 07:42 PM
Re: Sam - execution permission denied
Thanks!
