Bug 212837 - www-servers/apache-2.2.8 init script does not check status properly
Bug#: 212837 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: Linux Status: RESOLVED Severity: trivial Priority: P2
Resolution: FIXED Assigned To: apache-bugs@gentoo.org Reported By: mrdanwallis@gmail.com
Component: Ebuilds
URL: 
Summary: www-servers/apache-2.2.8 init script does not check status properly
Keywords:  
Status Whiteboard: 
Opened: 2008-03-09 16:37 0000
Description:   Opened: 2008-03-09 16:37 0000
When apache2 is not running, and one uses the "fullstatus" feature of the init
script, a confusing error is returned.

Reproducible: Always

Steps to Reproduce:
1. # /etc/init.d/apache2 stop
2. # /etc/init.d/apache2 fullstatus

Actual Results:  
Error returned from Lynx saying it cannot connect to remote host.

Expected Results:  
Error returned from init script saying apache2 is not started

------- Comment #1 From Dan Wallis 2008-03-09 16:39:03 0000 -------
Created an attachment (id=145655) [details]
Patch for better status checking

Here is a suggested fix. Comments/suggestions welcome. :)

------- Comment #2 From Benedikt Böhm 2008-03-22 15:35:16 0000 -------
fixed in svn, thanks