Guys, this is clearly written in the apachectl(8) man page
On Fri, Aug 6, 2010 at 2:48 AM, Kevin Chadwick <ma1l1i...@yahoo.co.uk> wrote:
> You need to stop and start when using chroot, graceful won't work
> without -u, which you probably don't want to use.
>
>
> 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