strange apache restart problem

2004-08-13 Thread Konstantin Yotov
Hello! :)

I've compile apache_1.3.31 with mod_perl-1.29 :
perl Makefile.PL DO_HTTPD=1 USE_APACI=1
APACHE_PREFIX=/home/httpd EVERYTHING=1
Everything is ok and scripts run perfect, but when I
upload new script or modify existing one and run
"apachectl restart" i recieve
/home/httpd/bin/apachectl restart: httpd restarted,
but the old script is loaded!!! Only if I do
"apachectl stop" and then "apachectl start" the new
script is loaded.
Please give me some advice.
I try it on Suse,RedHat and Fedora with the same
success. What I do wrong.

Kosyo



__
Do you Yahoo!?
New and Improved Yahoo! Mail - Send 10MB messages!
http://promotions.yahoo.com/new_mail 

-- 
Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html



Re: strange apache restart problem

2004-08-13 Thread Perrin Harkins
On Fri, 2004-08-13 at 07:14, Konstantin Yotov wrote:
> Everything is ok and scripts run perfect, but when I
> upload new script or modify existing one and run
> "apachectl restart" i recieve
> /home/httpd/bin/apachectl restart: httpd restarted,
> but the old script is loaded!!! Only if I do
> "apachectl stop" and then "apachectl start" the new
> script is loaded.

That's normal.  The restart command from apachectl just sends a SIGHUP
to the server, which does not shut down and restart the perl
interpreter.  You have to stop the server and restart it to do that. 
You can use PerlFreshRestart if you want to, but I don't recommend it.

Please check the docs for more info on this.

- Perrin


-- 
Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html