Account Manager on a Digital UNIX server can be started by typing dxaccounts at the command prompt or clicking on the account manager icon.
If the error message "locked by another user" is displayed and the account manager is unable to be started, the lock file will need to be removed.
Every time the account manager is run a lock file /etc/.AM_is_running is created.
When another occurrence of account manager is started it will look for this file and if it exists will give the "locked by another user" error message and bomb out.
Therefore if the first instance of account manager closes abnormally it will not remove this lock file as it is supposed to do.
Then when you come to start another instance of account manager it will find the lock file and fail to start.
To solve, just remove the lock file /etc/.AM_is_running. (Don't forget the dot at the front of AM, this dot means it is a hidden file. Use ls -a to view it)
Return to : Unix System Administration Hints and Tips