https://issues.apache.org/bugzilla/show_bug.cgi?id=53117
Bug #: 53117
Summary: Fedora "systemctl status httpd.service" says 'failed'
after issuing a graceful command
Product: Apache httpd-2
Version: 2.2.22
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: Platform
AssignedTo: [email protected]
ReportedBy: [email protected]
Classification: Unclassified
Beginning with Fedora 15, the command "service httpd status" is handled by the
new systemd commands instead of the older SysVinit commands. These new commands
use a syntax like "systemctl status httpd.service".
The new systemd commands work well to start, stop and display the status of
httpd, but it does not support the graceful option.
As a workaround, I can still use the old command to gracefully reload the
configuration files, and this works: the server reloads the configuration and
continues to serve requests, but unfortunately the status command says
otherwise:
# systemctl status httpd.service
httpd.service - The Apache HTTP Server (prefork MPM)
Loaded: loaded (/lib/systemd/system/httpd.service; enabled)
Active: failed since Fri, 20 Apr 2012 14:05:39 -0700; 4h 44min ago
Process: 20019 ExecStop=/usr/sbin/httpd $OPTIONS -k stop (code=exited,
status=0/SUCCESS)
Process: 26544 ExecReload=/bin/kill -HUP $MAINPID (code=exited,
status=0/SUCCESS)
Process: 26543 ExecReload=/usr/sbin/httpd $OPTIONS -t (code=exited,
status=0/SUCCESS)
Main PID: 1114 (code=exited, status=1/FAILURE)
CGroup: name=systemd:/system/httpd.service
When properly working the third line should read as:
Active: active (running since Fri, 20 Apr 2012 14:05:39 -0700; 4h 44min ago
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]