Page 1 of 1

Apache can't be started

PostPosted: 27. February 2006 08:20
by david_hoepelman
Hello,
yesterday suddenly my localhost gave on every page a blank screen, after going trough the processes and control panel, i saw that the apache service coudn't be started.
I decided to uninstall my old xampp 1.4.7 and install 1.5.1, but this time the service couldn't be started too! I don't know what to do, could you please help me?
another tyhing, when you try to start the service from the "services" configuration (in control panel) , it says: "Couldn't start service Apache2, if this isn't a microsoft service, you should contact the manifacturer and specify errorcode 1"

PostPosted: 27. February 2006 08:36
by WorldDrknss
go to start run type cmd.exe
then type
sc delete Apache2
then reinstall the service with "apache_installservice.bat" in "\xampp\apache".

http://xampptutorials.com

PostPosted: 27. February 2006 09:04
by david_hoepelman
Nope, error:
testing httpd.conf
Errors reported here must be fixed before service can be started
(OS 10048) Every socketaddress (protocol/network adress/port) can normally only be used once . : make_sock: could not bind to adress 0.0.0.0:80 no listening port available, shutting down
unable to open logs
Now we start Apache2 :)
Coudn't be started blablalbla etc etc etc

specific error: 1
typ NET HELPMSG 3547 for more help
Press any key to continue...

(sorry if the grammar is a bit bad, I translated the dutch messages to english)
NET HELPMSG 3547 doesn't provide much information too, is says "Reference the manifacturers manual for more information"

Also, my mysql service can't be started too! :( Is there any way to acces one table in a database while the service is down?

PostPosted: 27. February 2006 11:45
by Wiedmann
(OS 10048) Every socketaddress (protocol/network adress/port) can normally only be used once . : make_sock: could not bind to adress 0.0.0.0:80 no listening port available, shutting down

There is allready another webserver running on your system. Try "xampp-portcheck.exe".

PostPosted: 27. February 2006 12:55
by david_hoepelman
After a DEP warning an a crash, It says that skyp0e is using port 80, will try disabling it.

It works!! thank you

(i'm using skype 2 btw, maybe a bug in it or something?)

PostPosted: 27. February 2006 12:57
by david_hoepelman
only now the mysql service or just starting doesn't work, no error at installservice.bat or something...

PostPosted: 27. February 2006 13:04
by Wiedmann
It says that skyp0e is using port 80,

Right. You can disable this behaviour in the Skype settings --> Skype manual

only now the mysql service or just starting doesn't work, no error at installservice.bat or something...

Windows logs?

BTW:
You can start MySQL with "mysql_start.bat"?

PostPosted: 27. February 2006 13:18
by david_hoepelman
no, can't start it too with mysql_start.bat, this is the error that it gives:
Can't find messagefile in C:\Program Files\C:\Program Files\xampp\mysql\share\english\errmsg.sys
The C:\Program Files\ twice isn't a typo or something, it is what it says.

PostPosted: 27. February 2006 13:39
by Wiedmann
Are the paths correct in "\xampp\mysql\bin\my.cnf"?

PostPosted: 27. February 2006 15:54
by david_hoepelman
No, that was the problem, everywhere stood C:/Program FilesC:/Program Files, I edited it and it seems to work! Thank you!