Author |
|
daholicofneki
Joined: 15 Dec 2009 Posts: 5 Location: Indonesia
|
Posted: Tue 15 Dec '09 5:42 Post subject: apache doesn't work & need to restart the pc after some |
|
|
Recently, apache's server always not connected in networking. I check the service, its status is start. I restart the service, but it doesn't work, so i have to restart the pc. After restarting the pc, i see the error.log and there's notification like this :
[Tue Dec 15 09:44:04 2009] [warn] pid file C:/Program Files/PostgreSQL/EnterpriseDB-ApachePhp/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Tue Dec 15 09:44:04 2009] [notice] Apache/2.2.10 (Win32) PHP/5.2.6 configured -- resuming normal operations
[Tue Dec 15 09:44:04 2009] [notice] Server built: Dec 4 2008 06:03:28
[Tue Dec 15 09:44:04 2009] [notice] Parent: Created child process 1932
[Tue Dec 15 09:44:04 2009] [notice] Child 1932: Child process is running
[Tue Dec 15 09:44:04 2009] [notice] Child 1932: Acquired the start mutex.
[Tue Dec 15 09:44:04 2009] [notice] Child 1932: Starting 64 worker threads.
[Tue Dec 15 09:44:04 2009] [notice] Child 1932: Starting thread to listen on port 80.
[Tue Dec 15 09:44:04 2009] [warn] pid file C:/Program Files/PostgreSQL/EnterpriseDB-ApachePhp/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run? <~ is it the main problem ? because, before this i haven't seen this log
I used apachePHP from entrepisedb, i never get problem before this. I ever uninstall apachePHP, and it didn't happen for some days, but now it happens again.
Any suggestion for me ?
Thanks before for your attention. |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7355 Location: Germany, Next to Hamburg
|
Posted: Tue 15 Dec '09 10:33 Post subject: |
|
|
That means only that apache wasn't shutdown before the computer shutdown. That can happens when apache is installed as a service. Nothing to worry about. |
|
Back to top |
|
daholicofneki
Joined: 15 Dec 2009 Posts: 5 Location: Indonesia
|
Posted: Tue 15 Dec '09 10:40 Post subject: |
|
|
mmm .. so, why my apache suddenly can't be accessed in networking ?
now i have unsinstall again, and everything going well but i'm afraid tomorrow it will happen same thing like before |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7355 Location: Germany, Next to Hamburg
|
Posted: Tue 15 Dec '09 10:48 Post subject: |
|
|
When it happens again, take a look at the taskmanager. There should be 2 httpd.exe processes.
Is there anything updated on your apache or database or windows? |
|
Back to top |
|
daholicofneki
Joined: 15 Dec 2009 Posts: 5 Location: Indonesia
|
Posted: Tue 15 Dec '09 11:00 Post subject: |
|
|
so far so good, when it happen again, i'll take a look
thanks for advice |
|
Back to top |
|
daholicofneki
Joined: 15 Dec 2009 Posts: 5 Location: Indonesia
|
Posted: Wed 16 Dec '09 9:30 Post subject: |
|
|
XD it happens againnn
ok, what i have to check ? |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7355 Location: Germany, Next to Hamburg
|
Posted: Wed 16 Dec '09 11:49 Post subject: |
|
|
Is apache installed as a service? I guess so.
When it cashed. Is there more information in the logs? Any PHP page or any script that was called before it cashed? Anything in the windows event log?
We need more details |
|
Back to top |
|
Steffen Moderator
Joined: 15 Oct 2005 Posts: 3093 Location: Hilversum, NL, EU
|
Posted: Wed 16 Dec '09 20:14 Post subject: |
|
|
Maybe you can try the following.
Place in your httpd.conf:
Win32DisableAcceptEx
EnableSendfile Off
EnableMMAP off
Steffen |
|
Back to top |
|
daholicofneki
Joined: 15 Dec 2009 Posts: 5 Location: Indonesia
|
Posted: Thu 17 Dec '09 4:30 Post subject: |
|
|
@james : unfortunately, there's no php error in error.log
@steffen : i've put those in httpd.conf. wish it will work. but, what's that ? |
|
Back to top |
|