Hey, folks,
I followed these steps to install Jenkins on Ubuntu but the installation did not finish successfully.
Here is the “error” I’m seeing. Can anyone assist?
Could not execute systemctl: at /usr/bin/deb-systemd-invoke line 148.
Hey, folks,
I followed these steps to install Jenkins on Ubuntu but the installation did not finish successfully.
Here is the “error” I’m seeing. Can anyone assist?
Could not execute systemctl: at /usr/bin/deb-systemd-invoke line 148.
You should use
journalctl -u jenkins
to see the actual output of the service. It will most likely tell you what the problem is.
Thank you!
Here’s the output of this command:
I wasn’t able to paste it here. More than 32000 chars.
I think I managed to resolve it. I have apache installed and it’s using the same port 8080.
I searched in Google and found this command:
It works now.
Thank you.
The problem is still here.
I changed the default port in the /etc/default/jenkins file to 8090 and restarted my machine however Jenkins is still looking for 8080.
How to resolve this?
UPDATE: found a solution. I modified the port in this file /usr/lib/systemd/system/jenkins.service and it worked.