I am getting a "runner is not running" message when I try to stop the sphera through sphadmin menu.
Each Sphera component creates a file when it is running properly.
This file is in machine's /tmp directory.
The file name is ".Sphera.IP_of_Componenet". (example: .Sphera.172.16.155.2)
That file should contain the PID for the runner of that component.
If I have a Server Director installed on IP 172.16.150.46 and it is running properly, under the /tmp folder there will be a file named .Sphera.172.16.150.46
The file contains the pid number of the runner of that component.
Sphera checks if runner is running by checking for that file.
If the runner of that component is running, but the file is missing you would still get a message about "runner is not running"
In order to fix the problem, (re-create the missing file) please follow these simple steps:
1. Find the runner pid (make sure that it is the runner of the required component).
do it by the following command:
ps -efw | grep runner
You should get a result similar to:
root 24811 1 0 Oct06 ? 00:00:00 /usr/local/hostdir/bin/runner start -f /usr/local/hostdir/conf/hostdir.xml
2. Go to the /tmp folder and create the file according to the name convention
.Sphera.[IP of component]
3. In the file, enter the pid of the runner process.
4. The file permission, owner & group should be: -rw------- 1 root root