Re: Apache + Tomcat RH Setup

2004-01-29 Thread Holger de Wall
you will see it, after this commandline:
rpm -ev apache-1.3.12-25 mod_ssl-2.6.6-25 mod_perl-1.24-4

 Also, I need to get an apache rpm uninstalled.

 rpm -e apache-1.3.12-25
 error: removing these packages would break dependencies:
 apache = 1.3.12-25 is needed by  mod_ssl-2.6.6-25
 webserver is needed by mod_perl-1.24-4

 Are these other packages needed by anything else?
---

the solution depends on the 'boot concept' of your Linux-Distribution. if you 
have 'insserv', their are helpfull tipps in `man insserv`. You will find 
something about the 'boot concept in `man init.d`

 I have been reading through John's HOWTO to get these operating together
 (with the latest release versions, which I do not think will matter for
 this question...) and noticed that he says to start Tomcat before Apache
 and wait at least 15 seconds.

 I have read similar things from time to time, so I am guessing its pretty
 important.

 If I wanted to set these up to start on the system boot, via the run levels
 (/etc/rc.d/rc3.d etc...) how should I setup those links.

 Such as S84Tomcatd and S85Apached (linked to scripts in /etc/init.d). Would
 that make sure that tomcat is started before apache?

 If I wanted to setup the links in /etc/rc.d/rc6.d would apached have to
 shut down before tomcat?

 If I wanted to restart tomcat, for any reason during system runtime, would
 I have to shut down apache, shut down tomcat, start tomcat, start apache?

 If I wanted to restart apache, what needs to be done?


-- 
Holger de Wall
LKV-SH, Steenbeker Weg 151, Kiel 24106
Tel.   : +049 431-33987-38
Fax   : +049 431-33987-20


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Apache + Tomcat RH Setup

2004-01-28 Thread Luc Foisy
Also, I need to get an apache rpm uninstalled.

rpm -e apache-1.3.12-25
error: removing these packages would break dependencies:
apache = 1.3.12-25 is needed by mod_ssl-2.6.6-25
webserver is needed by mod_perl-1.24-4

Are these other packages needed by anything else?

-Original Message-
From: Luc Foisy 
Sent: Wednesday, January 28, 2004 3:27 PM
To: Tomcat Users List
Subject: Apache + Tomcat RH Setup



I suppose this could be directed towards John Turner, but I'll let anyone answer :)

I have been reading through John's HOWTO to get these operating together (with the 
latest release versions, which I do not think will matter for this question...) and 
noticed that he says to start Tomcat before Apache and wait at least 15 seconds.

I have read similar things from time to time, so I am guessing its pretty important.

If I wanted to set these up to start on the system boot, via the run levels 
(/etc/rc.d/rc3.d etc...) how should I setup those links.

Such as S84Tomcatd and S85Apached (linked to scripts in /etc/init.d). Would that make 
sure that tomcat is started before apache?

If I wanted to setup the links in /etc/rc.d/rc6.d would apached have to shut down 
before tomcat?

If I wanted to restart tomcat, for any reason during system runtime, would I have to 
shut down apache, shut down tomcat, start tomcat, start apache?

If I wanted to restart apache, what needs to be done?

Luc

Hopefully someone will understand what I am saying if I haven't used all the correct 
terms and such :)


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Apache + Tomcat RH Setup

2004-01-28 Thread Matt Raible
Here's how I've setup Tomcat and Apache to start at boot-time.  

http://www.raibledesigns.com/tomcat/boot-howto.html


 I suppose this could be directed towards John Turner, but I'll let 
 anyone answer :)
 
 I have been reading through John's HOWTO to get these operating 
 together (with the latest release versions, which I do not think 
 will matter for this question...) and noticed that he says to start 
 Tomcat before Apache and wait at least 15 seconds.
 
 I have read similar things from time to time, so I am guessing its 
 pretty important.
 
 If I wanted to set these up to start on the system boot, via the run 
 levels (/etc/rc.d/rc3.d etc...) how should I setup those links.
 
 Such as S84Tomcatd and S85Apached (linked to scripts in /etc/init.d)
 . Would that make sure that tomcat is started before apache?
 
 If I wanted to setup the links in /etc/rc.d/rc6.d would apached have 
 to shut down before tomcat?
 
 If I wanted to restart tomcat, for any reason during system runtime, 
 would I have to shut down apache, shut down tomcat, start tomcat,
  start apache?
 
 If I wanted to restart apache, what needs to be done?
 
 Luc
 
 Hopefully someone will understand what I am saying if I haven't used 
 all the correct terms and such :)
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]


--
Open WebMail Project (http://openwebmail.org)

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Apache + Tomcat RH Setup

2004-01-28 Thread Luc Foisy
Thank you very much. 

Any insight on restarting each of them, and order of operations during runtime and 
actual system reboot and shutdown?

-Original Message-
From: Matt Raible [mailto:[EMAIL PROTECTED]
Sent: Wednesday, January 28, 2004 3:37 PM
To: Tomcat Users List
Subject: Re: Apache + Tomcat RH Setup


Here's how I've setup Tomcat and Apache to start at boot-time.  

http://www.raibledesigns.com/tomcat/boot-howto.html


 I suppose this could be directed towards John Turner, but I'll let 
 anyone answer :)
 
 I have been reading through John's HOWTO to get these operating 
 together (with the latest release versions, which I do not think 
 will matter for this question...) and noticed that he says to start 
 Tomcat before Apache and wait at least 15 seconds.
 
 I have read similar things from time to time, so I am guessing its 
 pretty important.
 
 If I wanted to set these up to start on the system boot, via the run 
 levels (/etc/rc.d/rc3.d etc...) how should I setup those links.
 
 Such as S84Tomcatd and S85Apached (linked to scripts in /etc/init.d)
 . Would that make sure that tomcat is started before apache?
 
 If I wanted to setup the links in /etc/rc.d/rc6.d would apached have 
 to shut down before tomcat?
 
 If I wanted to restart tomcat, for any reason during system runtime, 
 would I have to shut down apache, shut down tomcat, start tomcat,
  start apache?
 
 If I wanted to restart apache, what needs to be done?
 
 Luc
 
 Hopefully someone will understand what I am saying if I haven't used 
 all the correct terms and such :)
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]


--
Open WebMail Project (http://openwebmail.org)

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Apache + Tomcat RH Setup

2004-01-28 Thread Matt Raible
In my experience, it doesn't matter.  I restart Apache and Tomcat all the 
time and I never have to do them in any certain order.  If I change values in 
workers2.properties, I do have to restart Apache.

Matt

 Thank you very much. 
 
 Any insight on restarting each of them, and order of operations 
 during runtime and actual system reboot and shutdown?
 
 -Original Message-
 From: Matt Raible [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, January 28, 2004 3:37 PM
 To: Tomcat Users List
 Subject: Re: Apache + Tomcat RH Setup
 
 Here's how I've setup Tomcat and Apache to start at boot-time.  
 
 http://www.raibledesigns.com/tomcat/boot-howto.html
 
  I suppose this could be directed towards John Turner, but I'll let 
  anyone answer :)
  
  I have been reading through John's HOWTO to get these operating 
  together (with the latest release versions, which I do not think 
  will matter for this question...) and noticed that he says to start 
  Tomcat before Apache and wait at least 15 seconds.
  
  I have read similar things from time to time, so I am guessing its 
  pretty important.
  
  If I wanted to set these up to start on the system boot, via the run 
  levels (/etc/rc.d/rc3.d etc...) how should I setup those links.
  
  Such as S84Tomcatd and S85Apached (linked to scripts in /etc/init.d)
  . Would that make sure that tomcat is started before apache?
  
  If I wanted to setup the links in /etc/rc.d/rc6.d would apached have 
  to shut down before tomcat?
  
  If I wanted to restart tomcat, for any reason during system runtime, 
  would I have to shut down apache, shut down tomcat, start tomcat,
   start apache?
  
  If I wanted to restart apache, what needs to be done?
  
  Luc
  
  Hopefully someone will understand what I am saying if I haven't used 
  all the correct terms and such :)
  
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
 --
 Open WebMail Project (http://openwebmail.org)
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]


--
Open WebMail Project (http://openwebmail.org)

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]