This article explains an ASLM 1013 semaphore failure when attempting to run a COBOL program or when using Application Server without world writable permissions for /var/aslmfsem.
Problem:
Without world writable permissions for /var/aslmfsem, the following error gets displayed when running an application:
ASLM: Semaphore failure. Rerun as root
ASLM: Errno 1013
What is the file for, and is there a way to remove the world writable permissions and still have an application run? The same ASLM 1013 semaphore failure also happens when attempting to run a COBOL program.
Resolution:
The message is normally caused by the missing semaphore file in /var/aslmfsem or the permissions on the file are incorrect. The aslmfsem file has a zero length so it can be created by using the following command:
touch /var/aslmfsem
The file permission should be rw_rw_rw_ (or R/W) for all and should be owned by root. If the file is present with the correct permissions the check the permissions of /var itself should be rwxr-xr-x.
If the ASLM 1013 sempahore failure is happing when attempting to run a COBOL program you can try:
#ServerExpress
#netexpress
#COBOL
#Licensing