当我尝试在 Ubuntu 12.04.3 LTS 上启动 jenkins 时出现错误
$ sudo start jenkins
start: Job failed to start
答案1
显然安装的服务已损坏。但是,正如我上面的评论所述,当您使用 启动服务器时,它可以正常工作sudo /etc/init.d/jenkins start
。
答案2
以下对我有用:
sudo rm /etc/init/jenkins.conf
sudo update-rc.d jenkins defaults
sudo service jenkins start
然后....
root@core:/# service jenkins start
* Starting Jenkins Continuous Integration Server jenkins [ OK ]
借自:https://groups.google.com/forum/#!msg/jenkinsci-users/eW_yEWLojFc/tFhb8DKoRHUJ