6.3.4. Server log reports “(armlmd) cannot open lock file”

This error most commonly occurs on a Unix/Linux system if a previous instance of the lmgrd license daemon was not shut down properly. Only one copy each of lmgrd and armlmd can run on your license server at any given time. Attempting to start another copy of these daemons will cause an error.

When the ARM license daemon (armlmd) is started, it creates a file called /var/tmp/lockarmlmd. If lmgrd terminates abnormally, armlmd does not release the lock file because it will still be running.

To solve this problem, locate any license daemon processes. You can do this using the following command:

ps -a | grep daemon_name

where daemon_name is lmgrd or armlmd.

Next terminate these processes with:

kill PID

where PID is the process ID for the license daemon.

Delete the /var/tmp/lockarmlmd if it still exists.

You should now be able to restart the license server.

Copyright © 2002-2006 ARM Limited. All rights reserved.ARM DUI 0209F
Non-Confidential