SOS/9000 Performance Advisor FAQs

Lund Performance Solutions
1. I'm having problems installing SOS/9000 Performance Advisor. LPSMID is running.
2. I run SOS and get this error: /usr/lib/pa20_64/dld.sl: Unable to find library 'libnm.sl'.
3. I run SOS and get this error: Failure at: sem.c line 208 semop (2) failed to unlock semaphore: semval=-1:invalid argument!
4. Error: semop (2) failed to unlock semaphore semop (2) failed to unlock semaphore Semval = 1 invalid argument file: uxaif.c line 284

5. Error: E_PLCK, plock failed: Not enough space! lpsmid pid: 2228 time: 8/17/100 16:16 E_PLCK, plock failed: Not enough space!

6. What's the command to see if an HP-UX machine is 32 or 64bit?

Question 1:

I'm having problems installing SOS/9000 Performance Advisor. LPSMID is running.
Answer:
Because UNIX cannot overwrite executing files, you must first kill all Lund Performance Solutions programs currently running on your system before installing SOS Performance Advisor. Failure to do so will result in an incomplete installation.

Question 2:

I run SOS and get this error: /usr/lib/pa20_64/dld.sl: Unable to find library 'libnm.sl'.
Answer:
You will need to install this patch from the HP web site:HP: PHNE_21888

Question 3:

I run SOS and get this error: Failure at: sem.c line 208 semop (2) failed to unlock semaphore: semval=-1:invalid argument!
Answer:
Confirm the error by: tail /var/opt/lps/tmp/lps.log and get this: Configured number of lv's (0) exceeded 1! Then install this patch from HP: PHKL_23127.

Question 4:

Error: semop (2) failed to unlock semaphore semop (2) failed to unlock semaphore Semval = 1 invalid argument file: uxaif.c line 284
Answer:
This problem is caused by error in HPUX 11.00. The pstat system call returns 0 logical volumes. You can hardcode the number of logical volumes and volume groups. This can be done by creating the file

~/.lpsmidrc

with the following:

nvols=nn

where nn = (number of volume groups * 2) + (number of logical volumes)

Of course you will want to replace 30 with a big enough number to account for all logical volumes and volume groups on the system.

Question 5:

Error: E_PLCK, plock failed:Not enough space! lpsmid pid: 2228 time: 8/17/100 16:16 E_PLCK, plock failed: Not enough space!
Answer:
This is caused by LPSMID attempting to lock some RAM so it won't swap, and there is no lockable RAM available. Some other application or applications have taken all lockable memory.

You can increase the RAM on the system or Increase the lockable RAM by contacting HP for kernel tunable assistance, or run LPSMID without RAM locking (not highly recommended because LPSMID needs to have very fast access to it's RAM).

To run LPSMID with no RAM locking:

Create a file: /.lpsmidrc (This is assuming soslogd is being run by root)

In the file put:

nolock=y<NULL>

where <NULL> is a character with ASCII value of 0.

Question 6:

What's the command to see if an HP-UX machine is 32 or 64bit?
Answer:

On an 11.00 machine (its always 32 bit on 10.20), the command is:

/usr/bin/getconf KERNEL_BITS


Updated [3khat16.ico]HP3000 [3khat16.ico]3kMail [archive16.gif]