Apache2Triad Help, Support and Development Forum Index Apache2Triad Help, Support and Development
The apache2triad help , support and development forums
 

Cannot start Apache2 service
Click here to go to the original topic

 
       Apache2Triad Help, Support and Development Forum Index -> Apache
View previous topic :: View next topic  
Author Message
esm



Joined: 21 Jun 2007
Posts: 7

Posted: Thu Jun 21, 2007 3:14 pm    Post subject: Cannot start Apache2 service  

Hi,

I'm new to this forum and new to the Apache "world".

Yesterday I installed Apache2 on XP SP2 and it immediately showed up in the lower right corner and the blurb said that the service had started. However, when I started my PC this morning, no service was running and my attempts to start it failed. Can someone help me?

Thanks,

esm
Back to top  
cigraphics



Joined: 21 Aug 2005
Posts: 148
Location: Romania, Pitesti

Posted: Thu Jun 21, 2007 5:05 pm    Post subject:  

did you made any changes in configuration httpd.conf ?
Back to top  
esm



Joined: 21 Jun 2007
Posts: 7

Posted: Thu Jun 21, 2007 5:24 pm    Post subject:  

Yes, I did make all the changes to the httpd.conf file. I would like to add that I have also MySQL and PHP installed, if that's important in that context.
Back to top  
cigraphics



Joined: 21 Aug 2005
Posts: 148
Location: Romania, Pitesti

Posted: Thu Jun 21, 2007 6:19 pm    Post subject:  

go to Start > Run > type cmd then type httpd -S

and type here the error

if you still have problems add this YmID: cigraphics_net
Back to top  
esm



Joined: 21 Jun 2007
Posts: 7

Posted: Thu Jun 21, 2007 6:37 pm    Post subject:  

I typed httpd -S into the command window and this is what came back:

'httpd' is not recognized as an internal or external command, operable program or batch file.
Back to top  
cigraphics



Joined: 21 Aug 2005
Posts: 148
Location: Romania, Pitesti

Posted: Thu Jun 21, 2007 7:12 pm    Post subject:  

then type apache -S

the letter S must be upper case
Back to top  
esm



Joined: 21 Jun 2007
Posts: 7

Posted: Thu Jun 21, 2007 7:22 pm    Post subject:  

Same result!
Back to top  
cigraphics



Joined: 21 Aug 2005
Posts: 148
Location: Romania, Pitesti

Posted: Thu Jun 21, 2007 8:03 pm    Post subject:  

try httpd -k start or apache -k start

contact my on yahoo cigraphics_net
Back to top  
esm



Joined: 21 Jun 2007
Posts: 7

Posted: Thu Jun 21, 2007 8:11 pm    Post subject:  

Same result on both accounts!

When I try cigraphics_net in yahoo it leads me back to this forum.

Thanks for trying to help.

esm
Back to top  
cigraphics



Joined: 21 Aug 2005
Posts: 148
Location: Romania, Pitesti

Posted: Fri Jun 22, 2007 9:00 am    Post subject:  

try to reinstal apache
Back to top  
esm



Joined: 21 Jun 2007
Posts: 7

Posted: Fri Jun 22, 2007 1:57 pm    Post subject:  

I already did that twice, it always works directly after the install but never after the first reboot.
Back to top  
cigraphics



Joined: 21 Aug 2005
Posts: 148
Location: Romania, Pitesti

Posted: Fri Jun 22, 2007 7:50 pm    Post subject:  

try this:

1. Reinstall apache
2. Make the configuration into the httpd.conf
3. Go to Start > Run > type cmd and press OK the type httpd -S and press Enter
4. If it says The Syntax is OK type httpd -k restart Enter
5. Else atach the configuration file here to help you
Back to top  
esm



Joined: 21 Jun 2007
Posts: 7

Posted: Fri Jun 22, 2007 7:56 pm    Post subject:  

I did that and the httpd command is still not recognized as a command. However, I think I found the problem. I went into All Programs --> Apache2 --> Control Apache server, a window pops up informing me about a syntax error in the httpd.conf file. I fixed that and now it works even after rebooting.

Thanks for the help.

esm
Back to top  
 
       Apache2Triad Help, Support and Development Forum Index -> Apache
Page 1 of 1


Powered by phpBB Search Engine Indexer
Powered by phpBB 2.0.13 © 2001, 2002 phpBB Group