Jenkins is not Restarted
Hi Folks I'm trying to restart my jenkins server on linux machine but I'm getting this error: *May 28, 2014 1:03:42 PM jenkins.model.Jenkins$23 run* *SEVERE: Restarting VM as requested by anonymous* *May 28, 2014 1:03:43 PM jenkins.model.Jenkins$23 run* *WARNING: Failed to restart Hudson* *java.io.IOException: Failed to exec 'java' No such file or directory* *at hudson.lifecycle.UnixLifecycle.restart(UnixLifecycle.java:84)* *at jenkins.model.Jenkins$23.run(Jenkins.java:3297)* could any one help out in this Thanks in advance. -- You received this message because you are subscribed to the Google Groups Jenkins Users group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: Jenkins is not Restarted
I think I've seen something like that when I updated the java version while Jenkins was running. Another possibility is that the java program is no longer in the path for the script you're using to start Jenkins. On Wed, May 28, 2014 at 11:23 AM, srinath0...@gmail.com wrote: Hi Folks I'm trying to restart my jenkins server on linux machine but I'm getting this error: *May 28, 2014 1:03:42 PM jenkins.model.Jenkins$23 run* *SEVERE: Restarting VM as requested by anonymous* *May 28, 2014 1:03:43 PM jenkins.model.Jenkins$23 run* *WARNING: Failed to restart Hudson* *java.io.IOException: Failed to exec 'java' No such file or directory* *at hudson.lifecycle.UnixLifecycle.restart(UnixLifecycle.java:84)* *at jenkins.model.Jenkins$23.run(Jenkins.java:3297)* could any one help out in this Thanks in advance. -- You received this message because you are subscribed to the Google Groups Jenkins Users group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout. -- Thanks! Mark Waite -- You received this message because you are subscribed to the Google Groups Jenkins Users group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: Jenkins is not Restarted
I'm using java version 1.7.0_45 my script is *export JENKINS_HOME=/home/build/jenkins* *export JENKINS_USER=build* *export JAVA_HOME=/tools/java/java170_45* *export CLASSPATH=$JAVA_HOME/lib/tools.jar:./* *export ANT_HOME=/tools/ant/apache-ant-1.8.3* *export PATH=$JAVA_HOME/bin:$ANT_HOME/bin:$PATH* *export JENKINS_PORT=8080* *export JENKINS_AJP_PORT=8009* *export JENKINS_DEBUG_LEVEL=5* *export JENKINS_ENABLE_ACCESS_LOG=yes* *export JENKINS_HANDLER_MAX=10* *export JENKINS_HANDLER_IDLE=20* *java -Djava.awt.headless=true -DJENKINS_HOME=$JENKINS_HOME -jar $JENKINS_HOME/jenkins.war --accessLoggerClassName=winstone.accesslog.SimpleAccessLogger --simpleAccessLogger.format=combined --simpleAccessLogger.file=$JENKINS_HOME/logs/access_log --daemon#!/usr/bin/ksh* Thanks in advance. -- You received this message because you are subscribed to the Google Groups Jenkins Users group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: Jenkins is not Restarted
That's a bug that will be fixed in Jenkins 1.567 or so. https://github.com/jenkinsci/jenkins/pull/1239 On 28.05.2014, at 19:50, srinath0...@gmail.com wrote: I'm using java version 1.7.0_45 my script is export JENKINS_HOME=/home/build/jenkins export JENKINS_USER=build export JAVA_HOME=/tools/java/java170_45 export CLASSPATH=$JAVA_HOME/lib/tools.jar:./ export ANT_HOME=/tools/ant/apache-ant-1.8.3 export PATH=$JAVA_HOME/bin:$ANT_HOME/bin:$PATH export JENKINS_PORT=8080 export JENKINS_AJP_PORT=8009 export JENKINS_DEBUG_LEVEL=5 export JENKINS_ENABLE_ACCESS_LOG=yes export JENKINS_HANDLER_MAX=10 export JENKINS_HANDLER_IDLE=20 java -Djava.awt.headless=true -DJENKINS_HOME=$JENKINS_HOME -jar $JENKINS_HOME/jenkins.war --accessLoggerClassName=winstone.accesslog.SimpleAccessLogger --simpleAccessLogger.format=combined --simpleAccessLogger.file=$JENKINS_HOME/logs/access_log --daemon#!/usr/bin/ksh Thanks in advance. -- You received this message because you are subscribed to the Google Groups Jenkins Users group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups Jenkins Users group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.