logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Apache View previous topic :: View next topic
Reply to topic   Topic: Apache Installation Problem 2.0.59
Author
nickbarling



Joined: 27 Aug 2006
Posts: 8
Location: Seattle

PostPosted: Sun 27 Aug '06 4:12    Post subject: Apache Installation Problem 2.0.59 Reply with quote

Hi all,

I have been trying to install Apache 2.0.59 on a Win XP Pro (SP2) PC.

I do not have IIS running but I do have Coldfusion 6.1 running on Port 8500 and I did have ColdFusion MX7 running on Port 8501 but I have uninstalled this version.

On downloading Apache 2.0.59 Win 32 Binary (MSI) all seems to go well. I run the Installer Package and complete the Install Wizard, selecting 'localhost' for the network domain and server name (as I wish to only test locally). I also select all users on 'Port 80'. I chose the typical installation and the default Apache groups folder.

As the Wizard completes I get two separate warnings:

Only one socket can be used...etc cannot bind to port 80. Make-sock could not be bound.

AND

The system could not find the file: No 'Apache2' file found.

The wizard completes and the Apache monitor icon appears in the tray but on mouse over it says 'no services installed'. On opening the services folder there is no Apache Sewrver visible. I cannot check error logs as they were not created.

I uninstalled Apache and manually deleted the Apache Groups folder, which did not get deleted on auto uninstall, and tried the whole process again using Port 8080 as a user option. This resulted in the same situation.

I tried installing on another machine with IIS running and ColdFusion and I got the same result.

Does anyone have any idea what I have missed or done incorrectly?

PS. I intend loading PHP and MySQL once I have Apache 2.0.59 running.

Thanks in advance.

NB
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7373
Location: Germany, Next to Hamburg

PostPosted: Sun 27 Aug '06 12:05    Post subject: Reply with quote

Please see here: http://www.apachelounge.com/viewtopic.php?t=570
If there are still any questions, ask again, pleace!
Back to top
Steffen
Moderator


Joined: 15 Oct 2005
Posts: 3092
Location: Hilversum, NL, EU

PostPosted: Sun 27 Aug '06 13:04    Post subject: Reply with quote

2.0.59 is legacy/old. Any reason why do not wnat to run Apache 2.2.x ?

What happens if you run apache in a Dos box by typing ?

To run in a Dos box type:

>apache.exe -e debug

Maybe you can follow James suggestion and install the Apache from the Lounge.

Steffen
Back to top
nickbarling



Joined: 27 Aug 2006
Posts: 8
Location: Seattle

PostPosted: Sun 27 Aug '06 18:42    Post subject: Apache 2.0.59 vs Apache 2.2 and Install problems Reply with quote

Steffan,

Thank you for your reply. I still have the install problem (C++ redistribute file had no effect on 2.0.59 install), but I have stopped working on this problem to anser your query on Apache version 2.2.

I am working from a PHP for Dreamweaver book by friendsofed. The author recommends not using 2.2 because it is incompatible with PHP for Windows. See the reference: http://www.friendsofed.com/errata.html?isbn=1590595696

If you think that this is incorrect please let me know and I will (try to) install Apache 2.2.

Thanks

NB
Back to top
nickbarling



Joined: 27 Aug 2006
Posts: 8
Location: Seattle

PostPosted: Sun 27 Aug '06 18:55    Post subject: Reply with quote

Steffan,

To answer your question about using cmd prompt, I get the following:

C:\Documents and Settings\Nick Barling>apache.exe -e debug
'apache.exe' is not recognized as an internal or external command, operable program or batch file.

Thanks

NB
Back to top
Steffen
Moderator


Joined: 15 Oct 2005
Posts: 3092
Location: Hilversum, NL, EU

PostPosted: Sun 27 Aug '06 19:02    Post subject: Reply with quote

Most of us running here php5.1 / Apache2.2 on windows here. And it was always compatible by using the Apachehandler from here.

But no problem that you use 2.0.59 it should work.

You typed: C:\Documents and Settings\Nick Barling>apache.exe -e debug

Is C:\Documents and Settings\Nick Barling the folder you installed Apache ?

Navigate in the DOS command window to the apache/bin folder and there you type the command.

Steffen
Back to top
nickbarling



Joined: 27 Aug 2006
Posts: 8
Location: Seattle

PostPosted: Sun 27 Aug '06 19:40    Post subject: Reply with quote

Hi Steffan,

I get the following:


C:\Program Files\Apache Group\Apache2\bin>apache.exe -e debug
[Sun Aug 27 10:33:36 2006] [debug] mod_so.c(248): loaded module access_module
[Sun Aug 27 10:33:36 2006] [debug] mod_so.c(248): loaded module actions_module
[Sun Aug 27 10:33:36 2006] [debug] mod_so.c(248): loaded module alias_module
[Sun Aug 27 10:33:36 2006] [debug] mod_so.c(248): loaded module asis_module
[Sun Aug 27 10:33:36 2006] [debug] mod_so.c(248): loaded module auth_module
[Sun Aug 27 10:33:36 2006] [debug] mod_so.c(248): loaded module autoindex_module

[Sun Aug 27 10:33:36 2006] [debug] mod_so.c(248): loaded module cgi_module
[Sun Aug 27 10:33:36 2006] [debug] mod_so.c(248): loaded module dir_module
[Sun Aug 27 10:33:36 2006] [debug] mod_so.c(248): loaded module env_module
[Sun Aug 27 10:33:36 2006] [debug] mod_so.c(248): loaded module imap_module
[Sun Aug 27 10:33:36 2006] [debug] mod_so.c(248): loaded module include_module
[Sun Aug 27 10:33:36 2006] [debug] mod_so.c(248): loaded module isapi_module
[Sun Aug 27 10:33:36 2006] [debug] mod_so.c(248): loaded module log_config_modul
e
[Sun Aug 27 10:33:36 2006] [debug] mod_so.c(248): loaded module mime_module
[Sun Aug 27 10:33:36 2006] [debug] mod_so.c(248): loaded module negotiation_modu
le
[Sun Aug 27 10:33:36 2006] [debug] mod_so.c(248): loaded module setenvif_module
[Sun Aug 27 10:33:36 2006] [debug] mod_so.c(248): loaded module userdir_module
(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

C:\Program Files\Apache Group\Apache2\bin>

I checked my services again and I definately do not have IIS running on port 80; so I don't know what the problem is?

Thanks

NB
Back to top
Steffen
Moderator


Joined: 15 Oct 2005
Posts: 3092
Location: Hilversum, NL, EU

PostPosted: Sun 27 Aug '06 19:49    Post subject: Reply with quote

Sure no other server running ?

Some sofware firewall/visruscsnaerr etc running ? Uninstall if yes (disabling is mostly not enough).

Btw. What is your Listen diective in the Apache httpd.conf ?

Steffen
Back to top
nickbarling



Joined: 27 Aug 2006
Posts: 8
Location: Seattle

PostPosted: Sun 27 Aug '06 21:30    Post subject: Reply with quote

Steffan,

I have uninstalled Norton Security completely and installed IIS. I turned off IIS in the Services panel.

I restarted the PC.

I installed the Apache 2.0.59 server and the samr thing happened. Unable to bind to port 80....AND no Apache2 file found warning messages.

The httpd.conf is set to Listen 80.

I am now running out of ideas.

Thanks

NB
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7373
Location: Germany, Next to Hamburg

PostPosted: Sun 27 Aug '06 21:36    Post subject: Reply with quote

Do you run skype?
Back to top
nickbarling



Joined: 27 Aug 2006
Posts: 8
Location: Seattle

PostPosted: Sun 27 Aug '06 21:41    Post subject: Reply with quote

Yes!

What should I do with it?

Thanks

NB
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7373
Location: Germany, Next to Hamburg

PostPosted: Sun 27 Aug '06 21:49    Post subject: Reply with quote

I don't know the english version, but skype uses Port 80. Shut it down and than try your apache Wink
Somewhere in the option you can set that skype don't use Port 80 and 443
Back to top
nickbarling



Joined: 27 Aug 2006
Posts: 8
Location: Seattle

PostPosted: Sun 27 Aug '06 21:53    Post subject: Reply with quote

Steffan, James,

The problem is resolved. I am not sure how but I think that by installing IIS and then turning it off, and then running the repair Apache installation solved the problem???

I now have Apache 2.0.59 running thanks to your help.

Now for PHP and MYSQL........

Thanks again

PS Steffan, although I am in Seattle I often visit Holland and fish the Hilversum canal!

NB
Back to top
Steffen
Moderator


Joined: 15 Oct 2005
Posts: 3092
Location: Hilversum, NL, EU

PostPosted: Mon 28 Aug '06 13:58    Post subject: Reply with quote

The canal is near to me. I used to fish there also. When you there again, give me a sign and we get some coffee.

Steffen

ps.
Use my little proggie to check your php and mysql installation, www.apachelounge.com/download/mysqlinfo.zip
Back to top
nickbarling



Joined: 27 Aug 2006
Posts: 8
Location: Seattle

PostPosted: Mon 28 Aug '06 18:27    Post subject: Reply with quote

Hi Steffan,

Thanks for the PHP/MySQL checker, I will definately use it when I get MySQL installed. PHP 5.1.6 is now installed and looks good, so only MySQL to go.

I will hopfully be Holland in for the early May holiday next year and I will call you if I make it.

Thanks again.

NB
Back to top


Reply to topic   Topic: Apache Installation Problem 2.0.59 View previous topic :: View next topic
Post new topic   Forum Index -> Apache