[lug] SIGTERM on boot

Michael D. Hirsch mhirsch at nubridges.com
Fri May 7 15:00:39 MDT 2004


On Friday 07 May 2004 01:14 pm, Zulaware wrote:
> Hi everybody,
>
> I'm trying to get a RH7.3 box to start up three instances of tomcat and
> apache on boot  up. I've done this on several machines already, but on
> this particular one, all four processes seem to start up, then get a
> SIGTERM (according to apache/tomcat logs) and shut down. If I start them
> by running the /etc/rc3.d/ scripts, they all start up fine and persist,
> but when I reboot, there is nothing.
>
> Any ideas what would be terminating these or how I can track it down?
> There is nothing in /var/log/messages. Everything that seems pertinent
> in the root environment look OK

Could they be linked in twice to /etc/rc3.d/?  Once as a Start and once as a 
Kill?

You could add some lines to the init script to see if it is called twice.  I 
recommend using the "logger" command to log to syslog for later reading.

Michael



More information about the LUG mailing list