On Thu, 14 Apr 2005, Brew, CAJ (Chris) wrote: > Hmmm, this looks like a better solution than mine. I've just followed that recipe, and I have at least the basic servlets working. Except (re. Emanouil's question) I used /sbin/chkconfig edg-tomcat4 on as I think we should be using that rather than plain tomcat4 - see the "Tomcat4 error messages" thread in March. Our site even shows up occasionally as a service - worryingly the registry browser seems to be flipping between 420 services found and ... just 7 ATM. > What's the command line for your tomcat4? i.e ps -ef | grep tomcat [root@dgc-grid-42 root]# /etc/init.d/tomcat4 start Starting tomcat4: [ OK ] [root@dgc-grid-42 root]# ps -ef | grep tomcat tomcat4 4401 1 71 20:16 pts/0 00:00:02 /usr/java/j2sdk1.4.2_07/bin/java -Xmx256M -Djava.endorsed.dirs= -classpath /usr/java/j2sdk1.4.2_07/lib/tools.jar: /var/tomcat4/bin/bootstrap.jar -Dcatalina.base=/var/tomcat4 -Dcatalina.home=/var/ tomcat4 -Djava.io.tmpdir=/var/tomcat4/temp org.apache.catalina.startup.Bootstr ... [root@dgc-grid-42 root]# /etc/init.d/edg-tomcat4 start Starting tomcat4: [ OK ] [root@dgc-grid-42 root]# ps -ef | grep tomcat tomcat4 4709 1 86 20:16 pts/0 00:00:02 /usr/java/j2sdk1.4.2_07/bin/java -Xmx256M -Djava.endorsed.dirs= -classpath /usr/java/j2sdk1.4.2_07/lib/tools.jar: /var/tomcat4/bin/bootstrap.jar -Dcatalina.base=/var/tomcat4 -Dcatalina.home=/var/ tomcat4 -Djava.io.tmpdir=/var/tomcat4/temp org.apache.catalina.startup.Bootstr Oh well, maybe it doesn't matter. I still have Starting edg-rgma-servicetool: stty: standard input: Inappropriate ioctl for device [ OK ] and I don't think Gin is working, but that may be because our SE info providers are caput (another long story :( ) Thanks Henry > > -----Original Message----- > > From: LHC Computer Grid - Rollout > > [mailto:[log in to unmask]] On Behalf Of Kyriakos G. Ginis > > Sent: 14 April 2005 19:47 > > To: [log in to unmask] > > Subject: Re: [LCG-ROLLOUT] R-GMA and LCG-2.4.0 > > > > 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/LC > > G-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 -- Dr. Henry Nebrensky [log in to unmask] http://people.brunel.ac.uk/~eesrjjn "The opossum is a very sophisticated animal. It doesn't even get up until 5 or 6 p.m."