You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2014/08/17 00:48:16 UTC
[Bug 56863] New: Stop fails when PidFile location is set in conf
https://issues.apache.org/bugzilla/show_bug.cgi?id=56863
Bug ID: 56863
Summary: Stop fails when PidFile location is set in conf
Product: Apache httpd-2
Version: 2.2.27
Hardware: PC
Status: NEW
Severity: normal
Priority: P2
Component: Runtime Config
Assignee: bugs@httpd.apache.org
Reporter: sethbsmith@gmail.com
If the PidFile location is set, apache will start correctly and the Pid is
created in the new location but when stopped a fail is received. All processes
must be killed then apache may be started. I have selinux disabled and have
tried multiple locations all with the same issue, nothing shows up in
error_log. If the PidFile location is left as default it goes to logs and the
process works fine.
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org
[Bug 56863] Stop fails when PidFile location is set in conf
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=56863
--- Comment #2 from SBS <se...@gmail.com> ---
I am running CentOS 6.5.
When I run strace, I get the following:
Process 1508 attached - interrupt to quit
select(0, NULL, NULL, NULL, {0, 449646}) = 0 (Timeout)
wait4(-1, 0x7fff099790ac, WNOHANG|WSTOPPED, NULL) = 0
select(0, NULL, NULL, NULL, {1, 0}) = 0 (Timeout)
When I stop apache the process continues and the above output continues
indefinitely.
When I do the same and the default location for the Pid is used I get the
following and the process stops:
wait4(-1, 0x7fff2428d55c, WNOHANG|WSTOPPED, NULL) = 0
select(0, NULL, NULL, NULL, {1, 0}) = 0 (Timeout)
wait4(-1, 0x7fff2428d55c, WNOHANG|WSTOPPED, NULL) = 0
select(0, NULL, NULL, NULL, {1, 0}) = ? ERESTARTNOHAND (To be restarted)
--- SIGTERM (Terminated) @ 0 (0) ---
rt_sigreturn(0xf) = -1 EINTR (Interrupted system call)
getpgrp() = 1391
kill(4294965905, SIGTERM) = 0
--- SIGTERM (Terminated) @ 0 (0) ---
--- SIGCHLD (Child exited) @ 0 (0) ---
rt_sigreturn(0xf) = 0
select(0, NULL, NULL, NULL, {0, 16384}) = ? ERESTARTNOHAND (To be restarted)
--- SIGCHLD (Child exited) @ 0 (0) ---
select(0, NULL, NULL, NULL, {0, 15283}) = 0 (Timeout)
wait4(1393, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], WNOHANG|WSTOPPED, NULL) =
1393
wait4(1394, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], WNOHANG|WSTOPPED, NULL) =
1394
wait4(1395, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], WNOHANG|WSTOPPED, NULL) =
1395
wait4(1396, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], WNOHANG|WSTOPPED, NULL) =
1396
wait4(1397, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], WNOHANG|WSTOPPED, NULL) =
1397
unlink("/etc/httpd/logs/httpd.pid") = 0
write(2, "[Sat Aug 16 17:57:11 2014] [noti"..., 66) = 66
select(0, NULL, NULL, NULL, {0, 10000}) = 0 (Timeout)
close(12) = 0
close(11) = 0
close(10) = 0
close(9) = 0
semctl(327685, 0, IPC_RMID, 0) = 0
munmap(0x7f36703ce000, 500008) = 0
semctl(360454, 0, IPC_RMID, 0) = 0
munmap(0x7f3670350000, 512008) = 0
close(8) = 0
close(7) = 0
munmap(0x7f3661776000, 2108632) = 0
munmap(0x7f3662e62000, 2248656) = 0
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org
[Bug 56863] Stop fails when PidFile location is set in conf
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=56863
--- Comment #5 from SBS <se...@gmail.com> ---
I am running httpd, compiled from source. I setup a minimal CentOS 6.5 server,
installed httpd and ran into this issue.
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org
[Bug 56863] Stop fails when PidFile location is set in conf
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=56863
--- Comment #4 from Eric Covener <co...@gmail.com> ---
(In reply to SBS from comment #2)
> When I stop apache the process continues and the above output continues
> indefinitely.
What are you running exactly and what does it output? If it's not httpd or
apachectl, it's not supported here.
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org
[Bug 56863] Stop fails when PidFile location is set in conf
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=56863
SBS <se...@gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
OS| |All
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org
[Bug 56863] Stop fails when PidFile location is set in conf
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=56863
Eric Covener <co...@gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |NEEDINFO
--- Comment #1 from Eric Covener <co...@gmail.com> ---
What are you running, what does it output, and what does it report under strace
-f?
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org
[Bug 56863] Stop fails when PidFile location is set in conf
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=56863
--- Comment #3 from SBS <se...@gmail.com> ---
x86_64
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org
[Bug 56863] Stop fails when PidFile location is set in conf
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=56863
Eric Covener <co...@gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEEDINFO |RESOLVED
Resolution|--- |WORKSFORME
--- Comment #6 from Eric Covener <co...@gmail.com> ---
incomplete report, I had no problem changing my pidfile.
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org