Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Hudson » Hudson 3.3.3 Oracle Linux rpm -> Service running, status wrong(In the rpm-file for Oracle Linux the service status is not working)
Hudson 3.3.3 Oracle Linux rpm -> Service running, status wrong [message #1724181] Mon, 22 February 2016 07:36 Go to next message
Denis Schettl is currently offline Denis SchettlFriend
Messages: 23
Registered: December 2013
Location: Schwalbach, Germany
Junior Member
Hi Hudson-Team,

I have found a new problem with the hudson 3.3.3 rpm-package for Oracle Linux:
The service starts without any problem, but the status does not work:
The command
"service hudson status"
returns an
"hudson tot, aber PID-Datei existiert"

This means hudson is dead, but PID-file exist.

BUT the service is running and hudson works like a charm ....

I install the service in a virtual machine (virtualbox), so I normaly restart the hole machine and do not use the "service hudson restart" oder "hudson service status" feature. I am not sure if this is a new or an old problem (I compared the hudson-init.d-file from version 3.2.2 with 3.3.3 and didn't find any changes). I also upgraded oracle linux from 6.5 zo 6.7 and maybe this error result from a change on os-level.

What Oralce Linux version do you use for testings?

Thanks for your help ...
Denis
Re: Hudson 3.3.3 Oracle Linux rpm -> Service running, status wrong [message #1724242 is a reply to message #1724181] Mon, 22 February 2016 13:21 Go to previous message
Denis Schettl is currently offline Denis SchettlFriend
Messages: 23
Registered: December 2013
Location: Schwalbach, Germany
Junior Member
I checked the /etc/init.d/hudson-file and found some code that I don't understand. After changing in the "case"-command the "start"-section the following code, the script works for me:

from
[ "$ppid" = 1 ] || continue
to
if [ "$ppid" = 1 ]; then continue; fi

and

from
echo "$cmd" | grep $HUDSON_WAR > /dev/null
[ $? = 0 ] || continue
to
#echo "$cmd" | grep $HUDSON_WAR > /dev/null
#[ $? = 0 ] || continue

Please check this changes on your testsystems and review the new code.

Thanks for your help.
Denis
Previous Topic:Hudson 3.3.3 - Regessiontest Bug 463047 -> Error still exist => solved
Next Topic:How to add new users via command line with Hudson ?
Goto Forum:
  


Current Time: Tue Oct 15 01:00:30 GMT 2024

Powered by FUDForum. Page generated in 0.02871 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top