Impara con i progetti
OK Thanks.... it worked....
Looks like you are getting error as below - The unit jenkins.service has entered the 'failed' state with result 'protocol'.
Check Jenkins Version-
[root@ip-172-31-91-250 jenkins]# jenkins --version
Sep 12, 2022 2:51:41 AM executable.Main verifyJavaVersion
SEVERE: Running with Java class version 52, which is older than the Minimum required version 55. See https://jenkins.io/redirect/java-support/
java.lang.UnsupportedClassVersionError: 52.0
at executable.Main.verifyJavaVersion(Main.java:145)
at executable.Main.main(Main.java:109)
Jenkins requires Java versions [17, 11] but you are running with Java 1.8 from /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.342.b07-2.el8_6.x86_64/jre
[root@ip-172-31-91-250 jenkins]#
Solution- Jenkins New version cannot be installed with java 8 ( As per certification Matrix - https://www.jenkins.io/doc/book/installing/linux/). Install Java 11 to Install Jenkins
New version cannot be installed with java 8 ( As per certification Matrix - https://www.jenkins.io/doc/book/installing/linux/). Install Java 11 to Install Jenkins
jenkins.io
OK Thanks.... it worked....
Looks like you are getting error as below - The unit jenkins.service has entered the 'failed' state with result 'protocol'.
Check Jenkins Version-
[root@ip-172-31-91-250 jenkins]# jenkins --version
Sep 12, 2022 2:51:41 AM executable.Main verifyJavaVersion
SEVERE: Running with Java class version 52, which is older than the Minimum required version 55. See https://jenkins.io/redirect/java-support/
java.lang.UnsupportedClassVersionError: 52.0
at executable.Main.verifyJavaVersion(Main.java:145)
at executable.Main.main(Main.java:109)
Jenkins requires Java versions [17, 11] but you are running with Java 1.8 from /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.342.b07-2.el8_6.x86_64/jre
java.lang.UnsupportedClassVersionError: 52.0
at executable.Main.verifyJavaVersion(Main.java:145)
at executable.Main.main(Main.java:109)
[root@ip-172-31-91-250 jenkins]#
Solution- Jenkins New version cannot be installed with java 8 ( As per certification Matrix - https://www.jenkins.io/doc/book/installing/linux/). Install Java 11 to Install Jenkins
New version cannot be installed with java 8 ( As per certification Matrix - https://www.jenkins.io/doc/book/installing/linux/). Install Java 11 to Install Jenkins
jenkins.io