Jenkins service unavailable error – 503 – running as different user

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 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?.

  • Why does git:// works but git@ does not
  • Xcode 4 git integration
  • Get latest stable version git
  • Name of branch in pull request on GitHub
  • Wrote something to git log accidently
  • “no such table” error on Heroku after django syncdb passed
  • Don't move project outside workspace while creating a EGit repo in Eclipse
  • How can I rename a git stash?
  • File disappears/reappears in git
  • Thin web server: `start_tcp_server': no acceptor (RuntimeError) after git branch checkout
  • Remote Symfony2 + Netbeans workflow (feat. git)
  • What does the “.git” mean in a git URL?
  • One Solution collect form web for “Jenkins service unavailable error – 503 – running as different user”

    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.

    Git Baby is a git and github fan, let's start git clone.