'Rundeck Status shows "dead" despite rundeck being up and running

The rundeck instance is up and running but when I execute the following command it shows:

 $/etc/init.d/rundeckd status
    Status rundeckd: rundeckd is running (pid=37296, port=4440)   dead

Kindly help me out here on how to get this glitch fixed/?

Thanks !



Solution 1:[1]

You can run /etc/init.d/rundeckd stop and it should clear out the old pid file.

Solution 2:[2]

You can check for java version (exact with subversion) in /app/rundeck/etc/Profile and java installed on the particular server where rundeck is installed. Both should be identical, if not update the java version from the server to the file/app/rundeck/etc/Profile. Then restart rundeck, this should fix the issue .

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Alex-SF
Solution 2 R M