Print

Print


On Thu, Apr 14, 2005 at 07:03:01PM +0100, Henry Nebrensky wrote:
> On Thu, 14 Apr 2005, Lydia Heck wrote:
>
> > We have the same issue, but in our case the check fails on the servlets.
> >
> > Our config file has worked on all the other modules.
> >
> > Support would be greatly appreciated!
> >
> > Lydia
>
> Certainly using today's YAIM (2.4.0-3), tomcat is NOT set up to start
> automatically, e.g. after a reboot. Is it actually running?
>
>         /opt/edg/etc/init.d/edg-tomcat4 start

I noticed that as well.

In /opt/lcg/yaim/functions/config_rgma_server there are these 2 lines

/etc/rc.d/init.d/tomcat4 restart
/sbin/chkconfig --add tomcat4

but there is no

/sbin/chkconfig tomcat4 on

.....

> solved that problem for me - leaving me with the same ones as Kyriakos :(
> Details to follow...

It seems that we solved our problem, which was probably rpm related...

We had upgraded to LCG-2.4.0 from 2.3.1 by using apt-get update and
apt-get dist-upgrade.

Following Emanouil Atanassov's advice I uninstalled (with
rpm -e) lcg-MON, edg-java-security-tomcat4, and tomcat4 itself.
Afterwards I ran

/opt/lcg/yaim/scripts/install_node /opt/lcg/yaim/site-info.def lcg-MON

which obviously reinstalled the above RPMs, and then

/opt/lcg/yaim/scripts/configure_node /opt/lcg/yaim/site-info.def MON

and everything worked out of the box.

For some reason, before the re-installation
/var/tomcat4/common/endorsed/ was empty, but now:

[root@mon root]# ls -l /var/tomcat4/common/endorsed/
total 916
-rw-r--r--    1 root     root       816488 Jan  8  2003 jaxp_parser_impl.jar
-rw-r--r--    1 root     root       108268 Jan  8  2003 xml-commons-apis.jar


One other problem is that in the LCG-2.4.0 repository there is the
3.4.42-1 version of APEL
(http://grid-deployment.web.cern.ch/grid-deployment/gis/apt/LCG-2_4_0/sl3/en/i386/RPMS.lcg_sl3/edg-rgma-apel-3.4.42-1.noarch.rpm)

This version *cannot* work with LCG-2.4.0, as you can see if you try to
run

/opt/edg/sbin/edg-rgma-apel -f /opt/edg/etc/edg-rgma/apel.xml

by hand on your MON or CE box. This is also mentioned in

http://goc.grid-support.ac.uk/gridsite/accounting/

April-14-2005:
Known Problems: The version of Apel in the latest LCG2_4_0 release has a
start-up script problem.
We recommend that you use the following :-
For LCG2_3_* use RPM-3.4.42
For LCG2_4_* use RPM-3.4.43

Cheers.

--
Kyriakos Ginis, PhD Candidate
Software Engineering Laboratory
National Technical University of Athens