[systemd-devel] Jenkins Error while start service
Brij Bihari Pandey
nalinbit at gmail.com
Sat Nov 25 02:20:07 UTC 2023
Hi ,
As instructed, I have subscribed to your mailing list. Please help resolve
below issue
I followed below commands from this link
https://www.jenkins.io/doc/book/installing/linux/#red-hat-centos
I was able to install jenkins, but unable to start jenkins service. Pls
find the attached error message, while starting jenkins service. OS info in
log attached
commands to install jenkins
----------------------------
sudo yum install epel-release -y
Before installing Jenkins make sure to install prerequisites like java.
sudo yum install java-11-openjdk -y
sudo wget -O /etc/yum.repos.d/jenkins.repo
https://pkg.jenkins.io/redhat-stable/jenkins.repo --no-check-certificate
sudo rpm --import http://pkg.jenkins.io/redhat-stable/jenkins.io-2023.key
sudo yum install jenkins -y
Regards,
Brij Bihari
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/systemd-devel/attachments/20231125/bebd5c6b/attachment.htm>
-------------- next part --------------
[osboxes at osboxes ~]$ cat /etc/os-release
NAME="CentOS Linux"
VERSION="7 (Core)"
ID="centos"
ID_LIKE="rhel fedora"
VERSION_ID="7"
PRETTY_NAME="CentOS Linux 7 (Core)"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:centos:centos:7"
HOME_URL="https://www.centos.org/"
BUG_REPORT_URL="https://bugs.centos.org/"
CENTOS_MANTISBT_PROJECT="CentOS-7"
CENTOS_MANTISBT_PROJECT_VERSION="7"
REDHAT_SUPPORT_PRODUCT="centos"
REDHAT_SUPPORT_PRODUCT_VERSION="7"
[osboxes at osboxes ~]$ java --version
openjdk 21 2023-09-19
OpenJDK Runtime Environment (build 21+35-2513)
OpenJDK 64-Bit Server VM (build 21+35-2513, mixed mode, sharing)
[osboxes at osboxes ~]$ which java
~/apps/jdk-21/bin/java
[osboxes at osboxes ~]$
[osboxes at osboxes ~]$ sudo systemctl status jenkins
[sudo] password for osboxes:
● jenkins.service - Jenkins Continuous Integration Server
Loaded: loaded (/usr/lib/systemd/system/jenkins.service; disabled; vendor preset: disabled)
Active: inactive (dead)
[osboxes at osboxes ~]$ sudo systemctl start jenkins
Job for jenkins.service failed because the control process exited with error code. See "systemctl status jenkins.service" and "journalctl -xe" for details.
[osboxes at osboxes ~]$ 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 Fri 2023-11-24 11:59:07 EST; 15s ago
Process: 3363 ExecStart=/usr/bin/jenkins (code=exited, status=1/FAILURE)
Main PID: 3363 (code=exited, status=1/FAILURE)
Nov 24 11:59:06 osboxes systemd[1]: Unit jenkins.service entered failed state.
Nov 24 11:59:06 osboxes systemd[1]: jenkins.service failed.
Nov 24 11:59:07 osboxes systemd[1]: jenkins.service holdoff time over, scheduling...rt.
Nov 24 11:59:07 osboxes systemd[1]: Stopped Jenkins Continuous Integration Server.
Nov 24 11:59:07 osboxes systemd[1]: start request repeated too quickly for jenkin...ice
Nov 24 11:59:07 osboxes systemd[1]: Failed to start Jenkins Continuous Integratio...er.
Nov 24 11:59:07 osboxes systemd[1]: Unit jenkins.service entered failed state.
Nov 24 11:59:07 osboxes systemd[1]: jenkins.service failed.
Hint: Some lines were ellipsized, use -l to show in full.
[osboxes at osboxes ~]$
[osboxes at osboxes ~]$ journalctl -xe
--
-- The result is failed.
Nov 24 11:59:06 osboxes systemd[1]: Unit jenkins.service entered failed state.
Nov 24 11:59:06 osboxes systemd[1]: jenkins.service failed.
Nov 24 11:59:07 osboxes systemd[1]: jenkins.service holdoff time over, scheduling resta
Nov 24 11:59:07 osboxes systemd[1]: Stopped Jenkins Continuous Integration Server.
-- Subject: Unit jenkins.service has finished shutting down
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit jenkins.service has finished shutting down.
Nov 24 11:59:07 osboxes systemd[1]: start request repeated too quickly for jenkins.serv
Nov 24 11:59:07 osboxes systemd[1]: Failed to start Jenkins Continuous Integration Serv
-- Subject: Unit jenkins.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit jenkins.service has failed.
--
-- The result is failed.
Nov 24 11:59:07 osboxes systemd[1]: Unit jenkins.service entered failed state.
Nov 24 11:59:07 osboxes systemd[1]: jenkins.service failed.
Nov 24 11:59:15 osboxes PackageKit[2090]: get-updates transaction /373_ceccebeb from ui
Nov 24 11:59:17 osboxes gnome-software[3016]: shell-extensions did not set error for gs
[osboxes at osboxes ~]$
More information about the systemd-devel
mailing list