Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

:'( I Cant get Apache to WORK someonepls HELP

Status
Not open for further replies.

Developerman2000

Programmer
Dec 9, 2002
10
GB
I have started using Apache again after a long break and I cant get it to work properlt I am getting the error:

'The System cannot find file specified : " No installed service named Apache2"'

I know this is such a simple problem which i why I need some HELP HELP! :)

My server and listen name are set to my IP which is correct i think!

PLEASE HELP :'(
 
Let me guess. Windows right? If apache is still on your machine, you just need to install it as a service. Use the following command from apache's bin directory unless this directory is in your path:

apache -k install

If you want a different service name other than apache2, you can use the -n switch:

apache -k install -n myservicename

When ever you edit httpd.conf, you'll need to restart apache. That is done with the following command:

apache -k restart

 
thanks I have tried what u suggest but when I run the apache service from the apache console windows i get ERROR 2 the system cannot find specified file.

is this a problem with version 2 cause i installed an older version and it worked fine I think I will stick with old version 1.3.2 if you can tell me does it support PHP & MYSQL

else any further ideas as to why i cant get apache running

when i tried the command line stuff i got error below

C:\Program Files\Apache Group\Apache2\bin>apache -k install -n myservicename
(OS 10048)Only one usage of each socket address (protocol/network address/port)
is normally permitted. : make_sock: could not bind to address 81.1.72.252:80
no listening sockets available, shutting down
Unable to open logs


MANY THANKS
 
oops - forgot to mention that your error sounds like another instance of apache seems to be running or you have something using port 80. Not kazaa I hope. :)

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top