I had my Apache server up and running for about a day, now I can't install the service, even though it finds nothing on port 80 and no other server software is running.
I just reinstalled the entire WAMP package and it still won't run.
I have the same problem - it's reoccurring on my installation.
I've nuked the install, and scrubbed all traces of the installation from my laptop. Then reinstalled and left it all alone. No software, no changes, nothing...
It starts fine on restarts - apache is answering and I can view the wamp page hosted on localhost port 80.
After a few days - apache just refuses to start.
NT Event Log entries from my OS: The wampapache service terminated with service-specific error 1 (0x1).
I'm not an apache guru - so I'm not sure where to start trouble shooting this. If there is a way to increase logging so I can see wtf is going on, I'll be glad to share my findings with anyone who cares.
Otherwise, it's just a useless systray icon and a broke service. :-(
OK, evidently when I reinstalled the default httpd.conf needed to be re-customized.
If you want to find out what error is stopping Apache, just run it from the command line - it will give you the line number in httpd.conf and a brief description.
After tweaking this file my server service is running again, but every time I try to add the virtual hosting section the services crashes again.
Any ideas on that? Again, I did have this working originally........
Syntax error on line 479 of D:/wamp/Apache2/conf/httpd.conf: Invalid command 'Alias', perhaps mis-spelled or defined by a module not included in the server configuration
---
So when I dig into the httpd.conf file, I see this:
--- Alias /manual/ "D:/wamp/Apache2/htdocs/manual/" ---
So... why is apache bitching about this line all of the sudden?
Thanks for the assist. I finally got the httpd.conf tweaked so apache is back up and running, but now I have other issues. I'll start a new thread if I can't find an answer here...
I also have problems with Apache not starting. It used to work fine but now it doesn't. If I start Apache from the command line i get this error message (translated from swedish):
"(OS 10048) Normally only one user is allowed per socket address (protocol/networkaddress/port). : make_sock: could not bind to address 0.0.0.0:80 no listening sockets available, shutting down Unable to open logs"
I'm no expert, but it looks like something is already listening on port 80
run this from a command line:
netstat -a -n
Results will look something like this:
Proto Local Address Foreign Address State TCP 0.0.0.0:80 0.0.0.0:0 LISTENING
If you see port 80 already there then something is already listening on that port - usually a server like apache or IIS, or sometimes I think Skype uses that port.....
yes, I dont know why the developers of skype decided to use port 80 for their program since all web servers use that port. there are thousands of free ports available skype could have chosen to use without causing any problems by using port 80.
i am not sure, some how you swaped httpd.conf files, or maybe you have more than 1 httpd.conf files on your pc for some reason and edited the wrong one.
That's funny... I don't remember mentioning anything about editing any file when I originally posted my issue.
" I've nuked the install, and scrubbed all traces of the installation from my laptop. Then reinstalled and left it all alone. No software, no changes, nothing...
It starts fine on restarts - apache is answering and I can view the wamp page hosted on localhost port 80.
After a few days - apache just refuses to start.
"
Hrm. nope, no mention of editing a file. Oh actually yeah... right there it says "no changes".
If you don't believe me - that's fine. I've had end users lie to me too when I'm supporting them and their PCs. But man... at least give me a chance to prove there might be something amiss in your code that needs some serious un-borking.
If it happens again, I'll know what to look for... and I'll be back. >:-)
you know what, I am just the english forum admin. I do not own/run this site. i dont make any money for anything I do here. I just volunteer my time trying to help other people out when they need some support with wamp, apache, php, etc.
I dont have time to get berated by some ungrateful person who I am trying to help.
I am no longer offering you any type of support for your problem since you dont seem to appreciate the effort I am/have made to try to help you.