Connecting Tech Pros Worldwide Help | Site Map

Apache2 starting problem

Member
 
Join Date: Mar 2007
Posts: 100
#1: Mar 28 '07
Hi,
I have installed Apache2.
Wen i say start it gives an error"System cannot find the specified:No installed service named apache2"

What is the problem...???

Thanks
Newbie
 
Join Date: Mar 2007
Posts: 30
#2: Mar 28 '07

re: Apache2 starting problem


hi if you are working on windows machinr install .msi file for apache it works.

Quote:

Originally Posted by rag84dec

Hi,
I have installed Apache2.
Wen i say start it gives an error"System cannot find the specified:No installed service named apache2"

What is the problem...???

Thanks

Member
 
Join Date: Mar 2007
Posts: 100
#3: Mar 28 '07

re: Apache2 starting problem


i installed the MSI itself
But wen i say start from start->all programs->apache server->control apache server->start
it will give the above mentioned error
vpmurdan's Avatar
Newbie
 
Join Date: Feb 2007
Posts: 25
#4: Mar 28 '07

re: Apache2 starting problem


Hi.
Check in the 'Services' whether the 'Apache2 service' is created. If not, you can create it by:

1. open the command prompt
2. go to the 'bin' directory of Apache . Somewhere like ' Z:\Program Files\Apache Group\Apache\bin'
3. type the following code:

Expand|Select|Wrap|Line Numbers
  1. apache -k install -n apache2
  2.  
Try to start your apache server

Prakash
Member
 
Join Date: Mar 2007
Posts: 100
#5: Mar 28 '07

re: Apache2 starting problem


(OS 10048)Only one usage of each socket address (protocol/network address/port)
is normally permitted. : make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
Unable to open logs

This is wat i am getting...wat might be the problem??
miller's Avatar
Moderator
 
Join Date: Oct 2006
Location: San Francisco, CA
Posts: 830
#6: Mar 28 '07

re: Apache2 starting problem


Hi rag84dec,

It appears that people are able to find this thread and are managing to help you some.

However, this is more specifically an Apache issue, not a perl one, so I'm moving this thread to the Apache forum.

- Miller
Motoma's Avatar
Moderator
 
Join Date: Jan 2007
Location: Maine, USA
Posts: 2,904
#7: Mar 29 '07

re: Apache2 starting problem


What installer did you use to setup Apache?
Member
 
Join Date: Mar 2007
Posts: 100
#8: Mar 30 '07

re: Apache2 starting problem


http://httpd.apache.org/docs/2.2/

I installed thgis apache2.
I still getting the same error.As mentioned above.

Please someone give the link to an apache server download.

give me details plssssssss
Motoma's Avatar
Moderator
 
Join Date: Jan 2007
Location: Maine, USA
Posts: 2,904
#9: Mar 30 '07

re: Apache2 starting problem


If you are just looking to install Apache, this is a good one to go with. I would suggest uninstalling Apache and reinstalling in, making sure to install it as a service (not sure what the option's wording will be on this, sorry).
Newbie
 
Join Date: Apr 2007
Posts: 1
#10: Apr 4 '07

re: Apache2 starting problem


Hi! I seem to have encountered the same error.

Installed using XAMPP and on it's control panel, I get the message:

Error - Apache service not started [-1]

I've installed it as a service (during installation) and whenever i try to manually start Apache, it works. Only in the control panel it fails.

Any insights? Thanks a lot in advance :)
Motoma's Avatar
Moderator
 
Join Date: Jan 2007
Location: Maine, USA
Posts: 2,904
#11: Apr 4 '07

re: Apache2 starting problem


You get a message like this, I would suggest you take a look at the apache error logs.
Newbie
 
Join Date: May 2007
Posts: 1
#12: May 16 '07

re: Apache2 starting problem


Just change this line

Listen 80
to
Listen 3128

in httpd.conf file

The problem will be solved ;-)

Articles and Discussion
Newbie
 
Join Date: Jul 2007
Posts: 1
#13: Jul 16 '07

re: Apache2 starting problem


Little bit of a tip for you all. BEFORE you install Apache try typing the url: http://localhost/ into a webbrowser. See if it brings up anything.

I got this problem because some crappy television program guide that came with my tv tuner card installed itself as a webservice, and was already binding itself to port 80. Seeing as how I never used it, uninstalling it fixed the problem.

Hope this helps someone.
Motoma's Avatar
Moderator
 
Join Date: Jan 2007
Location: Maine, USA
Posts: 2,904
#14: Jul 17 '07

re: Apache2 starting problem


Quote:

Originally Posted by BoneIdol

Little bit of a tip for you all. BEFORE you install Apache try typing the url: http://localhost/ into a webbrowser. See if it brings up anything.

I got this problem because some crappy television program guide that came with my tv tuner card installed itself as a webservice, and was already binding itself to port 80. Seeing as how I never used it, uninstalling it fixed the problem.

Hope this helps someone.

That's wild. Thanks for the input BoneIdol and welcome to The Scripts :)
Newbie
 
Join Date: Oct 2008
Posts: 1
#15: Oct 21 '08

re: Apache2 starting problem


Quote:

Originally Posted by Motoma

That's wild. Thanks for the input BoneIdol and welcome to The Scripts :)

Quote:

Originally Posted by Motoma

That's wild. Thanks for the input BoneIdol and welcome to The Scripts :)

[WINDOWS]
-Go to start then run, type services.msc.
-Find apache service on the right pane "apache2.2" or something close to that.
-Right click and go to properties.
- Go to general tab.
- Look at " Path to executable:"
- Move your apache folder (in xampp folder or something like that) to where the above path direct it to. Create folders if you have to. Mine i had to create "apachefriends" and "xampp" folders at "c:\apachefriends\xampp\" and then paste Mysql and Apache folders in it . If your mysql starts properly , then there is no need to move the folder mysql from your xampp installation folder.

NB:
This is a rather quick and mixing up your system solution BUT its because xampp was installed after WAMP was installed and then WAMP uninstalled when xampp wa already installed. hope you get the idea.

Good luck:
Joseph - Kenya - East Africa
Reply