Skip to main content

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:


  1. Run option 6-Reinitialize Licensing from $COBDIR/aslmf/apptrack
  2. $COBDIR/aslmf/initaslm
Note: It may be necessary to reboot the system in order to completely reinitialize shared memory.
Old KB# 14323

#ServerExpress
#netexpress
#COBOL
#Licensing