Hi,
I have also now run into this. The problem is that the latest script
sources a file which defines an alias log_success_msg. Aliases are not
respected on non-interactive shells. If you type
sh -i /etc/init.d/tomcat5 restart
it will get it right. When the machine boots it also gets it right.
Any YAIM module restarting tomcat needs to bear this in mind.
Steve
2008/12/11 Asterios Katsifodimos <[log in to unmask]>:
> Hello Masimo,
> I also have the same problem.
> I did not investigate why this happens, I just commented out all
> the log_*_mssage commands...
> regards,
> On Thu, Dec 11, 2008 at 11:10 AM, Massimo Sgaravatto - INFN Padova
> <[log in to unmask]> wrote:
>>
>> After a yum update on a CREAMCE node, also tomcat got update
>> (5.27-3.jpp5 -> 5.5.27-6.jpp5)
>>
>> And with this new tomcat I am seeing, when tomcat is restarted:
>>
>> # service tomcat5 restart
>> Stopping tomcat5:
>> /etc/init.d/tomcat5: line 256: log_success_msg: command not found
>>
>> Starting tomcat5: /etc/init.d/tomcat5: line 196: log_success_msg: command
>> not found
>>
>> These messages seem harmless, but I guess this is not supposed to happen
>>
>> Am I doing something wrong, or is there indeed a small bug in this new
>> tomcat ?
>>
>>
>> Cheers, Massimo
>>
>>
>> --
>> \\\|///
>> \\ ~ ~ //
>> (/ @ @ /)
>> -------oOOo-(_)-oOOo----------------------------------
>> Massimo Sgaravatto
>> INFN Sezione di Padova
>> Via Marzolo, 8
>> 35131 Padova - Italy
>> Tel: ++39 0498277047 Fax: ++39 0498277102
>> oooO E-mail: massimo.sgaravatto [at] pd.infn.it
>> ( ) Oooo Home page: http://www.pd.infn.it/~sgaravat
>> --------\ (----( )----------------------------------
>> \_) ) /
>> (_/
>
>
>
> --
> Asterios Katsifodimos
> High Performance Computing systems Lab
> Department of Computer Science, University of Cyprus
> http://grid.ucy.ac.cy
>
|