This article addresses the ASLM 2046 semaphore error message "rerun as root" on HP-UX.
Problem:
We have received the following error message on HP-UX:
ASLM: Semaphore failure. Rerun as root
ASLM: Errno 2046
Resolution:
The error number indicates that this is a locking problem.
/* System record lock table was full */
Try raising the system limit for the number of locks to resolve this problem. The parameter "nflocks" is the tunable which controls the maximum number of file locks. Raise the system limit on this parameter.
Sizing the system record lock table limit (nflocks) depends upon the workload type in the user's environment. The number of record locks the system requires is highly dependent on the activity in the system at any point in time. Monitor this over a period that would be using the most locks and then set nflocks appropriately. The error occurs when other activities in the system causes the system limit to be exceeded and it cannot acquire a lock when a license needs to be allocated.
#netexpress
#Licensing
#ServerExpress
#COBOL