Error when starting Jenkins
sudo systemctl start jenkins
Error Messages:
● jenkins.service - LSB: Jenkins Automation Server Loaded: loaded (/etc/rc.d/init.d/jenkins; bad; vendor preset: disabled) Active: failed (Result: exit-code) since Fri 2021-12-03 11:46:25 CST; 4s ago Docs: man:systemd-sysv-generator(8) Process: 12366 ExecStart=/etc/rc.d/init.d/jenkins start (code=exited, status=127) Dec 03 11:46:25 localhost.localdomain systemd[1]: Starting LSB: Jenkins Automation Server... Dec 03 11:46:25 localhost.localdomain jenkins[12366]: Starting Jenkins /etc/rc.d/init.d/jenkins: line 120: daemonize: command not found Dec 03 11:46:25 localhost.localdomain jenkins[12366]: [FAILED] Dec 03 11:46:25 localhost.localdomain systemd[1]: jenkins.service: control process exited, code=exited status=127 Dec 03 11:46:25 localhost.localdomain systemd[1]: Failed to start LSB: Jenkins Automation Server. Dec 03 11:46:25 localhost.localdomain systemd[1]: Unit jenkins.service entered failed state. Dec 03 11:46:25 localhost.localdomain systemd[1]: jenkins.service failed. Two important messages Error code 127 daemonize command not found
Solution:
yum -y install daemonize
Read More:
- [Solved] “Failed to run kubelet“ err=“failed to run Kubelet: misconfiguration: kubelet cgroup driver: \“cgrou
- How to Solve Rabbitmq Error: Failed to start RabbitMQ broker
- Node Kubelet Error: node “xxxxx“ not found [How to Solve]
- [Solved] k8s kubeadmin init Error: http://localhost:10248/healthz‘ failed
- How to Solve kubelet starts error (k8s Cluster Restarted)
- [Solved] K8s Initialize Error: failed with error: Get “http://localhost:10248/healthz“
- [Solved] Postgres Start Error: Job for postgresql.service failed because the control process exited with error code.
- [Solved] Job for docker.service failed because the control process exited with error
- [Solved] Docker Startup Error: panic: runtime error: invalid memory address or nil pointer dereference
- Rabbitmq failed to stop normally: ERROR: node with name “rabbit” already running on “localhost”
- MySQL error: starting MySQL… The server quit without updating PID file
- jenkenis ERROR: Error fetching remote repo ‘origin‘ [How to Solve]
- [Solved] net core HTTP Error 500.31 – Failed to load ASP.NET Core runtime HTTP Error 500.30 – ASP.NET Core
- [Solved] Job for mysqld.service failed because the control process exited with error code.
- [Solved] pod Error: back off restarting failed container
- [kubernetes] the pod instance of calico node always reports an error and restarts
- [Solved] Jenkins-ERROR: Error cloning remote repo ‘origin‘
- [Solved] Rsync synchronization Error: @ERROR: Unknown module xxx
- Docker Build Error: Failed to get D-Bus connection: Operation not permitted [Solved]
- Error getting authority: Error initializing authority: Could not connect: No such file or directory