1834476 Members
3173 Online
110067 Solutions
New Discussion

Re: sam not working

 
SOLVED
Go to solution
senthil_3
Frequent Advisor

sam not working

Hi I installed HP-UX 11.0 Quality Pack (QPK1100) -- September 2002 Pack. After that sam is not working and whenever I try to run sam, it gives following error message :
"A SAM internal error has occured. Additional information regarding this error has been logged to SAM log file (/var/sam/log/samlog). Contact your HP representative and provide them with the contents of the log file so that an appropriate resolution can be found."

Can anyone help ?
8 REPLIES 8
Clemens van Everdingen
Honored Contributor

Re: sam not working

Hi,

This looks like software not configured correctly.

Can you check with:

swlist -l fileset -a state if all filesets are configured.

If some filesets are not do swconfig \*
to configure them.

C.
The computer is a great invention, there are as many mistakes as ever, but they are nobody's fault !
senthil_3
Frequent Advisor

Re: sam not working

Clemens, Thanks for the reply, but when i run swconfig I get the following error :

# swconfig \*

======= 10/31/02 11:55:15 IST BEGIN swconfig SESSION
(non-interactive)

* Session started for user "root@phoenix".

* Beginning Selection
ERROR: RPC exception: "Communications failure (dce / rpc)" 10/31/02
11:55:51 IST
ERROR: A Remote Procedure Call to a daemon has failed. Could not
start a management session for "phoenix:/". Make sure the
host is accessible from the network, and that its daemon,
swagentd, is running.
* Target connection failed for "phoenix:/".
ERROR: More information may be found in the daemon logfile on this
target (default location is phoenix:/var/adm/sw/swagentd.log).
* Selection had errors.



======= 10/31/02 11:55:51 IST END swconfig SESSION (non-interactive)

Regards,
Vikram
T G Manikandan
Honored Contributor

Re: sam not working

Just do a to check whether any of the patches are unconfigured.
# swlist -l fileset -a state|grep -v -i -e configured -e \#

to configure the unconfigured patches enter.

# swconfig

Thanks
Clemens van Everdingen
Honored Contributor

Re: sam not working

Hi,

I think swagentd is not running.
restart with:

# /usr/sbin/swagentd -r

C.
The computer is a great invention, there are as many mistakes as ever, but they are nobody's fault !
Christian Gebhardt
Honored Contributor

Re: sam not working

Hi
Is "swagentd" running?

This is a typical error.

Chris
T G Manikandan
Honored Contributor

Re: sam not working

#usr/sbin/swagentd -r

Restart the swagentd


Thanks
senthil_3
Frequent Advisor

Re: sam not working

Thanks Clemens,

It Worked !!!!!!

What was the problem ? Can u please explain in detail?

regards
Clemens van Everdingen
Honored Contributor
Solution

Re: sam not working

Hi,

What where the steps you took ?

I guess first restart swagentd and then swconfig.

If so: during patch installation for some reason swagentd did not restart and that's why the swconfig failed during boot.

Check /etc/rc.log for reasons why swagentd was not started.

Maybe another reboot will show you if everything is working fine now.
Check after the reboot if swagentd is running.

C.
The computer is a great invention, there are as many mistakes as ever, but they are nobody's fault !