Keep Server Online
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
or
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.
| |
|
Topic: Can't Stop/Shutdown Apache2.2 Service |
|
Author |
|
Torey
Joined: 15 Jun 2008 Posts: 3 Location: USA
|
Posted: Sun 15 Jun '08 14:18 Post subject: Can't Stop/Shutdown Apache2.2 Service |
|
|
Hello, all. My name is Torey and I'm new to the forum. It's a blessing to be here with all of you.
I have a simple question (I hope it has a simple solution!).
I have installed Apache 2.2.8 on a Windows 98SE machine successfully. The service starts, but it refuses to stop or shutdown via both the monitoring service and command prompt.
httpd.exe -k stop and httpd.exe -k switches proceed to give me the message that the Apache2.2 service is stopping...
Then there is a long gap of waiting before I get the message:
Code: | Failed to stop Apache2.2 service |
I cannot even shutdown Windows without using End Task to terminate the program. Can someone please advise? Your time and patience is greatly appreciated and blessings to you all. |
|
Back to top |
|
glsmith Moderator
Joined: 16 Oct 2007 Posts: 2268 Location: Sun Diego, USA
|
Posted: Sun 15 Jun '08 18:30 Post subject: |
|
|
Well, technically Windows 98 does not have "Windows Services", so Apache is not really running as a service, but instead as any normal console app running hidden from view. Does it actually show up in the Apache Monitor?
On Windows 98 it is usually best to just run in a visible console, which should pick up the ctrl+c (shutdown) and ctrl+break (restart).
Gregg |
|
Back to top |
|
Torey
Joined: 15 Jun 2008 Posts: 3 Location: USA
|
Posted: Tue 17 Jun '08 5:47 Post subject: |
|
|
Blessings for your response, Gregg!
I reinstalled Apache and it runs and is now indicated in the services monitor as running. I can restart it with success via both CLI and the monitor.
Now it's still got the problem of refusing to stop or shutdown!
I attempted to do a graceful restart with the result being the following message:
Code: | (OS 10048) Address already in use :make-sock: Could not bind to address 0.0.0.0:8080
No listening sockets available, shutting down
Unable to open logs |
I first assumed this means that something else is listening on port 8080, but it doesn't matter what I change the port to! I looked in task manager and saw that a process called Pdvdserv is running...and it turns out that this is just a process that has to do with using a remote-control for the DVD player *sigh*
Does anyone have any ideas? This was exciting at first and now I'm feeling very disappointed. |
|
Back to top |
|
sawo
Joined: 15 May 2008 Posts: 36
|
Posted: Sat 21 Jun '08 19:12 Post subject: |
|
|
It is not recommended to use apache on win98 - this OS is very old, it is not supported by M$ anymore so apache does very little testing on it.
Here you can find some information.
I think it would be better if you use apache 1.3.x or upgrade your OS to win2000 for example. |
|
Back to top |
|
Torey
Joined: 15 Jun 2008 Posts: 3 Location: USA
|
Posted: Sun 22 Jun '08 4:13 Post subject: |
|
|
Thank you, Sawo! I have a Puppy Linux install waiting, but it's so much trouble partitioning for it and upgrading the memory that I had hoped to wait...but if it means that I need to upgrade to Windows 2000 anyway then I might as well go ahead and do the Linux install. Ahhh well - many many blessings to you for your kindness! |
|
Back to top |
|
|
|
|
|
|