On Sat, 20 Aug 2005, Jiri Kosina wrote:
> On Sat, 20 Aug 2005, Jiri Kosina wrote:
>
> > Is there amything else besides the /opt/lcg/libexec/lcg-info-wrapper
> > accessing that cached file? I have no idea what is truncating it.
>
> Maarten, thanks a lot, your hints directed me in the direction to the
> solution. The every-minute truncation was caused by the BDII query from
> outside world (probably top-level BDII). The edginfo process updating the
> cache didn't have proper envinonment, thus truncating the file. After
> setting the proper environment variable in the wrapper itself, everything
> runs smoothly.
What environment variable was missing? Note: the slapd is not started
via a login shell, so it misses all the stuff in /etc/profile.d.
> I will now try to find out why the proper environment is not set up (in
> fact this installation is from-scrath installation of SLC with immediate
> from-scratch LCG installation on top of it, so it should be pretty
> default).
>
> Thanks again and good night :)
Sleep tight. :-)
|