You cannot check the status of apache immediately after starting it

Bug #324685 reported by Bryan McLellan
2
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/apache2.conf at line 188 will probably never match because it overlaps an earlier Alias.
 ... waiting [Mon Feb 02 19:45:18 2009] [warn] The Alias directive in /etc/apache2/apache2.conf at line 188 will probably never match because it overlaps an earlier Alias.
                                                                                                                                                      [ OK ]
1

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.