XAMPP Start up problems

Problems with the Windows version of XAMPP, questions, comments, and anything related.

XAMPP Start up problems

Postby Lambo » 30. August 2006 14:47

Hey Guys, i dont know what's wrong, i have installed XAMPP before and everything worked fine. then uninstalled it because i didnt need it anymore..

Now when i install it. *installed fine*

when i click on "Start" for "Apache" it does nothing. same as the MySql..

:S i wouldnt have a clue where ive gone wrong, i tryed uninstalling and reinstalling but nothing..

i have windows XP if that helps. and xampp-win32-1.5.0-pl1-installer.exe if that means anything.

thanks for taking the time in reading my msg...

Daniel.
Lambo
 
Posts: 14
Joined: 30. August 2006 14:39

Postby Lambo » 30. August 2006 15:06

Just installed the latest version...

still does the same thing.
Lambo
 
Posts: 14
Joined: 30. August 2006 14:39

Postby Lambo » 30. August 2006 15:16

when i go into CMD and type in c:\xampp\apache_start.bat

it comes up with could not bind to address 0.0.0.0:80

maybe that helps?
Lambo
 
Posts: 14
Joined: 30. August 2006 14:39

Postby Izzy » 30. August 2006 21:59

Lambo wrote:when i go into CMD and type in c:\xampp\apache_start.bat

it comes up with could not bind to address 0.0.0.0:80

maybe that helps?
Open xampp/apache/conf/httpd.conf in your fav. text editor and find this section:
Code: Select all
#
# 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
Listen 80

If the line Listen 0.0.0.0:80 is displayed then change it to how it looks like in the code snippet above - Listen 80

Save it and try and restart Apache again.
Izzy
 
Posts: 3344
Joined: 25. April 2006 17:06

Postby WorldDrknss » 30. August 2006 22:48

could not bind to address 0.0.0.0:80

Means that there is already something running on port 80

Run xampp-portcheck.exe or you can go to start -> run -> type cmd -> ok -> type netstat -b

to see what is using port 80
http://wdguides.org - XAMPP Tutorials & MORE!!!!
User avatar
WorldDrknss
 
Posts: 292
Joined: 17. September 2005 13:40

Postby Izzy » 30. August 2006 23:00

Run xampp-portcheck.exe or you can go to start -> run -> type cmd -> ok -> type netstat -b

netstat -b ?

Code: Select all
Displays protocol statistics and current TCP/IP network connections.

NETSTAT [-a] [-e] [-n] [-o] [-s] [-p proto] [-r] [interval]

  -a            Displays all connections and listening ports.
  -e            Displays Ethernet statistics. This may be combined with the -s
                option.
  -n            Displays addresses and port numbers in numerical form.
  -o            Displays the owning process ID associated with each connection.
  -p proto      Shows connections for the protocol specified by proto; proto
                may be any of: TCP, UDP, TCPv6, or UDPv6.  If used with the -s
                option to display per-protocol statistics, proto may be any of:
                IP, IPv6, ICMP, ICMPv6, TCP, TCPv6, UDP, or UDPv6.
  -r            Displays the routing table.
  -s            Displays per-protocol statistics.  By default, statistics are
                shown for IP, IPv6, ICMP, ICMPv6, TCP, TCPv6, UDP, and UDPv6;
                the -p option may be used to specify a subset of the default.
  interval      Redisplays selected statistics, pausing interval seconds
                between each display.  Press CTRL+C to stop redisplaying
                statistics.  If omitted, netstat will print the current
                configuration information once.

Try netstat -ao or netstat -no
Izzy
 
Posts: 3344
Joined: 25. April 2006 17:06

Postby WorldDrknss » 31. August 2006 02:44

Netstat -b is a command

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

C:\Documents and Settings\WorldDrknss>netstat help

Displays protocol statistics and current TCP/IP network connections.

NETSTAT [-a] [-b] [-e] [-n] [-o] [-p proto] [-r] [-s] [-v] [interval]

  -a            Displays all connections and listening ports.
  -b            Displays the executable involved in creating each connection or
                listening port. In some cases well-known executables host
                multiple independent components, and in these cases the
                sequence of components involved in creating the connection
                or listening port is displayed. In this case the executable
                name is in [] at the bottom, on top is the component it called,
                and so forth until TCP/IP was reached. Note that this option
                can be time-consuming and will fail unless you have sufficient
                permissions.
  -e            Displays Ethernet statistics. This may be combined with the -s
                option.
  -n            Displays addresses and port numbers in numerical form.
  -o            Displays the owning process ID associated with each connection.
  -p proto      Shows connections for the protocol specified by proto; proto
                may be any of: TCP, UDP, TCPv6, or UDPv6.  If used with the -s
                option to display per-protocol statistics, proto may be any of:
                IP, IPv6, ICMP, ICMPv6, TCP, TCPv6, UDP, or UDPv6.
  -r            Displays the routing table.
  -s            Displays per-protocol statistics.  By default, statistics are
                shown for IP, IPv6, ICMP, ICMPv6, TCP, TCPv6, UDP, and UDPv6;
                the -p option may be used to specify a subset of the default.
  -v            When used in conjunction with -b, will display sequence of
                components involved in creating the connection or listening
                port for all executables.
  interval      Redisplays selected statistics, pausing interval seconds
                between each display.  Press CTRL+C to stop redisplaying
                statistics.  If omitted, netstat will print the current
                configuration information once.

C:\Documents and Settings\WorldDrknss>


and here is what it returns

Code: Select all
C:\Documents and Settings\WorldDrknss>netstat -b

Active Connections

  Proto  Local Address          Foreign Address        State           PID
  TCP    worlddrk:1067          cs42.msg.dcn.yahoo.com:5050  ESTABLISHED     395
6
  [trillian.exe]

  TCP    worlddrk:1073          by2m6-cs57.msgr.hotmail.com:1863  ESTABLISHED
  3956
  [trillian.exe]

  TCP    worlddrk:1082          core.fesl.ea.com:18120  ESTABLISHED     1288
  [Core.exe]

  TCP    worlddrk:2757          64.12.24.97:5190       ESTABLISHED     3956
  [trillian.exe]

  TCP    worlddrk:2758          oam-d09b.blue.aol.com:5190  ESTABLISHED     3956

  [trillian.exe]


C:\Documents and Settings\WorldDrknss>


Maybe it's only a XP Pro feature.
http://wdguides.org - XAMPP Tutorials & MORE!!!!
User avatar
WorldDrknss
 
Posts: 292
Joined: 17. September 2005 13:40

Postby Izzy » 31. August 2006 03:14

This is XP Pro!! You did read my post that shows what I get when I type netstat --help? I will post it again in case you have problems reading.
Code: Select all
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:\Windows>netstat --help

Displays protocol statistics and current TCP/IP network connections.

NETSTAT [-a] [-e] [-n] [-o] [-s] [-p proto] [-r] [interval]

  -a            Displays all connections and listening ports.
  -e            Displays Ethernet statistics. This may be combined with the -s
                option.
  -n            Displays addresses and port numbers in numerical form.
  -o            Displays the owning process ID associated with each connection.
  -p proto      Shows connections for the protocol specified by proto; proto
                may be any of: TCP, UDP, TCPv6, or UDPv6.  If used with the -s
                option to display per-protocol statistics, proto may be any of:
                IP, IPv6, ICMP, ICMPv6, TCP, TCPv6, UDP, or UDPv6.
  -r            Displays the routing table.
  -s            Displays per-protocol statistics.  By default, statistics are
                shown for IP, IPv6, ICMP, ICMPv6, TCP, TCPv6, UDP, and UDPv6;
                the -p option may be used to specify a subset of the default.
  interval      Redisplays selected statistics, pausing interval seconds
                between each display.  Press CTRL+C to stop redisplaying
                statistics.  If omitted, netstat will print the current
                configuration information once.

C:\Windows>

@Lambo
It makes no difference if you have the -b switch use it if not use either -n -no -a -ao switches, all will give what is using the ports. I suspect the netstat switch difference is an XP Pro SP1 or SP2 issue.
Izzy
 
Posts: 3344
Joined: 25. April 2006 17:06

Postby Lambo » 31. August 2006 08:24

its xp pro sp2

Thank you for all this guys :) been a big help. ill try the text editor now :)
Lambo
 
Posts: 14
Joined: 30. August 2006 14:39

Postby Lambo » 31. August 2006 08:29

Izzy wrote:
Lambo wrote:when i go into CMD and type in c:\xampp\apache_start.bat

it comes up with could not bind to address 0.0.0.0:80

maybe that helps?
Open xampp/apache/conf/httpd.conf in your fav. text editor and find this section:
Code: Select all
#
# 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
Listen 80

If the line Listen 0.0.0.0:80 is displayed then change it to how it looks like in the code snippet above - Listen 80

Save it and try and restart Apache again.


Sorry buddy, still the same thing. shall i send you the config file?
Lambo
 
Posts: 14
Joined: 30. August 2006 14:39

Postby Izzy » 31. August 2006 09:11

Yes you can send me the httpd.conf file but what did the netstat -b or what ever give you. Can you paste the result here please?

To get the netstat result follow this:
Click on Start on the Task Bar
Click on Run...
Type cmd.exe
At the command prompt, type netstat -b (or any of the others I mentioned)

Or can you paste the results of clicking on xampp/xampp-portcheck.exe

Both should give a list of ports and what is running on them.
Paste them here please.

Just had another thought, if you have Skype running then it sits on port 80. So stop Skype and try and start Apache again. :)
Izzy
 
Posts: 3344
Joined: 25. April 2006 17:06

Postby Lambo » 31. August 2006 09:23

Code: Select all
Microsoft Windows XP
(C) Copyright 1985-2001 Microsoft Corp.

C:\Documents and Settings\User>netstat -b

Active Connections

  Proto  Local Address          Foreign Address        State           PID
  TCP    Dans-pc:3924           localhost:3925         ESTABLISHED     1724
  [FIREFOX.EXE]

  TCP    Dans-pc:3925           localhost:3924         ESTABLISHED     1724
  [FIREFOX.EXE]

  TCP    Dans-pc:3198           192.168.0.221:netbios-ssn  ESTABLISHED     4
  [System]

  TCP    Dans-pc:3200           207.46.2.120:1863      ESTABLISHED     3172
  [msnmsgr.exe]

  TCP    Dans-pc:3210           84.53.134.33:http      ESTABLISHED     3172
  [msnmsgr.exe]

  TCP    Dans-pc:3212           84.53.134.25:http      ESTABLISHED     3172
  [msnmsgr.exe]

  TCP    Dans-pc:3213           84.53.134.25:http      ESTABLISHED     3172
  [msnmsgr.exe]

  TCP    Dans-pc:3215           84.53.134.33:http      ESTABLISHED     3172
  [msnmsgr.exe]

  TCP    Dans-pc:3220           ACBD0D10.ipt.aol.com:2613  ESTABLISHED     3172
  [msnmsgr.exe]

  TCP    Dans-pc:3930           by2msg1161907.phx.gbl:1863  ESTABLISHED     3172

  [msnmsgr.exe]

  TCP    Dans-pc:3905           by2msg1161907.phx.gbl:6881  CLOSING         448
  [System]

  TCP    Dans-pc:3835           by2msg1161907.phx.gbl:6882  LAST_ACK        448
  [System]

  TCP    Dans-pc:3360           adsl_lav183_207.datastream.com.mt:7270  TIME_WAI
T       0
  TCP    Dans-pc:3630           c-69-241-12-249.hsd1.ga.comcast.net:10266  TIME_
WAIT       0
  TCP    Dans-pc:3697           by2msg1161907.phx.gbl:55767  TIME_WAIT       0
  TCP    Dans-pc:3712           by2msg1161907.phx.gbl:15356  TIME_WAIT       0
  TCP    Dans-pc:3729           by2msg1161907.phx.gbl:6881  TIME_WAIT       0
  TCP    Dans-pc:3749           82-135-248-94.ip.zebra.lt:38186  TIME_WAIT
 0
  TCP    Dans-pc:3765           by2msg1161907.phx.gbl:57184  TIME_WAIT       0
  TCP    Dans-pc:3784           by2msg1161907.phx.gbl:51477  TIME_WAIT       0
  TCP    Dans-pc:3792           by2msg1161907.phx.gbl:10430  TIME_WAIT       0
  TCP    Dans-pc:3793           ool-457b8c03.dyn.optonline.net:33299  TIME_WAIT
      0
  TCP    Dans-pc:3795           dsl-TN-005.243.247.61.touchtelindia.net:32459  T
IME_WAIT       0
  TCP    Dans-pc:3798           213.180.7.66:53000     TIME_WAIT       0
  TCP    Dans-pc:3805           h177n1c1o986.bredband.skanova.com:6881  TIME_WAI
T       0
  TCP    Dans-pc:3806           adsl-69-236-0-167.dsl.irvnca.pacbell.net:6881  T
IME_WAIT       0
  TCP    Dans-pc:3810           cpe-69-201-185-254.nyc.res.rr.com:6881  TIME_WAI
T       0
  TCP    Dans-pc:3811           by2msg1161907.phx.gbl:49667  TIME_WAIT       0
  TCP    Dans-pc:3812           by2msg1161907.phx.gbl:44508  TIME_WAIT       0
  TCP    Dans-pc:3820           c-71-229-225-30.hsd1.co.comcast.net:13132  TIME_
WAIT       0
  TCP    Dans-pc:3823           pD95EC42C.dip.t-dialin.net:6881  TIME_WAIT
 0
  TCP    Dans-pc:3831           by2msg1161907.phx.gbl:12390  TIME_WAIT       0
  TCP    Dans-pc:3837           c-d7d971d5.022-2014-73746f13.cust.bredbandsbolag
et.se:6881  TIME_WAIT       0
  TCP    Dans-pc:3838           by2msg1161907.phx.gbl:32459  TIME_WAIT       0
  TCP    Dans-pc:3839           pool-02319.externet.hu:16969  TIME_WAIT       0
  TCP    Dans-pc:3840           by2msg1161907.phx.gbl:50125  TIME_WAIT       0
  TCP    Dans-pc:3842           88.218.68.236:25886    TIME_WAIT       0
  TCP    Dans-pc:3847           c-67-160-75-217.hsd1.wa.comcast.net:49154  TIME_
WAIT       0
  TCP    Dans-pc:3850           ua-83-227-151-16.cust.bredbandsbolaget.se:55555
 TIME_WAIT       0
  TCP    Dans-pc:3851           by2msg1161907.phx.gbl:52525  TIME_WAIT       0
  TCP    Dans-pc:3854           a88-112-30-164.elisa-laajakaista.fi:39319  TIME_
WAIT       0
  TCP    Dans-pc:3855           host81-129-87-230.range81-129.btcentralplus.com:
49152  TIME_WAIT       0
  TCP    Dans-pc:3856           ppp169-91.lns1.per1.internode.on.net:21119  TIME
_WAIT       0
  TCP    Dans-pc:3858           bzq-88-155-170-5.red.bezeqint.net:32459  TIME_WA
IT       0
  TCP    Dans-pc:3859           82-170-135-82.dsl.ip.tiscali.nl:6696  TIME_WAIT
      0
  TCP    Dans-pc:3860           88-104-74-133.dynamic.dsl.as9105.com:42703  TIME
_WAIT       0
  TCP    Dans-pc:3863           cpe-24-165-13-227.san.res.rr.com:13071  TIME_WAI
T       0
  TCP    Dans-pc:3864           by2msg1161907.phx.gbl:6882  TIME_WAIT       0
  TCP    Dans-pc:3865           by2msg1161907.phx.gbl:55842  TIME_WAIT       0
  TCP    Dans-pc:3873           by2msg1161907.phx.gbl:12999  TIME_WAIT       0
  TCP    Dans-pc:3874           c-69-241-12-249.hsd1.ga.comcast.net:10266  TIME_
WAIT       0
  TCP    Dans-pc:3877           213.239.125.184:6881   TIME_WAIT       0
  TCP    Dans-pc:3883           107.205-201-80.adsl-dyn.isp.belgacom.be:65534  T
IME_WAIT       0
  TCP    Dans-pc:3888           by2msg1161907.phx.gbl:6881  TIME_WAIT       0
  TCP    Dans-pc:3890           by2msg1161907.phx.gbl:50870  TIME_WAIT       0
  TCP    Dans-pc:3891           cm-84.209.206.167.chello.no:6881  TIME_WAIT
  0
  TCP    Dans-pc:3893           c-161fe253.567-1-64736c10.cust.bredbandsbolaget.
se:50000  TIME_WAIT       0
  TCP    Dans-pc:3894           by2msg1161907.phx.gbl:32459  TIME_WAIT       0
  TCP    Dans-pc:3895           66-88.vinet.t3.se:2356  TIME_WAIT       0
  TCP    Dans-pc:3896           CPE-72-135-122-23.new.res.rr.com:6999  TIME_WAIT
       0
  TCP    Dans-pc:3899           d40a93a8.rev.stofanet.dk:22635  TIME_WAIT
0
  TCP    Dans-pc:3901           82.137.205.184:17880   TIME_WAIT       0
  TCP    Dans-pc:3902           by2msg1161907.phx.gbl:6881  TIME_WAIT       0
  TCP    Dans-pc:3904           by2msg1161907.phx.gbl:6881  TIME_WAIT       0
  TCP    Dans-pc:3906           85-210-133-210.dsl.pipex.com:6881  TIME_WAIT
   0
  TCP    Dans-pc:3909           by2msg1161907.phx.gbl:41451  TIME_WAIT       0
  TCP    Dans-pc:3910           75.80-202-97.nextgentel.com:8803  TIME_WAIT
  0
  TCP    Dans-pc:3911           c83-252-220-73.bredband.comhem.se:6882  TIME_WAI
T       0
  TCP    Dans-pc:3912           by2msg1161907.phx.gbl:41451  TIME_WAIT       0
  TCP    Dans-pc:3913           S01060006089989cf.cg.shawcable.net:35836  TIME_W
AIT       0
  TCP    Dans-pc:3914           61.9.86.130:18690      TIME_WAIT       0
  TCP    Dans-pc:3915           Toronto-HSE-ppp3881981.sympatico.ca:43772  TIME_
WAIT       0


hope that mean's something...

sorry about all this.
Lambo
 
Posts: 14
Joined: 30. August 2006 14:39

Postby Izzy » 31. August 2006 09:29

Could you please paste the results of xampp-portcheck.exe?
Izzy
 
Posts: 3344
Joined: 25. April 2006 17:06

Postby Lambo » 31. August 2006 09:37

Izzy wrote:Could you please paste the results of xampp-portcheck.exe?


Code: Select all
result

Apache HTTP            80      c:\WINDOWS\system32\inetsrv\inetinfo.exe
apache webDAV        81      free
apache https            443     c:\WINDOWS\system32\inetsrv\inetinfo.exe

mysql                     3306    c:\xampp\mysql\bin\mysqld.exe


filezilla ftp            21            free
filezilla admin       14147       free

mercury smtp     25             c:\WINDOWS\system32\inetsrv\inetinfo.exe
mercury pop3     110           free
mercury imap    143           free





sorry if it goes out of line, i couldnt copy and paste..
Lambo
 
Posts: 14
Joined: 30. August 2006 14:39

Postby Izzy » 31. August 2006 09:43

Now we are cooking with gas :)

You have IIS running which is blocking Apache from starting. You will have to uninstall all of the IIS. I believe you can do that from the Windows Control Panel. XAMPP will never start on port 80 etc. if IIS is running.

You can if you wish have Apache use another port but if you want to use the server for Internet access then port 80 is the default.

At last we have found the problem. Now its up to you to remove IIS and then XAMPP will start and run with no problems.

Post back if you manage to get all up and running.
Good luck mate. :)
Izzy
 
Posts: 3344
Joined: 25. April 2006 17:06

Next

Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 94 guests