Operating System - HP-UX
1833016 Members
2935 Online
110048 Solutions
New Discussion

parstatus command hangs when BMC Patrol calls in in script

 
Regina Mitchell
Frequent Advisor

parstatus command hangs when BMC Patrol calls in in script

Server is 9000/800/SD32A running HP UX 11.11.

Problem:
Parstatus command is hanging on parstatus command when BMC Patrol calls upon it in a script. Below is the ps -ef command for parstatus. Have tried to kill them but that did not work.

/ > ps -ef| grep -i parstatus
root 3570 3122 1 13:06:47 pts/4 0:00 grep -i parstatus
patrol 12318 1 0 Aug 28 ? 0:00 /usr/sbin/parstatus
patrol 11944 1 0 Aug 28 ? 0:00 /usr/sbin/parstatus
patrol 26802 1 0 Aug 25 ? 0:00 /usr/sbin/parstatus -C -M
patrol 2661 2630 0 Aug 27 ? 0:00 /usr/sbin/parstatus -p 1 -M
patrol 26803 1 0 Aug 25 ? 0:00 /usr/sbin/parstatus -A -C -M

BMC Patrol was called to resolve an issue with their product and below is what was emailed from the vendor

There are two separate problems here:
(1) The OS command 'parstatus' is hanging on this machine. This is a OS command provided as part of the HP-UX OS that shouldn't hang. To debug the issue with the 'parstatus' command hanging it will be necessary to involve HP-UX support.
(2) The bgscollect process is crashing when the 'parstatus' command fails to return data within the specified timeout period (10 seconds by default).

The crash problem within bgscollect has been fixed in Perform version 7.4.00 and I believe we could have that fix back-ported to Perform version 7.3.00 but I believe the result of that would be that the Perform collector would execute the 'parstatus' command on your machine, that command would hang, we'd time out the wait, then repeat the cycle. So, you'd end up with more and more hung lparstatus commands executed by bgscollect running on the system.

For that reason I think it will be necesary to identify the root cause of the 'parstatus' command hanging on your machine. This is the only machine I'm aware of where the OS's 'parstatus' command is hanging and can't be killed.

Does anyone have advice on how to resolve this problem. Thanks in Advance for your replies.
2 REPLIES 2
Sameer_Nirmal
Honored Contributor

Re: parstatus command hangs when BMC Patrol calls in in script

Can you check if these patches are installed?
PHKL_30523 & PHKL_30524

Since npar commands work through firmware, ensure you have latest system firmware installed.
Todd McDaniel_1
Honored Contributor

Re: parstatus command hangs when BMC Patrol calls in in script

I would check for hardware issues on the system.

If the parstatus is hanging, then it would be a safe bet to start by looking at your hardware.

Check your syslog for any issues and verify your configuration. Get into the GSP and see if you can get your chassis logs and find out if anything is strange in there.

If you arent comfortable doing that, then call HP and have them look around.

also, the cstm tool might offer some help as to your issue.
Unix, the other white meat.