logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Apache View previous topic :: View next topic
Reply to topic   Topic: apache doesn't work & need to restart the pc after some
Author
daholicofneki



Joined: 15 Dec 2009
Posts: 5
Location: Indonesia

PostPosted: Tue 15 Dec '09 5:42    Post subject: apache doesn't work & need to restart the pc after some Reply with quote

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

PostPosted: Tue 15 Dec '09 10:33    Post subject: Reply with quote

Quote:

[warn] pid file


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

PostPosted: Tue 15 Dec '09 10:40    Post subject: Reply with quote

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

PostPosted: Tue 15 Dec '09 10:48    Post subject: Reply with quote

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

PostPosted: Tue 15 Dec '09 11:00    Post subject: Reply with quote

so far so good, when it happen again, i'll take a look Wink
thanks for advice Very Happy
Back to top
daholicofneki



Joined: 15 Dec 2009
Posts: 5
Location: Indonesia

PostPosted: Wed 16 Dec '09 9:30    Post subject: Reply with quote

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

PostPosted: Wed 16 Dec '09 11:49    Post subject: Reply with quote

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 Wink
Back to top
Steffen
Moderator


Joined: 15 Oct 2005
Posts: 3093
Location: Hilversum, NL, EU

PostPosted: Wed 16 Dec '09 20:14    Post subject: Reply with quote

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

PostPosted: Thu 17 Dec '09 4:30    Post subject: Reply with quote

@james : unfortunately, there's no php error in error.log Sad

@steffen : i've put those in httpd.conf. wish it will work. but, what's that ?
Back to top


Reply to topic   Topic: apache doesn't work & need to restart the pc after some View previous topic :: View next topic
Post new topic   Forum Index -> Apache