Problem
I'm getting an error when trying to start custom that states custom is already running or I'm not authorized.
Solution
If you are running custom as an authorized user or root and getting this error message select the Details button. If Details returns:
Can't obtain system database lock file.Then quit out of custom and enter the following commands:
#ps -ef | grep customIf this command returns something similar to the output below you will need to determine if someone else is running custom and installing software. If you are sure it is OK to stop the process then kill the custom processes with -15
rio:/# ps -ef |grep custom
root 1191 1182 0 10:40:36 ttyp1 00:00:00
/opt/K/SCO/SoftMgr/6.0.0Ni/custom/custom+ -c
root 1182 978 0 10:40:36 ttyp1 00:00:00 customAt this point double check the process has died by running the ps command again. Next try to run custom again:
#customIf it fails with the same error you will need to remove the lock file for custom. The exact path depends on your installed OS version but the path looks like this:
/var/opt/K/SCO/SoftMgr/{VERSION}/custom/client.lockYou will need to replace {VERSION} with the version of your OS. The easiest way is to cd into /var/opt/K/SCO/SoftMgr/
Now you should be able to run custom.
If you have other errors in the Details output you will need to contact your SCO support provider for assistance.