Hi Matthias You are getting this message as the script is trying to stop tomcat when it is not running. Regards Antony > -----Original Message----- > From: LHC Computer Grid - Rollout > [mailto:[log in to unmask]] On Behalf Of Matthias Fuessling > Sent: 24 January 2005 16:28 > To: [log in to unmask] > Subject: Re: [LCG-ROLLOUT] fail to stop edg-tomcat4 deamon > > > Hi *, > > I had the same problem. I used yaim to install a MON Box and > then an SE on the same computer. > > I first configured the MON Box. But when I try to configure > the SE, the script always got stuck in stopping the tomcat. > > Even after applying your patch, the script stops with: > > Stopping tomcat4: Using CATALINA_BASE: /var/tomcat4 > Using CATALINA_HOME: /var/tomcat4 > Using CATALINA_TMPDIR: /var/tomcat4/temp > Using JAVA_HOME: /usr/java/j2sdk1.4.2_04 > Catalina.stop: java.net.ConnectException: Connection refused > java.net.ConnectException: Connection refused > at java.net.PlainSocketImpl.socketConnect(Native Method) > at > java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305) > at > java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:171) > at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158) > at java.net.Socket.connect(Socket.java:452) > at java.net.Socket.connect(Socket.java:402) > at java.net.Socket.<init>(Socket.java:309) > at java.net.Socket.<init>(Socket.java:124) > at > org.apache.catalina.startup.Catalina.stop(Catalina.java:581) > at > org.apache.catalina.startup.Catalina.execute(Catalina.java:402) > at > org.apache.catalina.startup.Catalina.process(Catalina.java:180) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccess > orImpl.java:39) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMeth > odAccessorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:324) > at > org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203) > [FAILED] > > Any idea what that could mean or where to have a look? > > Thanks for your help, > Matthias. > > On Fri, 21 Jan 2005, Wilson, AJ (Antony) wrote: > > > A fix for r-gma was included in patch #293 > > > > In /opt/edg/libexec/edg-rgma-restart-all > > Replace > > > > $EDG_LOCATION/etc/init.d/edg-tomcat4 stop > > #/etc/rc.d/init.d/tomcat4 stop > > echo "`TZ=UTC date`: $(basename $0) Waiting for 15 seconds to > > allow tomcat threads to die" > > sleep 15 > > > > with > > > > $EDG_LOCATION/etc/init.d/edg-tomcat4 stop & >/dev/null 2>&1 > > pid=$! > > echo "`TZ=UTC date`: $(basename $0) Waiting for 15 seconds to > > allow tomcat threads to die" > > sleep 15 > > kill -9 $pid >/dev/null 2>&1 > > > > Regards > > Antony > > > > > > > -----Original Message----- > > > From: LHC Computer Grid - Rollout > > > [mailto:[log in to unmask]] On Behalf Of Alexandru > > > Stanciu > > > Sent: 20 January 2005 07:38 > > > To: [log in to unmask] > > > Subject: Re: [LCG-ROLLOUT] fail to stop edg-tomcat4 deamon > > > > > > > > > Hi, > > > > > > This happened to our site also. When I tried to stop the > service the > > > script entered in an endless loop. I reinstalled the system from > > > scratch and then I used yaim for configuration and the service is > > > ok. Previously there was a LCG-2_2_0 manual install & > config so also > > > in my case it wasn't a clean LCG-2_3_0 installation. > > > > > > Best Regards, > > > Alex Stanciu > > > > > > > > > Mario David wrote: > > > > > > >Hi > > > >at LIP-LCG2 > > > >since upgrading to LCG2.3.0 I have been having problems > > > >to stop edg-tomcat4 deamon > > > >it says > > > >Stopping tomcat4: > [ OK ] > > > > > > > >but stays there forever > > > >I will try to take a closer look at the catalina*.log files > > > > > > > >should I open a bug on this, as anybody else experienced > the same > > > >behaviour? > > > > > > > >this has of course implications in the service-status and > > > rgma stuff, > > > >etc. > > > > > > > >cheers > > > > > > > >Mario > > > > > > > > > > > > > > > > > > > > > >