apache service won't work on "auto" mode

Problems with the Windows version of XAMPP, questions, comments, and anything related.

apache service won't work on "auto" mode

Postby Wilhelm » 25. February 2004 16:05

Hello!
First, forgive me if I repeat a question that was already asked. I speak English, so unless this forum speaks english as well i wil not be able to understand messages.

I have installed apache as a service by d-clicking the icon that xampp made for that. when I reboot my computer noone can enter my site unless I restart the server. if I set the service to start manualy and I start it manualy after system restart people can enter my site as well.
My ISP blocks port 80 and so I set apache to listen on port 8000.
Any idea how can I fix the problem so that I don't have to start the service by myself every time?

Thanks!
User avatar
Wilhelm
 
Posts: 4
Joined: 25. February 2004 15:51

Postby Kristian Marcroft » 25. February 2004 16:08

Hi,

first of all I moved you post to the english part of the Forum.
Now to get to your Problem...

Could you please check Your System event Log and the error.log of Apache?
Maybe give us a little paste of what messages appear right after booting?

So long
KriS
User avatar
Kristian Marcroft
AF Moderator
 
Posts: 2962
Joined: 03. January 2003 12:08
Location: Diedorf

Postby Wilhelm » 25. February 2004 17:34

Thank you for your fast reply.
I'm sorry, I didn't see the English forum. I'll know for next time.
I have just made a reboot to copy the log entries after the automatic startup of the apache service, and these entry seem very naive to me:

[Wed Feb 25 11:07:57 2004] [notice] Parent: Created child process 988
[Wed Feb 25 11:07:58 2004] [notice] Child 988: Child process is running
[Wed Feb 25 11:07:58 2004] [notice] Child 988: Acquired the start mutex.
[Wed Feb 25 11:07:59 2004] [notice] Child 988: Starting 250 worker threads.

And I can access my website through port 8000. However, as I initially stated, I can't access my website from an external computer (I use a proxy for this test). When I restart the service, I get the following error.log entries:

[Wed Feb 25 11:18:09 2004] [notice] Child 988: All worker threads have exited.
[Wed Feb 25 11:18:09 2004] [notice] Child 988: Child process is exiting
[Wed Feb 25 11:18:09 2004] [notice] Parent: Child process exited successfully.
[Wed Feb 25 11:18:10 2004] [notice] Parent: Created child process 4072
[Wed Feb 25 11:18:10 2004] [notice] Child 4072: Child process is running
[Wed Feb 25 11:18:10 2004] [notice] Child 4072: Acquired the start mutex.
[Wed Feb 25 11:18:10 2004] [notice] Child 4072: Starting 250 worker threads.

And I can access my website externally.
Regarding the System Event Log: I'm not sure I know where to find it. I opened the Even Viewer in Administration Tools, and there I found 2 information entries that came before the service was started (11:07:42):
Application popup: : Machine Check: Regs
and
Microsoft (R) Windows (R) 5.01. 2600 Service Pack 1 Uniprocessor Free.
I also have 2 error entries that occured after (11:09:18):
The hMailServerMySQL service failed to start due to the following error:
The system cannot find the path specified.
and
The PfModNT service failed to start due to the following error:
The system cannot find the path specified.

Regarding the hMailServerMySQL, it is something I uninstalled long ago and it seems the service wasn't properly uninstalled.

Any clue what might cause the problem? Any help will be greatly appreciated.
User avatar
Wilhelm
 
Posts: 4
Joined: 25. February 2004 15:51

Postby Wilhelm » 27. February 2004 18:27

Am I the only one here to have this problem?!
User avatar
Wilhelm
 
Posts: 4
Joined: 25. February 2004 15:51

Postby Wilhelm » 01. March 2004 18:45

I have tried to install Apache from the original msi package from the Apache website, and the server works fine as a service after I reboot. Therefore the problem I have here is with the XAMPP distro.
I would prefer to fix the problem with XAMPP so that I don't have to install php, update the configuration files etc.

Have anyone here got the same problem I have? ie rebooting a winxp box with xampp apache installed as service does not allow access to the website from the internet unless explicitly restarting the service? (read thread)
User avatar
Wilhelm
 
Posts: 4
Joined: 25. February 2004 15:51

Postby myhelipad » 02. March 2004 06:30

I have the same problem when I try to install apache as service, it's wont start as service when run apache_installservice.bat its like took time too long to install. I have win2k and winXP its came with same problem, now just reformat my server and reinstall with Windows Server 2003 and came out with same problem when I run apache_installservice.bat. Hope there is the way to solve its... :?
User avatar
myhelipad
 
Posts: 13
Joined: 01. March 2004 04:48
Location: Malaysia


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 142 guests