Ensure there are no actively running connectors. Sometimes, a connector can be launched without the '-1' parameter on the command line:
ruby ca_agile_central2_hpalm_connector.rb config.xml
This will cause the connector to run continuously instead of running a single time and then exiting. Look for any open command prompt windows where this command may have been issued.
It is possible that there are no visible command prompts running this command due to another user launching it or the job being run as a scheduled job in the background.
If this is a case of the scheduled job being specified without a '-1', you'll need to edit the jobs and ensure that the command has included a '-1' on the command line:
ruby ca_agile_central2_hpalm_connector.rb config.xml -1
Additionally, you'll need to end the existing job that is currently executing. This will vary depending on the operating system.
Windows
- Open Task Manager
- Click the Details tab
- Add the "Command Line" column
- Look for the ruby.exe process that includes the command line that references your XML configuration file
- Right click that line
- Choose End Task
Linux
- Open a command line
- Run: ps -ef | grep ruby
- Note the PID for the ruby process that includes the command line that references your XML configuration file
- Run: kill -9 <PID>
Now you may delete the LOCK.tmp file and try rerunning your jobs.