[katello-devel] Katello 0.1.54-1 fixing the startup issue

Jeff Weiss jweiss at redhat.com
Wed Jul 27 16:11:48 UTC 2011


On Wed, 2011-07-27 at 16:30 +0200, Lukas Zapletal wrote:
> Hello,
> 
> I just pushed the workaround I 've described few hours ago.
> 
> b4ff7b2 spec - logging level can be now specified in the sysconfig
> 42402a0 bug 726030 - Webrick wont start with the -d (daemon) option
> f7f30fb spec - service start forces you to run initdb first
> 089b94b adding a warning message in the sysconfig comment setting
> 
> 1) We now start katello using "nohup" command in a bash background job. 
> Start/status/stop should work, please test.

Not sure if you are aware of this, but bash has a builtin called
"disown" which I think works better than nohup.  In a script you can do 

myprog &
disown %%

(the %% i think means the last job that was started)

That will prevent myprog from being killed when the script exits. 


> 2) If you try to katello start before running katello initdb it will 
> scream on you and refuse to start.
> 
> 3) There is new config option in the /etc/sysconfig/katello file now:
> 
> # rails logging level (debug, info, warn, error, and fatal)
> #KATELLO_LOGGING=info
> 
> I highly recommend to set it to "debug" everytime.
> 
> Please test and report me issues.
> 





More information about the katello-devel mailing list