Hey galera, se alguém tomou o erro abaixo na instalação do Jenkins, a solução é apenas repetir o comando "sudo ./jenkins.sh".
Created symlink /etc/systemd/system/multi-user.target.wants/jenkins.service → /lib/systemd/system/jenkins.service.Job for jenkins.service failed because a timeout was exceeded.See "systemctl status jenkins.service" and "journalctl -xe" for details.invoke-rc.d: initscript jenkins, action "start" failed.● jenkins.service - Jenkins Continuous Integration Server Loaded: loaded (/lib/systemd/system/jenkins.service; enabled; vendor preset: enabled) Active: activating (auto-restart) (Result: timeout) since Thu 2022-06-16 00:57:24 UTC; 40ms ago Process: 17937 ExecStart=/usr/bin/jenkins (code=exited, status=143) Main PID: 17937 (code=exited, status=143) Status: "Jenkins stopped"dpkg: error processing package jenkins (--configure): installed jenkins package post-installation script subprocess returned error exit status 1Processing triggers for systemd (237-3ubuntu10.53) ...Processing triggers for ureadahead (0.100.0-21) ...Errors were encountered while processing: jenkinsE: Sub-process /usr/bin/dpkg returned an error code (1)
Abraço!
Alan R S