Apache won't work

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

Apache won't work

Postby razzor » 26. October 2007 16:33

Hi,

I'm having the same problem as felipe. Apache won't work on my computer, but MySQL does. I check the xampp-portcheck.exe and

Apache HTTP 80 free
Apache WebDav 81 free
Apache HTTPS 443 free

MySQL 3306 C:\My Downloads\xampplite\mysql\bin\mysqld-nt.exe


etc...

Is there something I need to add next to port 80, like a path? If so, what path should I add?

Thanks
razzor
 
Posts: 8
Joined: 26. October 2007 16:18

Postby Wiedmann » 26. October 2007 16:37

Apache won't work on my computer,

How did you start Apache?
Wiedmann
AF Moderator
 
Posts: 17106
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Postby razzor » 26. October 2007 17:15

I tried to start it as a service. It didn't work. I also tried to double click on apache icon inside the bin and no result.

OBTW when I use the service tool, it says Apache cannot start because it can't find the path. How can I get the path information?

Thx
razzor
 
Posts: 8
Joined: 26. October 2007 16:18

Postby Wiedmann » 26. October 2007 17:22

I tried to start it as a service.

You mean with: "net start Apache2.2"?
- What happens exactly?
- What can you read in the Windows application event log?

I also tried to double click on apache icon inside the bin and no result.

What happens exactly?

IMHO if you wan run Apache as console application, it's better to use "apache_start.bat" and read the output.
Wiedmann
AF Moderator
 
Posts: 17106
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Postby razzor » 26. October 2007 17:33

When I run apache_start.bat it says:

Apache 2 is starting...

and that's all. nothing else.
razzor
 
Posts: 8
Joined: 26. October 2007 16:18

Postby razzor » 26. October 2007 17:43

Also when I use the XAMPP Control Panel MySQL says running. When I click Start on Apache svc

I get this:

Busy...
Error: Apache service not started [-1]
razzor
 
Posts: 8
Joined: 26. October 2007 16:18

Postby Wiedmann » 26. October 2007 18:01

Apache 2 is starting...
and that's all. nothing else.

There is nothing prepending this line like: "Please close this command only for Shutdown"?

Error: Apache service not started [-1]

Wiedmann wrote:- What can you read in the Windows application event log?

And an addition:
What can you read in the Windows service event log?
Wiedmann
AF Moderator
 
Posts: 17106
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Postby razzor » 26. October 2007 18:20

Where can I find these logs?
razzor
 
Posts: 8
Joined: 26. October 2007 16:18

Postby djoey1982 » 26. October 2007 19:02

in the eventviewer:

"start" "run" type in: eventvwr
then click OK and off you go.
djoey1982
 
Posts: 6
Joined: 25. October 2007 19:30

Postby razzor » 26. October 2007 19:49

There is nothing prepending this line like: "Please close this command only for Shutdown"?
Yes there's such a thing.

Here's what the event log says:

Apache2.2 fails to start due to the following error:
system cannot find the path specified
razzor
 
Posts: 8
Joined: 26. October 2007 16:18

Postby Wiedmann » 27. October 2007 00:15

Yes there's such a thing.

Well, in a normal start this line:
Code: Select all
Apache 2 is starting...

is the last line and Apache is running now as console application.

Apache2.2 fails to start due to the following error:
system cannot find the path specified

This is not your first Apache installation?

Run this command in the shell:
Code: Select all
sc delete Apache2.2


Then create a new service with "apache_installservice.bat".
Wiedmann
AF Moderator
 
Posts: 17106
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Postby razzor » 27. October 2007 01:01

This wasn't my first installation, but I thought I deleted all XAMPP related stuff since my <?php phpinfo() ?> wasn't working.

Now how and where can I run that shell script?

Thanks
razzor
 
Posts: 8
Joined: 26. October 2007 16:18

Postby Izzy » 27. October 2007 04:21

To open a command prompt (shell) try this:
http://community.apachefriends.org/f/viewtopi ... 881#108881
And here:
http://community.apachefriends.org/f/viewtopi ... 403#107403
But change the sc delete Apache2 to sc delete Apache2.2


TIP
Always try and give as much information about your issue as you can, as you can see by the numerous posts asking for more details that it will take more needless time to effect a satisfactory outcome.

The forum search facility is your best friend. :wink:

Sorry, PM by invitation only! :)

TIP
Yet another tip, for Vista in particular but not limited to it.

Try to avoid installing XAMPP to a directory that has a space in the directory (folder) name like:
C:\My Downloads\
C:\Program Files\
C:\My Budgies Perch and All Things Seedy\
etc.etc.
Get the idea?

IMHO using the root of a drive is best practice and will, for some, eliminate some hassles now and in the future.
C:\xampp\
D:\xampp\
Z:\xampp\
etc.etc.


Did you manage to get Apache working using the 'sc delete Apache2.2 command in the shell' fix?
Your reply may help other members searching who have a similar issue, if it worked that is.


===========================================
1. The new DeskTopXampp launch control for XAMPP / XAMPPlite
Posted by Ridgewood available from Ridgewood'sDTX web site

2. Make Richer Ajax Applications - Faster
TIBCO General Interface Pro Edition but FREE and Open Source
Fully working with NO donations required to get a user/password
===========================================
Izzy
 
Posts: 3344
Joined: 25. April 2006 17:06

Postby razzor » 31. October 2007 19:00

Thanks a lot.

Apache seems to be working fine now.
razzor
 
Posts: 8
Joined: 26. October 2007 16:18


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 50 guests