Sorry, just noticed the subject and looked closer, are you sure it does restart. Cos that second logs looks like a start after a stop.
I guess the first restart failed but it did stop and the second restart failed but it did start. I remember some discussion about changing the script so maybe that's why or maybe it has always done that?. I'll compare them later, but I'm sure someone will know why. On Thu, 5 Aug 2010 17:00:29 +0530 Siju George <sgeorge...@gmail.com> wrote: > Hi, > > Any idea any one? Is this the right behavior? > > # apachectl graceful > /usr/sbin/apachectl graceful: httpd gracefully restarted > # apachectl graceful > /usr/sbin/apachectl graceful: httpd not running, trying to start > /usr/sbin/apachectl graceful: httpd started > # > # apachectl graceful > /usr/sbin/apachectl graceful: httpd gracefully restarted > # apachectl graceful > /usr/sbin/apachectl graceful: httpd not running, trying to start > /usr/sbin/apachectl graceful: httpd started > > After the first apachectl graceful I get this in the error log > > ================================================= > [Thu Aug 5 16:56:38 2010] [notice] SIGUSR1 received. Doing graceful > restart > Syntax error on line 275 of /conf/httpd.conf: > Cannot load /usr/lib/apache/modules/mod_perl.so into server: File not found > ================================================= > > Line 275 of httpd.conf is > > = > LoadModule perl_module /usr/lib/apache/modules/mod_perl.so > = > > After the second apachectl graceful this error is not shown > > ================================================== > [Thu Aug 5 16:58:08 2010] [notice] Initializing etag from > /var/www/logs/etag-state > [Thu Aug 5 16:58:08 2010] [notice] chrooted in /var/www > [Thu Aug 5 16:58:08 2010] [notice] changed to uid 67, gid 67 > [Thu Aug 5 16:58:08 2010] [notice] Apache configured -- resuming normal > operations > [Thu Aug 5 16:58:08 2010] [notice] Accept mutex: sysvsem (Default: sysvsem) > ==================================================== > > thanks :-) > > --Siju