Page 1 of 1

Process is yellow for Apache

PostPosted: 27. January 2013 07:23
by matthew1246
Hello. Please help me.
Apache starts up yellow for process id in Xampp.

I get the following message in error.log for Apache:
[Sun Jan 27 17:17:12.926744 2013] [core:warn] [pid 4360:tid 128] AH00098: pid file C:/xampp/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Sun Jan 27 17:17:12.971746 2013] [mpm_winnt:notice] [pid 4360:tid 128] AH00455: Apache/2.4.3 (Win32) PHP/5.4.7 configured -- resuming normal operations
[Sun Jan 27 17:17:12.971746 2013] [mpm_winnt:notice] [pid 4360:tid 128] AH00456: Server built: Aug 18 2012 12:41:37
[Sun Jan 27 17:17:12.971746 2013] [core:notice] [pid 4360:tid 128] AH00094: Command line: 'c:\\xampp\\apache\\bin\\httpd.exe -d C:/xampp/apache'
[Sun Jan 27 17:17:12.972746 2013] [mpm_winnt:notice] [pid 4360:tid 128] AH00418: Parent: Created child process 6056
[Sun Jan 27 17:17:13.388770 2013] [mpm_winnt:notice] [pid 6056:tid 328] AH00354: Child: Starting 150 worker threads.
[Sun Jan 27 17:17:38.243192 2013] [core:warn] [pid 5392:tid 128] AH00098: pid file C:/xampp/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Sun Jan 27 17:17:38.294195 2013] [mpm_winnt:notice] [pid 5392:tid 128] AH00455: Apache/2.4.3 (Win32) PHP/5.4.7 configured -- resuming normal operations
[Sun Jan 27 17:17:38.294195 2013] [mpm_winnt:notice] [pid 5392:tid 128] AH00456: Server built: Aug 18 2012 12:41:37
[Sun Jan 27 17:17:38.294195 2013] [core:notice] [pid 5392:tid 128] AH00094: Command line: 'c:\\xampp\\apache\\bin\\httpd.exe -d C:/xampp/apache'
[Sun Jan 27 17:17:38.296195 2013] [mpm_winnt:notice] [pid 5392:tid 128] AH00418: Parent: Created child process 3792
[Sun Jan 27 17:17:38.708218 2013] [mpm_winnt:notice] [pid 3792:tid 328] AH00354: Child: Starting 150 worker threads.
[Sun Jan 27 17:19:54.688996 2013] [core:warn] [pid 5632:tid 128] AH00098: pid file C:/xampp/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Sun Jan 27 17:19:54.741999 2013] [mpm_winnt:notice] [pid 5632:tid 128] AH00455: Apache/2.4.3 (Win32) PHP/5.4.7 configured -- resuming normal operations
[Sun Jan 27 17:19:54.741999 2013] [mpm_winnt:notice] [pid 5632:tid 128] AH00456: Server built: Aug 18 2012 12:41:37
[Sun Jan 27 17:19:54.741999 2013] [core:notice] [pid 5632:tid 128] AH00094: Command line: 'c:\\xampp\\apache\\bin\\httpd.exe -d C:/xampp/apache'
[Sun Jan 27 17:19:54.743999 2013] [mpm_winnt:notice] [pid 5632:tid 128] AH00418: Parent: Created child process 3388
[Sun Jan 27 17:19:55.307031 2013] [mpm_winnt:notice] [pid 3388:tid 328] AH00354: Child: Starting 150 worker threads.
[Sun Jan 27 17:21:56.208946 2013] [core:warn] [pid 2292:tid 128] AH00098: pid file C:/xampp/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Sun Jan 27 17:21:56.250949 2013] [mpm_winnt:notice] [pid 2292:tid 128] AH00455: Apache/2.4.3 (Win32) PHP/5.4.7 configured -- resuming normal operations
[Sun Jan 27 17:21:56.250949 2013] [mpm_winnt:notice] [pid 2292:tid 128] AH00456: Server built: Aug 18 2012 12:41:37
[Sun Jan 27 17:21:56.250949 2013] [core:notice] [pid 2292:tid 128] AH00094: Command line: 'c:\\xampp\\apache\\bin\\httpd.exe -d C:/xampp/apache'
[Sun Jan 27 17:21:56.252949 2013] [mpm_winnt:notice] [pid 2292:tid 128] AH00418: Parent: Created child process 1688
[Sun Jan 27 17:21:56.628971 2013] [mpm_winnt:notice] [pid 1688:tid 328] AH00354: Child: Starting 150 worker threads.

I assume it is core:warn error message but I've deleted httpd.pid and it still shows yellow message for pid.

Re: Process is yellow for Apache

PostPosted: 29. January 2013 23:55
by hackattack142
Yellow means that only one of the two apache processes has started. This can happen by way of race condition if the start/stop button is pressed rapidly. I typically see this is there is an old Apache process still running. After stopping Apache in the control panel, open your Task Manager (Right-click your Windows Toolbar > Start Task Manager), go to the Processes tab, and kill any leftover httpd.exe entries.

Re: Process is yellow for Apache

PostPosted: 01. February 2013 07:32
by matthew1246
Thanks for the reply. I've noticed that Xampp shows yellow for all new installations
when starting up first apache process and waiting for second process to start.
This is a logic bug made by the programmer. Can anyone fix this please?

Re: Process is yellow for Apache

PostPosted: 02. February 2013 20:03
by hackattack142
Hello,

I am the Control Panel dev. I am not aware of any such issue with it and it has not been reported by anyone else.

1. Could you post the entire log window of the Control Panel when you start it
2. Could you grab the latest control panel from my signature

Re: Process is yellow for Apache

PostPosted: 19. November 2015 15:37
by HiCaf
I've got kinda the same problem.

My Apache keeps being yellow and I can't stop it - If I try I get this error:

15:27:15 [Apache] Attempting to stop Apache (PID: 8060)
15:27:15 [Apache] Problem killing PID 8060
15:27:15 [Apache] Check that you have the proper privileges

I am opening XAMPP as administrator so it's not that.
As you said, I may have double clicked the stop button but now I can't seem to kill it.

What should I do? I can't find apache in the task manager

Re: Process is yellow for Apache

PostPosted: 19. November 2015 15:56
by Altrea
Can you find httpd in the task manager?

Re: Process is yellow for Apache

PostPosted: 19. November 2015 16:01
by HiCaf
no :(

Re: Process is yellow for Apache

PostPosted: 19. November 2015 16:21
by HiCaf
Nvm, I turned everything off, rebooted the pc and now it works.
Thanks anyways :)