Can't get installation working

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

Can't get installation working

Postby mosymuis » 20. June 2013 10:27

Hi,

I'm having trouble starting up XAMPP on a Windows 7 machine. On another, it worked perfectly straight away.

After installing, opening up the control panel and starting Apache and MySql, both http://localhost/ and http://127.0.0.1/ don't show anything but just keep loading endlessly in the browser. I've tried ending the Windows http service (http://serverfault.com/questions/91280/xampp-doesnt-respond-on-windows-7-host), but this didn't change anything. I've tried running both Apache and MySql both as a service, and without. They start up normally in the control panel.

10:23:07 [main] Initializing Control Panel
10:23:07 [main] Windows Version: Windows 7 Ultimate SP1 64-bit
10:23:07 [main] XAMPP Version: 1.8.1
10:23:07 [main] Control Panel Version: 3.1.0 3.1.0 [ Compiled: September 20th 2012 ]
10:23:07 [main] Running with Administrator rights - good!
10:23:07 [main] XAMPP Installation Directory: "e:\xampp\"
10:23:07 [main] Checking for prerequisites
10:23:07 [main] All prerequisites found
10:23:07 [main] Initializing Modules
10:23:07 [Apache] XAMPP Apache is already running on port 80
10:23:07 [Apache] XAMPP Apache is already running on port 443
10:23:07 [mysql] XAMPP MySQL is already running on port 3306
10:23:07 [main] The FileZilla module is disabled
10:23:07 [main] Starting Check-Timer
10:23:07 [main] Control Panel Ready
10:39:20 [Apache] Attempting to stop Apache (PID: 2232)
10:39:20 [Apache] Attempting to stop Apache (PID: 3832)
10:39:21 [Apache] Status change detected: stopped
10:39:31 [Apache] Attempting to start Apache app...
10:39:32 [Apache] Status change detected: running
11:03:56 [Apache] Attempting to stop Apache (PID: 1800)
11:03:56 [Apache] Attempting to stop Apache (PID: 2196)
11:03:56 [Apache] Status change detected: stopped
11:03:56 [mysql] Attempting to stop MySQL (PID: 1612)
11:03:56 [mysql] Status change detected: stopped
11:04:02 [mysql] Installing service...
11:04:03 [mysql] Successful!
11:04:04 [Apache] Installing service...
11:04:05 [Apache] Successful!
11:04:07 [mysql] Attempting to start MySQL service...
11:04:09 [mysql] Status change detected: running
11:04:10 [Apache] Attempting to start Apache service...
11:04:14 [Apache] Status change detected: running
11:08:58 [mysql] Attempting to stop MySQL service...
11:08:58 [mysql] Status change detected: stopped
11:08:59 [Apache] Attempting to stop Apache service...
11:09:02 [Apache] Status change detected: stopped
11:09:03 [mysql] Attempting to start MySQL service...
11:09:05 [mysql] Status change detected: running
11:09:07 [Apache] Attempting to start Apache service...
11:09:11 [Apache] Status change detected: running
11:11:13 [mysql] Attempting to stop MySQL service...
11:11:13 [mysql] Status change detected: stopped
11:11:14 [Apache] Attempting to stop Apache service...
11:11:18 [mysql] Attempting to start MySQL service...
11:11:18 [Apache] Status change detected: stopped
11:11:19 [mysql] Status change detected: running
11:11:20 [Apache] Attempting to start Apache service...
11:11:24 [Apache] Status change detected: running


From httpd.conf:
ServerRoot "E:/xampp/apache"
ServerName localhost:80
DocumentRoot "E:/Web/"

Of course E:/Web/ is a working path.

What can I check to get this to work?
User avatar
mosymuis
 
Posts: 4
Joined: 14. March 2007 14:33
Location: Netherlands
XAMPP Version: 5.6.3
Operating System: Windows 7

Re: Can't get installation working

Postby mosymuis » 27. June 2013 08:20

Could someone please give me some advice on how to resolve this problem?
User avatar
mosymuis
 
Posts: 4
Joined: 14. March 2007 14:33
Location: Netherlands
XAMPP Version: 5.6.3
Operating System: Windows 7

Re: Can't get installation working

Postby Nobbie » 27. June 2013 18:17

Do you see this:

10:23:07 [Apache] XAMPP Apache is already running on port 80
10:23:07 [Apache] XAMPP Apache is already running on port 443


There is something wrong with your PC, you already have an Apache installation running or similar. It's impossible for me to find out, what is happening there, but this message is a clear hint that you have messed up your Apache installations.
Nobbie
 
Posts: 6584
Joined: 09. March 2008 13:04

Re: Can't get installation working

Postby hackattack142 » 28. June 2013 21:59

Hello,

Actually, that message just means the XAMPP modules were already running when the Control Panel was opened (normal if they are services). If they were non-xampp versions of Apache and MySQL, it would display an error stating there is a blocking application on those ports.

As for the endless loading, I see this come up a lot with hostname resolution issues.

A few things you might try/look into:
1. Try binding your MySQL to 127.0.0.1 (uncomment that bind line in /xampp/mysql/bin/my.ini)
2. Try making your mysql connect statements in your code use 127.0.0.1
3. Make sure your HOSTS file is correct
4. Comment out the IPv6 line in your HOSTS file

Are you getting any error messages in your Apache logs?
XAMPP Control Panel Developer
Latest CP: viewtopic.php?f=16&t=48932
hackattack142
 
Posts: 702
Joined: 20. May 2011 23:29
XAMPP Version: 5.6.3
Operating System: Windows 7 Ultimate SP1 64-Bit

Re: Can't get installation working

Postby mosymuis » 18. July 2013 14:06

Thanks for your replies! :-)

hackattack142 wrote:A few things you might try/look into:
1. Try binding your MySQL to 127.0.0.1 (uncomment that bind line in /xampp/mysql/bin/my.ini)
2. Try making your mysql connect statements in your code use 127.0.0.1
3. Make sure your HOSTS file is correct
4. Comment out the IPv6 line in your HOSTS file

I don't think this is MySql related, since the problem still arises when MySql is turned off and only Apache is running. Besides, the default map listing at http://localhost doesn't show either, and my web application will still present an error page when MySql doesn't reply to the script. Still, I tried your solutions:

1) did this, then started MySql, but didn't work
2) not necessary since the script isn't called (checked this by letting the script write a file)
3) looks OK, even when made completely empty except "127.0.0.1 localhost" the http://localhost address doesn't load
4) there isn't any. I'm using Windows 7?

hackattack142 wrote:Are you getting any error messages in your Apache logs?

Yes, but I can't figure out what's happening or whether it is conflicting with my process:

Code: Select all
[Thu Jul 18 14:45:37.235865 2013] [core:warn] [pid 3592:tid 252] AH00098: pid file E:/xampp/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Thu Jul 18 14:45:37.515881 2013] [ssl:warn] [pid 3592:tid 252] AH01873: Init: Session Cache is not configured [hint: SSLSessionCache]
[Thu Jul 18 14:45:37.548883 2013] [mpm_winnt:notice] [pid 3592:tid 252] AH00455: Apache/2.4.3 (Win32) OpenSSL/1.0.1c PHP/5.4.7 configured -- resuming normal operations
[Thu Jul 18 14:45:37.548883 2013] [mpm_winnt:notice] [pid 3592:tid 252] AH00456: Server built: Aug 18 2012 12:41:37
[Thu Jul 18 14:45:37.548883 2013] [core:notice] [pid 3592:tid 252] AH00094: Command line: 'e:\\xampp\\apache\\bin\\httpd.exe -d E:/xampp/apache'
[Thu Jul 18 14:45:37.556883 2013] [mpm_winnt:notice] [pid 3592:tid 252] AH00418: Parent: Created child process 5876
AH00548: NameVirtualHost has no effect and will be removed in the next release E:/xampp/apache/conf/extra/httpd-vhosts.conf:19
[Thu Jul 18 14:45:38.494937 2013] [ssl:warn] [pid 5876:tid 264] AH01873: Init: Session Cache is not configured [hint: SSLSessionCache]
[Thu Jul 18 14:45:38.530939 2013] [mpm_winnt:notice] [pid 5876:tid 264] AH00354: Child: Starting 150 worker threads.
[Thu Jul 18 14:45:38.535939 2013] [mpm_winnt:error] [pid 5876:tid 1732] (OS 10038)Er is geprobeerd een bewerking uit te voeren op iets anders dan een socket.  : AH00332: winnt_accept: getsockname error on listening socket, is IPv6 available?
[Thu Jul 18 14:45:38.535939 2013] [mpm_winnt:error] [pid 5876:tid 1748] (OS 10038)Er is geprobeerd een bewerking uit te voeren op iets anders dan een socket.  : AH00332: winnt_accept: getsockname error on listening socket, is IPv6 available?
[Thu Jul 18 14:45:38.535939 2013] [mpm_winnt:error] [pid 5876:tid 1744] (OS 10038)Er is geprobeerd een bewerking uit te voeren op iets anders dan een socket.  : AH00332: winnt_accept: getsockname error on listening socket, is IPv6 available?
[Thu Jul 18 14:45:38.535939 2013] [mpm_winnt:error] [pid 5876:tid 1756] (OS 10038)Er is geprobeerd een bewerking uit te voeren op iets anders dan een socket.  : AH00332: winnt_accept: getsockname error on listening socket, is IPv6 available?

Would love to hear any other suggestions which could solve this problem!
User avatar
mosymuis
 
Posts: 4
Joined: 14. March 2007 14:33
Location: Netherlands
XAMPP Version: 5.6.3
Operating System: Windows 7

Re: Can't get installation working

Postby hackattack142 » 18. July 2013 22:02

Hello,

For that specific error, I would give this a try first:

viewtopic.php?p=176698#p176698
XAMPP Control Panel Developer
Latest CP: viewtopic.php?f=16&t=48932
hackattack142
 
Posts: 702
Joined: 20. May 2011 23:29
XAMPP Version: 5.6.3
Operating System: Windows 7 Ultimate SP1 64-Bit

Re: Can't get installation working

Postby mosymuis » 25. July 2013 08:32

That worked, thanks for the solution :D
User avatar
mosymuis
 
Posts: 4
Joined: 14. March 2007 14:33
Location: Netherlands
XAMPP Version: 5.6.3
Operating System: Windows 7


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 64 guests