'Rundeck service starts and goes to dead state after a while
Rundeck service starts and goes to dead state after a while
Below is the output.
02:43:11 # rpm -qa | grep rundeck rundeck-config-2.6.9-1.21.GA.noarch rundeck-2.6.9-1.21.GA.noarch
02:43:59 # service rundeckd start Starting rundeckd: [ OK ]
02:44:07 # service rundeckd status rundeckd (pid 31637) is running...
02:44:48 # service rundeckd status rundeckd dead but pid file exists
02:44:14 # java -version openjdk version "1.8.0_262" OpenJDK Runtime Environment (build 1.8.0_262-b10) OpenJDK 64-Bit Server VM (build 25.262-b10, mixed mode)
Solution 1:[1]
Checking your original post here. It's a system network problem (java.net.BindException: Address already in use), another process is using your Rundeck TCP port, that's the reason why the Rundeck process dead on startup. You can identify "the another" process with lsof -i :4440 or reconfigure Rundeck to listen to another TCP port.
EDIT: Jabraj found the solution: downgrade to JDK 1.7.
Solution 2:[2]
I have faced the same problem and i resolved it by changing ownership to the rundeck related folders.
- Remove the /var/run/rundeck.pid file in order to delete the zombie process.
- Check for any other zombie process using lsof commmand.
- Reownership the rundeck related folders (Owner should be rundeck)
- Restart the rundeckd service.
- Hurray!!! its running inside the container well.
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 | |
| Solution 2 |
