I am having a git repository which is restricted to my team and i want to set up jenkins in my system. Since jenkins runs as jenkins user, I am working on running jenkins as me. I followed the steps from http://blog.manula.org/2013/03/running-jenkins-under-different-user-in.html but after this when i start jenkins I am getting Service unavailable error 503. Its because i changed user in /etc/default/jenkins to my id from jenkins. When i change it back to jenkins it works. There is no log in /var/log/jenkins/..Has anyone faced this issue before?.
The HyperText Transfer Protocol (HTTP) 503 Service Unavailable server error response code indicates that the server is not ready to handle the request. Common causes are a server that is down for maintenance or that is overloaded.
What does HTTP error 503 mean? Essentially, the 503 error is your first warning that something is preventing the browser from accessing the website server. This is where said server is unable to deal with the information requested, though the exact cause won't be made clear at the time.
In most cases, Chrome Error 503 file problems are due to the Google Chrome-related file missing or being corrupted by malware or virus. The primary way to resolve these problems manually is to replace the Google Inc. file with a fresh copy.
I find out the directory owner of /var/cache/jenkins
and /var/lib/jenkins
somehow be changed back to jenkins, just redo
sudo chown YOUR_USER_NAME /var/lib/jenkins
sudo chown YOUR_USER_NAME /var/cache/jenkins
Restart jenkins, it should work.
Also check /var/log/jenkins if the same problem shows there.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With