On Mon, 2005-09-05 at 17:30, Alice Fage wrote:
> Hi,
>
> While investigating why lcg-archiver, rgma-gin and rgma-publish-site weren't starting up after a reboot on the UCL-CCC MON box, we may have found a few funnies in the startup scripts.
>
> Basically, the scripts do different things depending on whether they are invoked by init as a startup or shutdown script, or via service. This appears to be because of the use of `basename $0` in the scripts, which equates to the name under which the script was invoked, which is different depending on how it was invoked. This seems to be causing problems such as, but possibly not limited to:
>
> - Lockfiles not preventing a service being started in different ways (so the service can be started more than once).
>
> - Some configuration files not being found, e.g.:
> Starting S20rgma-gin: log4j:ERROR Could not read configuration file from URL [file:/opt/glite/etc/S20rgma-gin/log4j.properties].
>
> - Some executables not being found, e.g. /opt/lcg/sbin/S95lcg-archiver does not exist (this error is logged in the messages file).
>
> - Multiple log files being created under different names, e.g. rgma-gin.log, S20rgma-gin.log, K80rgma-gin.log.
>
> Is this a known problem? If it is a general issue, is Savannah the best way for me to go with this? Advice much appreciated.
Its a new problem please submit a bug to Savannah and we'll take a look.
Please give as much information on how to reproduce the problem in your
submission.
cheers
Alastair
>
> Cheers,
> Alice
>
|