DEV Community

Discussion on: Jenkins Installation & Configuration on AWS EC2 Linux instance

Collapse
 
chirantansaha profile image
CHIRANTAN SAHA

The above steps are not working. At the end of the installation, I am unable to start the jenkins service on the EC2 (amazon linux) server. See the errors below:

If anyone already faced and resolved the issue, then pls share. Thanks in advance.

[ec2-user@ip-xxx-yy-zz-xyx ~]$ sudo service jenkins start
Starting jenkins (via systemctl): Job for jenkins.service failed because the control process exited with error code. See "systemctl status jenkins.service" and "journalctl -xe" for details.
** [FAILED]**
[ec2-user@ip-xxx-yy-zz-xyx ~]$ systemctl status jenkins.service
● jenkins.service - Jenkins Continuous Integration Server
Loaded: loaded (/usr/lib/systemd/system/jenkins.service; disabled; vendor preset: disabled)
Active: failed (Result: start-limit) since Sun 2022-09-25 15:06:44 UTC; 7min ago
Process: 4755 ExecStart=/usr/bin/jenkins (code=exited, status=1/FAILURE)
Main PID: 4755 (code=exited, status=1/FAILURE)

Sep 25 15:06:44 ip-xxx-yy-zz-xyx.ec2.internal systemd[1]: jenkins.service: main process exited, code=exited, status=1/FAILURE
Sep 25 15:06:44 ip-xxx-yy-zz-xyx.ec2.internal systemd[1]: Failed to start Jenkins Continuous Integration Server.
Sep 25 15:06:44 ip-xxx-yy-zz-xyx.ec2.internal systemd[1]: Unit jenkins.service entered failed state.
Sep 25 15:06:44 ip-xxx-yy-zz-xyx.ec2.internal systemd[1]: jenkins.service failed.
Sep 25 15:06:44 ip-xxx-yy-zz-xyx.ec2.internal systemd[1]: jenkins.service holdoff time over, scheduling restart.
Sep 25 15:06:44 ip-xxx-yy-zz-xyx.ec2.internal systemd[1]: Stopped Jenkins Continuous Integration Server.
Sep 25 15:06:44 ip-xxx-yy-zz-xyx.ec2.internal systemd[1]: start request repeated too quickly for jenkins.service
Sep 25 15:06:44 ip-xxx-yy-zz-xyx.ec2.internal systemd[1]: Failed to start Jenkins Continuous Integration Server.
Sep 25 15:06:44 ip-xxx-yy-zz-xyx.ec2.internal systemd[1]: Unit jenkins.service entered failed state.
Sep 25 15:06:44 ip-xxx-yy-zz-xyx.ec2.internal systemd[1]: jenkins.service failed.
[ec2-user@ip-xxx-yy-zz-xyx ~]$

Thanks
C Saha

Collapse
 
sam4aws profile image
Sandipkumar Patel AWS Community Builders