Jenkins service restart issue

Issue:

If Jenkins fails to restart with error “System error 1067 has occurred.

Solution:

  • Download latest Jenkins war from https://jenkins-ci.org/
  • Keep it program files folder (e.g. C:\Program Files (x86)\Jenkins)
  • Start Jenkins (java -jar jenkins.war)
  • Check console, olf jobs would not be there.
  • Now stop this Jenkins instace (Cntrl +C)
  • Now start old instance through service, it should start normally and old jobs should appear at console.