473,387 Members | 1,882 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Apache with vista

hey guys, i'm currently using the newest version of apache with vista business. after finishing installing, it pops up an error msg saying that i must change my httpd config before using the service. it also prompts a small error msg box.

when i try to manually start the apache service, it says <0S 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.

when i try to click on Monitor Apache Servers, it juz prompts the same small error msg box.

but when i tried going http://localhost/, it actually works.

and everytime when i turn on my com, the same small error msg box appears.

can anyone help?
Jun 5 '07 #1
24 15565
Motoma
3,237 Expert 2GB
It sounds like Apache is trying to start twice. I am not sure why this would happen, the only way I could think of getting this to happen is to enable it as a service AND put a shortcut in the Startup/Registry Run. In XP you could check for multiple occurrences of Apache with msconfig, but I am not sure with Vista.
Jun 5 '07 #2
isit because IIS is running?
Jun 6 '07 #3
Motoma
3,237 Expert 2GB
isit because IIS is running?
Good question! I completely missed that option when I was thinking about this.
Jun 6 '07 #4
r035198x
13,262 8TB
hey guys, i'm currently using the newest version of apache with vista business. after finishing installing, it pops up an error msg saying that i must change my httpd config before using the service. it also prompts a small error msg box.

when i try to manually start the apache service, it says <0S 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.

when i try to click on Monitor Apache Servers, it juz prompts the same small error msg box.

but when i tried going http://localhost/, it actually works.

and everytime when i turn on my com, the same small error msg box appears.

can anyone help?
Maybe if you change the port ...
Jun 6 '07 #5
how do u change the port? sorry trying to learn here =)
Jun 10 '07 #6
Motoma
3,237 Expert 2GB
how do u change the port? sorry trying to learn here =)
You will not want to change the port until you determine that there is another web server already running on your machine.
Jun 10 '07 #7
r035198x
13,262 8TB
how do u change the port? sorry trying to learn here =)
I just installed on vista and got the same message. IIS is running alright. I changed the port to 8081 by changing the Listen line in the httpd.conf file.
Jun 12 '07 #8
# Listen: Allows you to bind Apache to specific IP addresses and/or
# ports, instead of the default. See also the <VirtualHost>
# directive.
#
# Change this to Listen on specific IP addresses as shown below to
# prevent Apache from glomming onto all bound IP addresses (0.0.0.0)
#
#Listen 12.34.56.78:80 <---- this line? or
Listen 80 <---- this?
Jun 13 '07 #9
r035198x
13,262 8TB
# Listen: Allows you to bind Apache to specific IP addresses and/or
# ports, instead of the default. See also the <VirtualHost>
# directive.
#
# Change this to Listen on specific IP addresses as shown below to
# prevent Apache from glomming onto all bound IP addresses (0.0.0.0)
#
#Listen 12.34.56.78:80 <---- this line? or
Listen 80 <---- this?
The second line. The first line is an example, that's why it's commented out with the # .
Jun 13 '07 #10
yea, it works after changing the port to 8081. but problems start arising one after another. arghh! everytime i boot up my laptop, there is this small pop up error box whenever apache starts automatically i think.

Also, the testing of localhost works when i was having the error of manually starting apache. after changing to 8081, localhost doesnt work anymore =(
Jun 15 '07 #11
Motoma
3,237 Expert 2GB
yea, it works after changing the port to 8081. but problems start arising one after another. arghh! everytime i boot up my laptop, there is this small pop up error box whenever apache starts automatically i think.

Also, the testing of localhost works when i was having the error of manually starting apache. after changing to 8081, localhost doesnt work anymore =(
Rather than change your Apache port, why not disable IIS (if this is what you have concluded was taking up port 80)?
Jun 15 '07 #12
r035198x
13,262 8TB
Rather than change your Apache port, why not disable IIS (if this is what you have concluded was taking up port 80)?
Also I don't recommend installing Apache as a service that starts automatically, but then that's just me ...
Jun 15 '07 #13
Motoma
3,237 Expert 2GB
Also I don't recommend installing Apache as a service that starts automatically, but then that's just me ...
Oh? Why do you recommend against this?
Jun 15 '07 #14
r035198x
13,262 8TB
Oh? Why do you recommend against this?
Generally I want to manually open ports as much as possible not have some programs open ports for themselves "behind my back". From their installation instructions
"
Select for All Users, on Port 80, as a Service - Recommended if you'd like your new Apache to listen at port 80 for incoming traffic. It will run as a service (that is, Apache will run even if no one is logged in on the server at the moment) Select only for the Current User, on Port 8080, when started Manually if you'd like to install Apache for your personal experimenting or if you already have another WWW server running on port 80."
You don't want to have a port open that you are not using.
My bet is that it is possible for this open port to be manipulated by ...
Jun 15 '07 #15
Motoma
3,237 Expert 2GB
Generally I want to manually open ports as much as possible not have some programs open ports for themselves "behind my back". From their installation instructions
"
Select for All Users, on Port 80, as a Service - Recommended if you'd like your new Apache to listen at port 80 for incoming traffic. It will run as a service (that is, Apache will run even if no one is logged in on the server at the moment) Select only for the Current User, on Port 8080, when started Manually if you'd like to install Apache for your personal experimenting or if you already have another WWW server running on port 80."
You don't want to have a port open that you are not using.
My bet is that it is possible for this open port to be manipulated by ...
Completely understandable. If I were to paraphrase, your position would be, "Only install as a service if you intend your machine to be a web server; running Apache as a service on your desktop places both an unnecessary risk, and additional computation on your personal computer."
Jun 15 '07 #16
r035198x
13,262 8TB
Completely understandable. If I were to paraphrase, your position would be, "Only install as a service if you intend your machine to be a web server; running Apache as a service on your desktop places both an unnecessary risk, and additional computation on your personal computer."

I'm not good at paraphrasing so I'll accept that.
Jun 16 '07 #17
Hello,

I've managed to get Apache running under Vista. If I type in http://localhost, I get the "It works!" page fine.

My problem is that PHP files aren't being executed - if I type in test.php, it will just dump the source code of the file into the browser.

Any idea what I'm doing wrong?
Sep 13 '07 #18
Hello,

I've managed to get Apache running under Vista. If I type in http://localhost, I get the "It works!" page fine.

My problem is that PHP files aren't being executed - if I type in test.php, it will just dump the source code of the file into the browser.

Any idea what I'm doing wrong?
How silly of me! Apache's just the web server - I need to install the PHP module!

In fact, I'll just install PHP and use it with IIS 7!
Sep 13 '07 #19
My new OS is Vista Business. I had IIS on XPpro and it worked fine. On Vista, IIS wouldn't work. I downloaded the latest Apache .msi and installed it. My problem is that my web site is visible when Windows Firewall is turned off, but is invisible when turned on. I can't seem to find the way to get past the firewall. Thanks, Don
Dec 11 '07 #20
To install Apache, I downloaded the latest .msi file. I double clicked it and it installed without any problem. I didn't have to go through the command line.
Don
Dec 11 '07 #21
On Vista, IIS wouldn't work.
I encountered the same problem a while ago with my IIS6 (Vista). I did what's on this site and it worked.

http://www.howtogeek.com/howto/windo...windows-vista/

Hope this help,
Matt
Jan 4 '08 #22
Emms
1
Does anyone know how to disable IIS on Vista so it doesn't listen on port 80???
Feb 1 '08 #23
Does anyone know how to disable IIS on Vista so it doesn't listen on port 80???
Just "upgraded" to vista since a zune update and intel wirless driver update from windows update corrupted my laptop.

Anyways, you can either uninstall iis, reverse steps from the link above your request, or "edit bindings" in iis to listen on a different port. Comp management->Services-> IIS -> default web site (or whatever you named your web site) -> right click and select edit bindings. Change the port IIS uses (80 for web by default).

This is useful for the initial install of apache to make life easier using the msi. Then you can change apaches ports (Listen: port), and move iis back if you want.

if you tell apache to install as a service, you can later edit the service startup to manual, or start automatically. Then the apache monitor can start it with a simple right click of the task bar apache monitor icon. otherwise, you will have to start apache manually and have a command window open as the daemon runs (Apache service, in *nix everything is a daemon instead of a service).

Just what I find easier. Then I know what is running, and get the ease of use of point and click.
Feb 2 '08 #24
Have had no end of problems running Apache (within WAMP-Server 2) - on my laptop (Vista).

Could not run PHPMyAdmin - 404 errors.

Eventually found out about the PORT 80 thingy - changed Apache to listen on 8080 - and presto Apache worked - but not "PMA"

So back again - this morning I just by chance hit the combination 'ii' when I was searching for a competely diffferent set of files and Hey Presto at the top of the list of programs up pops "Internet Information Manager IIS" opened it up and there found a Default Database "Binding 80" changed that to 8080 and the rest is History.

All working fine - now all I have to do is learn how to develop a web served database using WAMP Server 2 (which comes with II7 anyway) see you all in about ten years.
BachStrad
Jul 6 '08 #25

Sign in to post your reply or Sign up for a free account.

Similar topics

3
by: sgottenyc | last post by:
Hello, Has anyone had any success running SQL Server Express on Vista with Apache via PHP? My PHP works fine, Apache works fine, and SQL Server Express works fine in Management Studio, but I...
0
by: Bisheshwar | last post by:
I have system installed Window Vista Busines. I try to Apache Server 2.2. Atfer installing, server is running. Apache Monitor shows "no service installed" Mesage. Please help me .
0
by: sebor | last post by:
October 29, 2007 -- The Apache C++ Standard Library project is pleased to announce that the official stdcxx 4.2.0 release is now available for download from the following location:...
0
by: waltrutka | last post by:
after installing apache server on vista 64 bit , how do i get to it remotely ( say through internet explorer ) i set it up as local host and i use an isdn connection and can get my ip address ...
1
by: aphrodite | last post by:
Hi! I'm trying to install Apache Server 2 on Windows Vista. I want to set it as a local host. But at the end I get a message saying no service has been installed, or something like that. And, of...
4
by: wassimdaccache | last post by:
Dear sirs, Could you please provide me some information about apache web server. Actually my goal is to design a form on my website that contain a submit button and textbox and each time I...
0
by: rbeech23 | last post by:
I've been trying to get this working and encountering problems I've worked out how to set up the mod_jk.conf file, the workers.properties, amendment of server.xml and httpd.conf Tomcat appears okay...
4
by: krraleigh | last post by:
Just loaded tomcat apache for the first time and I can't seem to get it to work. Is there something special about my config that won't allow me to use tomcat? vista business jre 1.6.0_07 jdk ...
6
by: josequinonesii | last post by:
I've searched, I've read, I've tested and re-read numerous post but to no avail yet... Quite simply, the settings I've applied to my httpd.conf, httpd-vhost.conf and my hosts files simply does not...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.