Status: Resolved (View Workflow)
Red Hat Enterprise Linux ES release 4 (Nahant Update 7)
There are two problems with the RPM package for RHEL4:
1. The daemon binary expects a nicelevel to be given:
I had to add this to /etc/init.d/hudson:
daemon $NICELEVEL --user "$HUDSON_USER" --pidfile "$HUDSON_PID_FILE" $JAVA_CMD $PARAMS
2. Seems to use execvp:
Starting Hudson execvp: No such file or directory
david: To clarify, you had to remove the --pidfile option? What happened to the $NICELEVEL from the original report?
Is this still an issue in recent versions of Jenkins installed from scratch? Do you still have this system to provide feedback?
I got it working by changing the init.d script, so that it looks like:
daemon --user "$HUDSON_USER" $JAVA_CMD $PARAMS
RHEL doesn't use the deaemon package like in debian, it uses a custom script in . /etc/init.d/functions
which doesn't seem compatible for RHEL. Thus there should be packages specific for this distro.
No response to comment asking for additional information in several months, so resolving as incomplete.