Filipe Ferminiano
Filipe Ferminiano

Reputation: 8801

Unable to start jenkins on Ubuntu

I'm trying to start jenkins with the command:

ubuntu@ip-172-31-19-47:/etc/init.d$ sudo /etc/init.d/jenkins start
 * Starting Jenkins Continuous Integration Server jenkins

But when I try to check where it's running with:

$ sudo lsof -i -P | grep -i jenkins

I get nothing

How can I start jenkins?

Upvotes: 0

Views: 483

Answers (1)

lvthillo
lvthillo

Reputation: 30801

The recommended way to start Jenkins on Ubuntu (16.04 and 18.04) is using:

sudo systemctl start jenkins

To verify if the service is running you can use

sudo systemctl status jenkins

Upvotes: 3

Related Questions