You cannot check the status of apache immediately after starting it
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
apache (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
The init script exists with a returncode of 1 if you try to check status immediately after starting apache.
$ sudo /etc/init.d/apache2 restart ; sudo /etc/init.d/apache2 status ; echo $?
* Restarting web server apache2 [Mon Feb 02 19:45:17 2009] [warn] The Alias directive in /etc/apache2/
... waiting [Mon Feb 02 19:45:18 2009] [warn] The Alias directive in /etc/apache2/
1