Page 1 of 1

localhost page cannot be displayed 1.7.7 [SOLVED]

PostPosted: 20. December 2011 18:55
by darnson
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

Re: localhost page cannot be displayed

PostPosted: 20. December 2011 20:35
by Sharley
Is there a clue in the C:\xampp\apache\logs\error.log file?

Re: localhost page cannot be displayed

PostPosted: 20. December 2011 20:39
by darnson
Sharley should I post the log here? Bare with me as I'm a newbie.

Re: localhost page cannot be displayed

PostPosted: 20. December 2011 20:44
by Sharley
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 :)

Re: localhost page cannot be displayed

PostPosted: 20. December 2011 20:57
by darnson
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.

Re: localhost page cannot be displayed

PostPosted: 20. December 2011 21:28
by Sharley
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. :)

Re: localhost page cannot be displayed

PostPosted: 20. December 2011 21:41
by darnson
Afraid it was already unchecked. :(

Re: localhost page cannot be displayed

PostPosted: 20. December 2011 21:44
by Sharley
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. ;)

Re: localhost page cannot be displayed

PostPosted: 20. December 2011 22:00
by darnson
so frustrating. no change.

Re: localhost page cannot be displayed

PostPosted: 20. December 2011 22:07
by Sharley
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. :)

Re: localhost page cannot be displayed

PostPosted: 21. December 2011 07:43
by darnson
Guess what Sharley? You're time spent helping everyone and especially me paid off! Yippeee I'm up and running! :)

Re: localhost page cannot be displayed

PostPosted: 21. December 2011 08:01
by Sharley
I am as pleased as you. :D

Thanks for the feedback. 8)

Best wishes.