- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Can not start SAM anymore
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
- 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
01-02-2001 09:45 AM
01-02-2001 09:45 AM
I don't know what i did, and if i've done something wrong, but SAM soesn't want to start anymore.
When i try to start it, i receive a error message :"Sorry, you must have superuser (root) privilege to entre SAM."
But i AM root:
"xxx:/tmp> id
uid=0(root) gid=3(sys) groups=0(root),1 (other),2(bin),4(adm),5(daemon),6(mail),7
(lp),20(users),24(ism),30(nsgroup)"
Thanks for the help.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-02-2001 11:52 AM
01-02-2001 11:52 AM
Re: Can not start SAM anymore
-r-xr-xr-x 1 bin bin 7219 Jun 7 1996 /usr/sbin/sam (I am on 10.20).
Have you installed any patches recently?
Do a 'which sam' and see which sam you are running. It should be /usr/sbin/sam. Do you any custom scripts that call sam that would switch you to a different user? Also, try doing an 'id -nu' and see what it returns. It should return root. This is what sam uses to determine what user you are logged in as.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-02-2001 11:44 PM
01-02-2001 11:44 PM
Re: Can not start SAM anymore
Did you add another user with uid 0 in the passwd file ??
If a user with uid 0 has a /etc/passwd entry before 'root', id -nu will return that username even if you're logged in as root.
Best regards,
Dan
PS: If you have another used with UID 0, keep in mind that this is a major security risk and that it should be avoided.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-03-2001 12:37 AM
01-03-2001 12:37 AM
Re: Can not start SAM anymore
results :
# id -nu
root
# which sam
/usr/sbin/sam
# ls -l /usr/sbin/sam
-r-sr-sr-x 1 bin bin 7248 Oct 27 1997 /usr/sbin/sam
-----------------------
There's no other user with id 0 than root.
i installed a set of patches, but not on sam itself (i don't think so in fact)
The newer i installed are:
PHCO_13809
PHCO_21833
PHCO_22076
PHNE_21433
PHSS_20863
PHSS_21959
PHSS_21982
PHSS_22341
The funny thing is that i have the message "WARNING: YOU ARE SUPERUSER !!" at logon...
Regards,
Stephane
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-03-2001 01:02 AM
01-03-2001 01:02 AM
Re: Can not start SAM anymore
You should apply the latest superseeding patches as
Patch PHCO_21833 has been superseeded by PHCO_22265
Patch PHCO_22076 has been superseeded by PHCO_22314
Patch PHNE_21433 has been superseeded by PHNE_22086
Latest SAM cumulative patch is PHCO_21267
ftp://ftp.itrc.hp.com/hp-ux_patches/s700_800/11.X/PHCO_21267
Best regards,
Dan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-03-2001 01:21 AM
01-03-2001 01:21 AM
SolutionDid the SAM problem started after the patches were installed?
Did you check if the patches you applied are in a configured state.
- swlist -l fileset -a state
ll /usr/sbin/sam
-r-xr-xr-x 1 bin bin 7219 Jun 7 1996 /usr/sbin/sam
I don?t have the setuid set on my 10.20 system.
Check it on other systems you?ve.
Darrel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-03-2001 01:31 AM
01-03-2001 01:31 AM
Re: Can not start SAM anymore
Darrel is right !! The setuid bit shouldn't be set on /usr/sbin/sam.
If it is set, it forces your uid to 'bin' and that's why sam is complaining because you're not root !
Well seen, Darrel !
Best regards,
Dan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-03-2001 02:14 AM
01-03-2001 02:14 AM
Re: Can not start SAM anymore
I really don't know why it was changed...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-03-2001 02:17 AM
01-03-2001 02:17 AM
Re: Can not start SAM anymore
Thanks for the points, but I think that applying the latest SAM cumulative patch would be a good idea anyway.
Check for your superseeded patches, even if they are unrelated to sam.
Dan