Navigate
Home
ArticleWiki
Forum
Journal
Search
Newsletter
Links
Tech News
expertsrt.com
Welcome Guest.
Username:

Password:

Remember me

Another Apache problem
Welcome, Guest. Please login or register.
December 02, 2008, 08:43:12 AM
11304 Posts in 1248 Topics by 498 Members
Latest Member: katCheeme
Experts Round Table Network  |  Webservers  |  Apache  |  Another Apache problem « previous next »
Pages: [1]
Author Topic: Another Apache problem  (Read 1781 times)
tamvla

Offline Offline

Posts: 3


« on: August 18, 2007, 07:11:16 AM »

Hello everyone,

Unlike everybody else, I can't even finish the installation. In the middle of the process I receive an error saying - Only one usage of each socket address (protocol/network address..) allowed: make_sock
However, Apache seems to be installed and Apache Service Monitor is running and http://localhost page is not displayed.  Have to mentioned that I followed a standard installation procedure.
Any help would be greatly appreciated.
Thank you.
Logged
rdivilbiss
Governing Council Member
*
Offline Offline

Posts: 414



WWW
« Reply #1 on: August 18, 2007, 09:05:41 AM »

Welcome:

What platform, OS, installed programs etc. are you using and which version of Apache are you installing
Logged

Rod
CrYpTiC_MauleR
Site Builder

Offline Offline

Posts: 489



WWW
« Reply #2 on: August 18, 2007, 09:32:00 AM »

Its likely you have another application using the port that Apache is trying to use. Check your httpd.conf file and see what the 'Listen' directive is set as. It usually is 80, 8000, or 8080. You can also go to the start menu START -> RUN -> cmd then click Ok

Note: Make sure Apache is turned off before doing this.
Once the command prompt window opens type in

netstat -a

then press ENTER on keyboard.

This way we can see if anything is listening on the ports above. Go to the drop down menu for the window click SELECT ALL then COPY and paste that to us. Edit out any personal info like your username etc if you wish before pasting.
Logged

[x] Fight | www.crypticmauler.com
"You must be
tamvla

Offline Offline

Posts: 3


« Reply #3 on: August 18, 2007, 07:41:36 PM »

Hi again,

Thank you for such a prompt reply. OS is Windows XP Professional and it's installed on Intel Pentium D. I tried to install Apache 2 and PHP5. All the files were downloaded from apache. org and php.net.I can't verify them just yet. "Listen" directive is set to 80.
Previously I installed Apache 2.2 without realizing it's not compatible with PHP 5. I had a similar problem with Apache 2.2 but somehow it worked.

This is what I got from cmd

Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.


C:\Documents and Settings\User>netstat

Active Connections

  Proto  Local Address          Foreign Address        State
  TCP    new-bmb2lbz92hk:1083   user-142h0jo.cable.mindspring.com:38428  ESTABLI
SHED
  TCP    new-bmb2lbz92hk:1144   by2msg1104006.phx.gbl:1863  ESTABLISHED
  TCP    new-bmb2lbz92hk:2869   10.0.0.138:1177        CLOSE_WAIT
  TCP    new-bmb2lbz92hk:2869   10.0.0.138:1179        CLOSE_WAIT
  TCP    new-bmb2lbz92hk:2869   10.0.0.138:1181        CLOSE_WAIT
  TCP    new-bmb2lbz92hk:2869   10.0.0.138:1183        CLOSE_WAIT
  TCP    new-bmb2lbz92hk:2869   10.0.0.138:1185        CLOSE_WAIT
  TCP    new-bmb2lbz92hk:2869   10.0.0.138:1187        CLOSE_WAIT
  TCP    new-bmb2lbz92hk:57465  localhost:1610         TIME_WAIT
  TCP    new-bmb2lbz92hk:1081   localhost:1082         ESTABLISHED
  TCP    new-bmb2lbz92hk:1082   localhost:1081         ESTABLISHED
  TCP    new-bmb2lbz92hk:1084   localhost:27015        ESTABLISHED
  TCP    new-bmb2lbz92hk:1142   localhost:1143         ESTABLISHED
  TCP    new-bmb2lbz92hk:1143   localhost:1142         ESTABLISHED
  TCP    new-bmb2lbz92hk:1333   localhost:1334         CLOSE_WAIT
  TCP    new-bmb2lbz92hk:1539   localhost:1540         FIN_WAIT_2
  TCP    new-bmb2lbz92hk:1605   localhost:1604         TIME_WAIT
  TCP    new-bmb2lbz92hk:1608   localhost:1607         TIME_WAIT
  TCP    new-bmb2lbz92hk:27015  localhost:1084         ESTABLISHED

C:\Documents and Settings\User>


Thank you very much for your help.
Logged
VGR
Mentor

Offline Offline

Posts: 682



WWW
« Reply #4 on: August 18, 2007, 11:57:22 PM »

most probably : your apache 2.2 installation is still active and is "running as a service for all users [recommended]" (sic!) and you didn't uninstall it before installing the 2.0.59 or 1.3.x branch's Apache ;

PS Apache 2.2 works perfectly with PHP 5 (but it's only since some while now ; originally it didn't work)
Logged

techie overlord, answers all kind of questions on http://www.europeanexperts.org
tamvla

Offline Offline

Posts: 3


« Reply #5 on: August 19, 2007, 12:00:11 AM »

Thank you. I did uninstall Apache 2.2 but maybe some pieces have been left out. I will do a clean installation and see how I go this time around. ;-)
Logged
VGR
Mentor

Offline Offline

Posts: 682



WWW
« Reply #6 on: August 19, 2007, 11:56:53 PM »

(suggestion) first have a look in the management console (mmc.something in %windir%/%system32% or "my computer"/manage) to see if there isn't an old apache service running.
such things happen, especially if you've more than one user on the machine and some do not have administrative privileges but try to (un)install anyway... mangling made certain ;-)
Logged

techie overlord, answers all kind of questions on http://www.europeanexperts.org
Pages: [1]
« previous next »
    Jump to: