1833189 Members
2767 Online
110051 Solutions
New Discussion

Re: The SAM error

 
SOLVED
Go to solution
Steven Lam_2
Occasional Advisor

The SAM error

My system is HP 9000 series with 10.10 OS version. When I open the SAM, I saw only the Groups icon uder the Accounts for Users and Groups icon; the Users icon is diappeared. I also got the error below as I try to open the Groups:
UNEXPECTED EXIT: process /usr/sam/lbin/samx -C -p 1480 -s groups /user/sam/lib/ug.ui with a non-zero exit status. Any hint is greatly appreciated.

Steve
7 REPLIES 7
Steffi Jones_1
Esteemed Contributor

Re: The SAM error

Hello Steven,

here is what probably happened:

NIS is setup but not used.
Please check the following file:
/etc/rc.config.d/namesvrs
and ensure that the NIS_CLIENT=0 entry is correct. Notice that the file has -r--r--r-- permissions (read only), so you must have root access to edit this file.

If you happen to use NIS, make sure, that the configuration is ok.


NIS_MASTER_SERVER=0
NIS_SLAVE_SERVER=0
NIS_CLIENT=0
NIS_DOMAIN=

.....this is how it should be set.


Then run inetd -c (in order to re-read network initialization files)

And then restart SAM.

Steffi Jones


Patrick Wessel
Honored Contributor

Re: The SAM error

Steven,
Did you install any patches on the system before the problem occures?
Is there any error message in the sam-logfile (/var/sam/log/samlog)?
Do you have "+:::" in your /etc/passwd?

(I like the idea that NIS cause the problem ;-) )
There is no good troubleshooting with bad data
Cheryl Griffin
Honored Contributor

Re: The SAM error

Blame NIS, yeah!!!

But just in case it's not... check the libc patch. There was a known issue with the libc patch that produced this message.
PHCO_20588 libc:cumulative

# swlist -l fileset -a state |grep 20588
It should be in a configured state.
"Downtime is a Crime."
Steven Lam_2
Occasional Advisor

Re: The SAM error

All,
Thanks for the hints. The problem is still. Here are what I did:
1. I checked everything in the /etc/rc.config.d/namesvrs. It's exactly as your direction. I reran the inetd -c.
2. There is no "+:::" in the /etc/passwd file either.
3. There are some errors in the samlog:
a. Syntax Error: /usr/sam/lib/ug.tm at line 1: Alocation:tm_parse:2496. Error code 719
b. The pre-condition command for the area "Local Users" returned non-zero. This area wil not be listed in SAM.
c. The pre-condition command for the area "Uninterupted Power Supplies" returned non-zero. This area wil not be listed in SAM.
d. The pre-condition command for the area "Install Software to Local Host" to determine if it should be listed in SAM's list of areas.
e. The pre-condition command for the area "Remove Cluster Software" returned non-zero. This area wil not be listed in SAM.
4. I ran the command swlist -l fileset -a state |grep 20588, and nothing is showing up. I think I am going to load PHCO_10588 patch.
Once again thanks for your answers.

Steve
Solution

Re: The SAM error

HI Steven!

If all else fails, try to reconfigure SAM. I have had situations where SAM comes up with an error even though there was no known change on the system.

try;

swconfig -x reconfigure=true SystemAdmin


good luck

Ish
If you keyboard is locked, call a locksmith, not HP!
Patrick Wessel
Honored Contributor

Re: The SAM error

Steven,
If you come to the point when you'll plan to reinstall SAM you can perform the following steps:

Steps 1) , 2) , 3) are to make a backup of the existing files.
1) mkdir /tmp/etc/sam
2) cd /etc/sam
3) cp -R * /tmp/etc/sam/.
Steps 4) and 5) are to copy the 'newconfig' files over to /etc/sam
4) cd /etc/sam
5) cp -R /usr/newconfig/etc/sam/* .
There is no good troubleshooting with bad data
Darrel Louis
Honored Contributor

Re: The SAM error

Steven,

It is possible that the installed patches where in a installed state.
Always check if patches are configured, after the installation.
When installing NFS patches it looks like you need to reboot the server twice, had it once and saw in the /etc/mnttab that there where nfs2 and nfs3 mountpoints.

commnads:
- swlist -l fileset -a state
- swconfig \*