Skip to main content

This article explores the licensing error ASLM - You need to rerun as root (No Error Number).

Problem:

This message was received after a reboot and when trying to run a program. The message does not include any error number as with a similar message relating to the semaphore file /var/aslmfsem.

Resolution:

This error is caused by the absence of or incorrect permissions pertaining to the file /var/.mng2sys.

> ls -la /var/.mng2sys

-rw-rw-rw- 1 root root 56 Jun 29 15:32 /var/.mng2sys

The problem can be resolved by running a program as 'root'. For example:

> cobrun hello

ASLM: You need to rerun as root

> echo $COBDIR

/home/products/9i.T4.40.03

> su

Password:

# export COBDIR=/home/products/9i.T4.40.03

# export PATH=$COBDIR/bin:$PATH

# export LD_LIBRARY_PATH=$COBDIR/lib

# cobrun hello

hello

# exit

exit

> cobrun hello

hello

Old KB# 14485

#COBOL
#Licensing
#ServerExpress