Operating System - HP-UX
1834604 Members
4155 Online
110069 Solutions
New Discussion

HP-UX 11.0 : Initializing SAM hangs for minutes

 
Thomas Pohlen
Advisor

HP-UX 11.0 : Initializing SAM hangs for minutes

Hi all,

on my HP-Ux 11.0 K-Class box, sam -r works but sam doesnt initialise during startup.

Patch PHCO_23876 is installed.

No SAM errors are in /var/adm/sw/swagent.log

sar -v 5 5 :
smscmun1:root> sar -v 5 5

HP-UX mymachine B.11.00 U 9000/800 10/24/01

14:46:07 text-sz ov proc-sz ov inod-sz ov file-sz ov
14:46:12 N/A N/A 215/1461 0 1122/13736 0 1737/23973 0
14:46:17 N/A N/A 218/1461 0 1119/13736 0 1738/23973 0
14:46:22 N/A N/A 214/1461 0 1119/13736 0 1754/23973 0
14:46:27 N/A N/A 214/1461 0 1117/13736 0 1754/23973 0
14:46:32 N/A N/A 214/1461 0 1117/13736 0 1754/23973 0

For me, file-sz seems to be ok.

Did anybody experience the same ?

Thanks a lot for every answer.

Kind Regards, Tomb
Be patient
5 REPLIES 5
Thomas Pohlen
Advisor

Re: HP-UX 11.0 : Initializing SAM hangs for minutes

Errors in /usr/sam/bin/samlog_viewer :

samlog_viewer comes back in with exit status 127

any comments
Be patient
Rita C Workman
Honored Contributor

Re: HP-UX 11.0 : Initializing SAM hangs for minutes

Check your /var/sam/log/samlog and see what SAM is trying to do when it starts up. I remember a post awhile back where SAM was trying to build some NIS+ maps, but NIS was supposed to be turned off...except nobody told SAM.

Anyway it may help to see what SAM is trying to do when it starts up..

It's a thought,
Rita
Thomas Pohlen
Advisor

Re: HP-UX 11.0 : Initializing SAM hangs for minutes

mymachine:root> tail samlog.problems.during.initialize
@!@8@1003928051@0
The file or executable "/usr/lbin/ups_mond" exists.
@!@8@1003928051@0
Entering Task Manager with task FAL_EXEC_PRE_CONDITION.
@!@4@1003928051@0
Executing the pre-condition command for "Monitor Configuration" to determine
if it should be listed in SAM's list of areas.
@!@4@1003928051@0
Executing the following command:\C/usr/bin/test -x /opt/graphics/common/bin/s
etmon\C

the last entries in samlog.

NIS seems to be ok :
Executing the following command:\C/usr/sbin/ch_rc -l -pNIS_MASTER_SERVER /etc
Executing the following command:\C/usr/sbin/ch_rc -l -pNIS_CLIENT /etc/rc.con
Executing the following command:\C/usr/sbin/ch_rc -l -pNISPLUS_CLIENT /etc/rc
xist. The area "NIS+ Groups" will not be listed in SAM.
st. The area "NIS Users" will not be listed in SAM.
ist. The area "NIS+ Users" will not be listed in SAM.
ist. The area "Audited NIS+ Users" will not be listed in SAM.
Executing the pre-condition command for "NIS Hosts Map" to determine if it sh
Pre-condition failure: the command for the area "NIS Hosts Map" returned non-
Executing the pre-condition command for "NIS+ Hosts Table" to determine if it
Pre-condition failure: the command for the area "NIS+ Hosts Table" returned n
Executing the pre-condition command for "NIS Netgroups" to determine if it sh
Pre-condition failure: the command for the area "NIS Netgroups" returned non-
Executing the pre-condition command for "NIS+ Netgroups" to determine if it s
Pre-condition failure: the command for the area "NIS+ Netgroups" returned non

Any comments ?
Be patient
Rita C Workman
Honored Contributor

Re: HP-UX 11.0 : Initializing SAM hangs for minutes

Well..I found that thread I mentioned...looks like your problem is the same...
Denver Osborne mentioned you need to stop NIS+, and suggested loading patch PHNE_17200.
Here's the thread for you to check out also:
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xe7920cb17a32d5118fef0090279cd0f9,00.html

Regards,
Rita
Thomas Pohlen
Advisor

Re: HP-UX 11.0 : Initializing SAM hangs for minutes

Reboot didnt fix it.

How can i stop NIS+ daemons ? is it inetd ?

inetd -c didnt work.

thanks
Be patient