Created
October 1, 2022 16:02
-
-
Save zdtsw/ee084c016eea08166c6cfceb5c9ae938 to your computer and use it in GitHub Desktop.
Jenkins start error "protocol"
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| when start jenkins service got error " | |
| 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: protocol) since Sat 2022-10-01 17:47:58 CEST; 1min 50s ago | |
| Process: 8832 ExecStart=/usr/bin/jenkins (code=exited, status=0/SUCCESS) | |
| Main PID: 8832 (code=exited, status=0/SUCCESS) | |
| " | |
| no logs no indication from "jounralctl -xe" | |
| it turned out to be the version of java is too low than the jenkins service requires. | |
| I have a default jdk8 but also have jdk18. I did change the path to switch to jdk18 then I started jenkins service last time. | |
| so, after reboot machine, it falls back to jdk8 | |
| The better solution is just do alternatives contif to jdk18. | |
| Then, everything works |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment