apache2 does not restart gracefully with request-tracker4 installed in amd-64 12.04 precise
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
request-tracker4 (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
request-tracker 4.04 was installed in a ubuntu server.
It was observed twice that sometimes apache2 logs this in error.log:
Graceful restart requested, doing restart
and stays down until started with:
service apache2 start
apachectl configtest returns ok
apachectl graceful launched manually with the command:
apachectl graceful
works if the site apache configuration does not contain the line:
Include /etc/request-
Linux host3 3.2.0-24-generic #37-Ubuntu SMP Wed Apr 25 08:43:22 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
to avoid that the server is down i created the following script run with crontab each 15 minutes:
*******
#!/bin/bash
WRT=NOT
RT=$(service apache2 status | grep "NOT running" | cut -c 12-14)
#echo $RT
#echo $WRT
if [ "$RT" = "$WRT" ]; then
service apache2 start
echo "Restarted Apache"
fi
*******
Apache version Apache/2.2.22 (Ubuntu) mod_fastcgi/ mod_fastcgi- SNAP-0910052141 PHP/5.3. 10-1ubuntu3. 1 with Suhosin-Patch mod_ssl/2.2.22 OpenSSL/1.0.1 mod_perl/2.0.5 Perl/v5.14.2