Ubuntu 19.04 Jenkins не полностью установлена - PullRequest
0 голосов
/ 30 октября 2019

Я пытаюсь установить Jenkins 2.190.2 на Ubuntu 19.04, однако он был установлен только частично.

Во-первых, я следовал документации Jenkins и добавил ключ к моей системе, используя wget -q -O - https://pkg.jenkins.io/debian-stable/jenkins.io.key | sudo apt-key add -;

Во-вторых, я добавил deb https://pkg.jenkins.io/debian-stable binary/ в мой файл etc / apt / sources.list;

Наконец, я запустил команду установки, но, похоже, она частично не выполнена. Вот мой журнал.

gigi@asus:~$ sudo apt-get install jenkins
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following NEW packages will be installed
  jenkins
0 to upgrade, 1 to newly install, 0 to remove and 0 not to upgrade.
Need to get 0 B/77.5 MB of archives.
After this operation, 78.3 MB of additional disk space will be used.
Selecting previously unselected package jenkins.
(Reading database ... 185468 files and directories currently installed.)
Preparing to unpack .../jenkins_2.190.2_all.deb ...
Unpacking jenkins (2.190.2) ...
Setting up jenkins (2.190.2) ...
Job for jenkins.service failed because the control process exited with error code.
See "systemctl status jenkins.service" and "journalctl -xe" for details.
invoke-rc.d: initscript jenkins, action "start" failed.
● jenkins.service - LSB: Start Jenkins at boot time
   Loaded: loaded (/etc/init.d/jenkins; generated)
   Active: failed (Result: exit-code) since Wed 2019-10-30 16:33:34 GMT; 6ms ago
     Docs: man:systemd-sysv-generator(8)
  Process: 18465 ExecStart=/etc/init.d/jenkins start (code=exited, status=7)

Oct 30 16:33:32 asus systemd[1]: Starting LSB: Start Jenkins at boot time...
Oct 30 16:33:32 asus jenkins[18465]: Correct java version found
Oct 30 16:33:32 asus jenkins[18465]:  * Starting Jenkins Automation Server jenkins
Oct 30 16:33:32 asus su[18523]: (to jenkins) root on none
Oct 30 16:33:32 asus su[18523]: pam_unix(su-l:session): session opened for user jenkins by (uid=0)
Oct 30 16:33:33 asus su[18523]: pam_unix(su-l:session): session closed for user jenkins
Oct 30 16:33:34 asus jenkins[18465]:    ...fail!
Oct 30 16:33:34 asus systemd[1]: jenkins.service: Control process exited, code=exited, status=7/NOTRUNNING
Oct 30 16:33:34 asus systemd[1]: jenkins.service: Failed with result 'exit-code'.
Oct 30 16:33:34 asus systemd[1]: Failed to start LSB: Start Jenkins at boot time.
dpkg: error processing package jenkins (--configure):
 installed jenkins package post-installation script subprocess returned error exit status 1
Processing triggers for systemd (240-6ubuntu5.7) ...
Errors were encountered while processing:
 jenkins
E: Sub-process /usr/bin/dpkg returned an error code (1)
Добро пожаловать на сайт PullRequest, где вы можете задавать вопросы и получать ответы от других членов сообщества.
...