localhost page cannot be displayed 1.7.7 [SOLVED]

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

localhost page cannot be displayed 1.7.7 [SOLVED]

Postby darnson » 20. December 2011 18:55

Hello -

Downloaded Xampp and I cannot access my local host.
Her is the log file from the Control panel:

9:52:05 AM [main] Windows version: 5.1 (build 2600) - Service Pack 2
9:52:05 AM [main] Xampp version: 1.7.7
9:52:05 AM [main] Control center version: 3.0.2 [ Compiled: Jul 21th 2011 - build #1 ]
9:52:05 AM [main] Running as admin - good!
9:52:05 AM [main] Working with basedir: "c:\xampp\"
9:52:05 AM [main] Initializing moduls
9:52:05 AM [mysql] Possible problem detected: Port 3306 in use by "mysqld.exe"!
9:52:05 AM [mercury] Possible problem detected: Port 2224 in use by "c:\xampp\xampp-control-3-beta.exe"!
9:52:05 AM [mercury] Possible problem detected: Port 2224 in use by "c:\xampp\xampp-control-3-beta.exe"!
9:52:05 AM [main] Starting check-timer
9:52:32 AM [apache] Starting apache service...

Thank you for your help in advance
darnson
 
Posts: 17
Joined: 20. December 2011 10:26
Operating System: XP Windows Home Edition

Re: localhost page cannot be displayed

Postby Sharley » 20. December 2011 20:35

Is there a clue in the C:\xampp\apache\logs\error.log file?
User avatar
Sharley
AF Moderator
 
Posts: 3316
Joined: 03. October 2008 05:10
Location: Yeppoon, Australia Time Zone: GMT/UTC+10
Operating System: Win 7 Pro 32bit/XP Pro SP3

Re: localhost page cannot be displayed

Postby darnson » 20. December 2011 20:39

Sharley should I post the log here? Bare with me as I'm a newbie.
darnson
 
Posts: 17
Joined: 20. December 2011 10:26
Operating System: XP Windows Home Edition

Re: localhost page cannot be displayed

Postby Sharley » 20. December 2011 20:44

Yes please but only the last section that is indicated by the date and time you last tried to access http://localhost in your browser and paste between forum code tags as it makes it easier to read.
Thanks :)
User avatar
Sharley
AF Moderator
 
Posts: 3316
Joined: 03. October 2008 05:10
Location: Yeppoon, Australia Time Zone: GMT/UTC+10
Operating System: Win 7 Pro 32bit/XP Pro SP3

Re: localhost page cannot be displayed

Postby darnson » 20. December 2011 20:57

Okay. I will give it a try.

Code: Select all
[Mon Dec 19 09:38:19 2011] [notice] Apache/2.2.21 (Win32) mod_ssl/2.2.21 OpenSSL/1.0.0e PHP/5.3.8 mod_perl/2.0.4 Perl/v5.10.1 configured -- resuming normal operations
[Mon Dec 19 09:38:19 2011] [notice] Server built: Sep 10 2011 11:34:11
[Mon Dec 19 09:38:19 2011] [notice] Parent: Created child process 4052
[Mon Dec 19 09:38:21 2011] [notice] Digest: generating secret for digest authentication ...
[Mon Dec 19 09:38:21 2011] [notice] Digest: done
[Mon Dec 19 09:38:22 2011] [notice] Child 4052: Child process is running
[Mon Dec 19 09:38:22 2011] [crit] (OS 10022)An invalid argument was supplied.  : Child 4052: setup_inherited_listeners(), WSASocket failed to open the inherited socket.
[Mon Dec 19 09:38:23 2011] [crit] Parent: child process exited with status 3 -- Aborting.
[Mon Dec 19 09:39:25 2011] [notice] Digest: generating secret for digest authentication ...
[Mon Dec 19 09:39:25 2011] [notice] Digest: done
[Mon Dec 19 09:39:28 2011] [notice] Apache/2.2.21 (Win32) mod_ssl/2.2.21 OpenSSL/1.0.0e PHP/5.3.8 mod_perl/2.0.4 Perl/v5.10.1 configured -- resuming normal operations
[Mon Dec 19 09:39:28 2011] [notice] Server built: Sep 10 2011 11:34:11
[Mon Dec 19 09:39:28 2011] [notice] Parent: Created child process 1352
[Mon Dec 19 09:39:29 2011] [notice] Digest: generating secret for digest authentication ...
[Mon Dec 19 09:39:29 2011] [notice] Digest: done
[Mon Dec 19 09:39:30 2011] [notice] Child 1352: Child process is running
[Mon Dec 19 09:39:30 2011] [crit] (OS 10022)An invalid argument was supplied.  : Child 1352: setup_inherited_listeners(), WSASocket failed to open the inherited socket.
[Mon Dec 19 09:39:30 2011] [crit] Parent: child process exited with status 3 -- Aborting.
[Mon Dec 19 09:42:57 2011] [notice] Digest: generating secret for digest authentication ...
[Mon Dec 19 09:42:57 2011] [notice] Digest: done
[Mon Dec 19 09:42:58 2011] [notice] Apache/2.2.21 (Win32) mod_ssl/2.2.21 OpenSSL/1.0.0e PHP/5.3.8 mod_perl/2.0.4 Perl/v5.10.1 configured -- resuming normal operations
[Mon Dec 19 09:42:58 2011] [notice] Server built: Sep 10 2011 11:34:11
[Mon Dec 19 09:42:58 2011] [notice] Parent: Created child process 1760
[Mon Dec 19 09:43:00 2011] [notice] Digest: generating secret for digest authentication ...
[Mon Dec 19 09:43:00 2011] [notice] Digest: done
[Mon Dec 19 09:43:01 2011] [notice] Child 1760: Child process is running
[Mon Dec 19 09:43:01 2011] [crit] (OS 10022)An invalid argument was supplied.  : Child 1760: setup_inherited_listeners(), WSASocket failed to open the inherited socket.
[Mon Dec 19 09:43:01 2011] [crit] Parent: child process exited with status 3 -- Aborting.
[Mon Dec 19 09:48:30 2011] [notice] Digest: generating secret for digest authentication ...
[Mon Dec 19 09:48:30 2011] [notice] Digest: done
[Mon Dec 19 09:48:31 2011] [notice] Apache/2.2.21 (Win32) mod_ssl/2.2.21 OpenSSL/1.0.0e PHP/5.3.8 mod_perl/2.0.4 Perl/v5.10.1 configured -- resuming normal operations
[Mon Dec 19 09:48:31 2011] [notice] Server built: Sep 10 2011 11:34:11
[Mon Dec 19 09:48:31 2011] [notice] Parent: Created child process 2396
[Mon Dec 19 09:48:33 2011] [notice] Digest: generating secret for digest authentication ...
[Mon Dec 19 09:48:33 2011] [notice] Digest: done
[Mon Dec 19 09:48:34 2011] [notice] Child 2396: Child process is running
[Mon Dec 19 09:48:34 2011] [crit] (OS 10022)An invalid argument was supplied.  : Child 2396: setup_inherited_listeners(), WSASocket failed to open the inherited socket.
[Mon Dec 19 09:48:34 2011] [crit] Parent: child process exited with status 3 -- Aborting.
darnson
 
Posts: 17
Joined: 20. December 2011 10:26
Operating System: XP Windows Home Edition

Re: localhost page cannot be displayed

Postby Sharley » 20. December 2011 21:28

OK, that seems to be related to the LMHOSTS Lookup setting in XP.

Try this:
1. Open the Windows “Control Panel” then open “Network Connections”.
2. Right-click on “Local Area Connection” and select “Properties”.
3. Double-click on the “Internet Protocol (TCP/IP)” line to open the “Properties”.
4. On the “General” tab, click the “Advanced” button.
5. Select the “WINS” tab and uncheck the “Enable LMHOSTS Lookup” box”.
Close the Control Panel.

Now try and start Apache and MySQL in the version 3 control panel.

Once again try http://localhost in your browser.

Good luck. :)
User avatar
Sharley
AF Moderator
 
Posts: 3316
Joined: 03. October 2008 05:10
Location: Yeppoon, Australia Time Zone: GMT/UTC+10
Operating System: Win 7 Pro 32bit/XP Pro SP3

Re: localhost page cannot be displayed

Postby darnson » 20. December 2011 21:41

Afraid it was already unchecked. :(
darnson
 
Posts: 17
Joined: 20. December 2011 10:26
Operating System: XP Windows Home Edition

Re: localhost page cannot be displayed

Postby Sharley » 20. December 2011 21:44

OK, then do the opposite and add a check in the box and try again. :)

Also temporarily disable any firewall or ZoneAlarm type security applications running and try again to start Apache.

If it starts then you know where to look for a fix. ;)
User avatar
Sharley
AF Moderator
 
Posts: 3316
Joined: 03. October 2008 05:10
Location: Yeppoon, Australia Time Zone: GMT/UTC+10
Operating System: Win 7 Pro 32bit/XP Pro SP3

Re: localhost page cannot be displayed

Postby darnson » 20. December 2011 22:00

so frustrating. no change.
darnson
 
Posts: 17
Joined: 20. December 2011 10:26
Operating System: XP Windows Home Edition

Re: localhost page cannot be displayed

Postby Sharley » 20. December 2011 22:07

Try a reboot and see if it helps.

If that fails to make any changes then it may be time to reinstall using a different method as the Installer sometimes is at fault also we are running out of options to fix the error mentioned in the log file.

These instructions will help you to successfully uninstall/install again using the zip version instead of the installer exe version:
viewtopic.php?p=179699#p179699

Good luck again. :)
User avatar
Sharley
AF Moderator
 
Posts: 3316
Joined: 03. October 2008 05:10
Location: Yeppoon, Australia Time Zone: GMT/UTC+10
Operating System: Win 7 Pro 32bit/XP Pro SP3

Re: localhost page cannot be displayed

Postby darnson » 21. December 2011 07:43

Guess what Sharley? You're time spent helping everyone and especially me paid off! Yippeee I'm up and running! :)
darnson
 
Posts: 17
Joined: 20. December 2011 10:26
Operating System: XP Windows Home Edition

Re: localhost page cannot be displayed

Postby Sharley » 21. December 2011 08:01

I am as pleased as you. :D

Thanks for the feedback. 8)

Best wishes.
User avatar
Sharley
AF Moderator
 
Posts: 3316
Joined: 03. October 2008 05:10
Location: Yeppoon, Australia Time Zone: GMT/UTC+10
Operating System: Win 7 Pro 32bit/XP Pro SP3


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 67 guests