-1

I am trying to install Jenkins on Amazon Linux instance and getting the error:

Job for jenkins.service failed because the control process exited with error code. See “systemctl status jenkins.service” and “journalctl -xeu jenkins.service” for details. Created symlink /etc/systemd/system/multi-user.target.wants/jenkins.service → /usr/lib/systemd/system/jenkins.service. ● jenkins.service - Jenkins Continuous Integration Server Loaded: loaded (/usr/lib/systemd/system/jenkins.service; enabled; preset: disabled) Active: activating (start) since Wed 2024-04-17 07:50:35 UTC; 4ms ago Main PID: 27761 (jenkins) Tasks: 2 (limit: 1114) Memory: 532.0K CPU: 3ms CGroup: /system.slice/jenkins.service ├─27761 /bin/sh /usr/bin/jenkins └─27768 “[jenkins]”

Apr 17 07:50:35 ip-172-31-15-220.us-west-1.compute.internal systemd[1]: Starting jenkins.service - Jenkins Continuous Integration Server…

The Linux script I am using is:

cd /opt/ sudo yum update –y sudo wget -O /etc/yum.repos.d/jenkins.repo http://pkg.jenkins.io/redhat/jenkins.repo sudo rpm --import https://pkg.jenkins.io/redhat/jenkins.io-2023.key sudo yum install jenkins -y systemctl daemon-reload sudo systemctl start jenkins sudo systemctl enable jenkins systemctl status jenkins Any help on this in resolving this for me to move ahead and progress in Devops learning

I am trying to install Jenkins to progress installing Kubernetes as the port: 8080 seems to be de-active.

I am trying to install Jenkins on Amazon Linux instance and getting the error:

Job for jenkins.service failed because the control process exited with error code. See “systemctl status jenkins.service” and “journalctl -xeu jenkins.service” for details. Created symlink /etc/systemd/system/multi-user.target.wants/jenkins.service → /usr/lib/systemd/system/jenkins.service. ● jenkins.service - Jenkins Continuous Integration Server Loaded: loaded (/usr/lib/systemd/system/jenkins.service; enabled; preset: disabled) Active: activating (start) since Wed 2024-04-17 07:50:35 UTC; 4ms ago Main PID: 27761 (jenkins) Tasks: 2 (limit: 1114) Memory: 532.0K CPU: 3ms CGroup: /system.slice/jenkins.service ├─27761 /bin/sh /usr/bin/jenkins └─27768 “[jenkins]”

Apr 17 07:50:35 ip-172-31-15-220.us-west-1.compute.internal systemd[1]: Starting jenkins.service - Jenkins Continuous Integration Server… The Linux script I am using is:

cd /opt/ sudo yum update –y sudo wget -O /etc/yum.repos.d/jenkins.repo http://pkg.jenkins.io/redhat/jenkins.repo sudo rpm --import https://pkg.jenkins.io/redhat/jenkins.io-2023.key sudo yum install jenkins -y systemctl daemon-reload sudo systemctl start jenkins sudo systemctl enable jenkins systemctl status jenkins Any help on this in resolving this for me to move ahead and progress in Devops learning

I am trying to install Jenkins to progress installing Kubernetes as the port: 8080 seems to be de-active.

0

Browse other questions tagged or ask your own question.