Apache wont start

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

Apache wont start

Postby arpeggioC » 30. April 2013 16:21

Hi,

I'm hoping someone can help me out here because i think i made a mistake in deleting python and now Apache wont start.

I'm using Windows XP SP3, XAMPP Control Panel Version 2.5.8 (2009-07-28), XAMPP for windows Version 1.7.3

It's only a theory because that's the only thing I can see i've deleted (10 minutes ago.) that could effect xampp. When i installed python 2.7 about 6months back, i may have made some necessary modification in the configuration files of either Apache or PHP but cant remember. Would that be normal? In anycase when i search for the word "python" in those files, there are no entries.

The MYSQL service will start no problem.

Can someone pls advise how i can troubleshoot this problem to overcome it.

any help much appreciated.

many regards,

arpeggioc
arpeggioC
 
Posts: 10
Joined: 20. February 2012 18:37
Operating System: windows 7 Ultimate

Re: Apache wont start

Postby hackattack142 » 30. April 2013 22:47

Hello,

You could try starting Apache via the command line (apache_start.bat or open CMD [Start -> Run -> cmd] and launch /xampp/apache/bin/httpd.exe) and it should tell you why it will not start.
XAMPP Control Panel Developer
Latest CP: viewtopic.php?f=16&t=48932
hackattack142
 
Posts: 701
Joined: 20. May 2011 23:29
Operating System: Windows 7 Ultimate SP1 64-Bit

Re: Apache wont start

Postby arpeggioC » 01. May 2013 03:27

Hi HackAttack 142,

Thank you very much for your plan of attack. (pun intended!)

The only method that gave me some sort of reason why Apache didn't start was:

D:\XAMPP>apache\bin\httpd.exe
Result:
httpd.exe: Syntax error on line 133 of D:/XAMPP/apache/conf/httpd.conf: Cannot l
oad D:/XAMPP/apache/modules/mod_wsgi.so into server: The specified module could
not be found.


Steps Taken:
I have looked into the modules folder and confirm that the file mod_wsgi.so exists and spelling is also correct.

so I have gone into the httpd.conf file and commented out the LoadModule wsgi_module modules/mod_wsgi.so by placing a # in front.

After doing that, Apache starts and appears to be working correctly judging from the performance of my website on localhost.

Could you please confirm that:
1. hashing this conf file line is ok?
2. this line was only required by Python?

Thank you so much for all your help.

with many regards,

arpeggioc
arpeggioC
 
Posts: 10
Joined: 20. February 2012 18:37
Operating System: windows 7 Ultimate

Re: Apache wont start

Postby hackattack142 » 01. May 2013 04:47

Mod WSGI (http://code.google.com/p/modwsgi/) is for Python and it is alright to comment that out.
XAMPP Control Panel Developer
Latest CP: viewtopic.php?f=16&t=48932
hackattack142
 
Posts: 701
Joined: 20. May 2011 23:29
Operating System: Windows 7 Ultimate SP1 64-Bit

Re: Apache wont start

Postby arpeggioC » 02. May 2013 04:09

Thank you for the confirmation and link HackAttack142.
I'll leave it commented out until such time i want to use Python again.

Thank you so much for your support.

with many regards,
arpeggioc
arpeggioC
 
Posts: 10
Joined: 20. February 2012 18:37
Operating System: windows 7 Ultimate

Re: Apache wont start

Postby tita.cu » 16. December 2014 16:58

Hi / Hola
I'm super Apache Newbie and python and django, and hope someone could plssssssssss help with this error: :oops: :cry: :(
Soy super nueva en apache, python y django, quisiera que alguien por favor me ayudara con este error... :oops: :( :cry:

Event Type: Error
Event Source: Apache Service
Event Category: None
Event ID: 3299
Date: 12/16/2014
Time: 9:07:44 AM
User: N/A
Computer: INF-IBES
Description:
The Apache service named reported the following error:
>>> <Directory "\x93d:/wsgi_app\x94"> path is invalid. .

For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.

i do everything in code.google... modwsgi /Python WSGI adapter module for Apache.
and nothing happens with my xampp/apache...it does not work!

he hecho todo lo que recomiendan en la web d code.google...en el sitio de microsoft.... pero nada, mi apache no arranca...

i have installed so far:
esto es lo q tengo instalado:

Xampp - 1.8.0
Python - 3.4.2
Apache - 2.4.2
Php - 5.4.4
Django - 1.7.1

and.... windows - xp....

thanks to all of U guys! :wink:
tita.cu
 
Posts: 3
Joined: 16. December 2014 16:39
Operating System: windos xp

Re: Apache wont start

Postby Nobbie » 16. December 2014 21:10

>Directory "\x93d:/wsgi_app\x94">

This really looks strange. If you have NO explanation for that, we neither have.

Did you edit httpd.conf and did you change anything, for example DocumentRoot or similar and did you use quote characters, which probably may be invalid??

P.S.: And please, do not speak spanish. Oder möchest Du, dass ich nur Deutsche spreche?
Nobbie
 
Posts: 13170
Joined: 09. March 2008 13:04

Re: Apache wont start

Postby tita.cu » 18. December 2014 17:08

Hi Nobbie,
sorry for spanish... i don't speak deutsch...and thanks for answer me...
yes, i edit my httpd.conf, and i only change exactly as the tutorial said, and then is when that error shows up.. perhaps the problem is that my xampp folder it's not in C, and my instaled python is in C ....???
tita.cu
 
Posts: 3
Joined: 16. December 2014 16:39
Operating System: windos xp

Re: Apache wont start

Postby Nobbie » 18. December 2014 20:16

tita.cu wrote: perhaps the problem is that my xampp folder it's not in C, and my instaled python is in C ....???


NO!!

Did you read my post?? The problem seems to be your editor, it looks as you inserted an invalid character (kind of quote or similar). It has NOTHING NOTHING NOTHING NOTHING NOTHING NOTHING to do with your drive.

Which editor did you use? What did you insert there (please do the same here)? Again: It has NOTHING to do with Python, or folders, or harddrive - IT IS YOUR EDITOR!!!
Nobbie
 
Posts: 13170
Joined: 09. March 2008 13:04

Re: Apache wont start

Postby tita.cu » 18. December 2014 20:57

Hi...
it was my apache...it was corrupt due to other problems...
thanks nobbie... my editor is notepad++ version 5.2
tita.cu
 
Posts: 3
Joined: 16. December 2014 16:39
Operating System: windos xp


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 126 guests