Kenny Condezo resolved Bug JENKINS-17151 as Fixed

Probabily when you restart the service jenkins does not remove his files in the /proc directory. Execute this line before start jenkins:
find /proc -maxdepth 2 -user jenkins -name exe -lname '*/bin/java'
If you have a result (as in my case) it means that there are an older /proc/XXXX dir and jenkins create another one. This is the reason why this proces fails ( in runtime there are to dirs and it causes the error)
Resolution
Option 1: Try to remove the dir that appear when you execute "find /proc -maxdepth 2 -user jenkins -name exe -lname '*/bin/java'" command (I could not for permission reasons
Option 2: Modify the file /etc/init.d/jenkis, find the line that has this code:
JPROC=$( find /proc -maxdepth 2 -user $JENKINS_USER -name exe -lname "*/bin/java" )
and replace it for this one:
JPROC=$( find /proc -maxdepth 2 -user $JENKINS_USER -name exe -lname "*/bin/java" | tail -1 )
The second option works for me. I should tell to jenkins folks this bug.

Change By: Kenny Condezo (20/Mar/14 7:09 PM)
Status: Open Resolved
Resolution: Fixed
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to