can not access localhost

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

can not access localhost

Postby stuartray » 04. February 2008 03:21

I installed xampp and when I try to use IE7 to go to localhost or 127.0.0.1, it says web site found, waiting on localhost and nothing else happens. My OS is win XP x64. I am not running IIS. :roll: Any ideas? Thanks.
Stuart Ray
stuartray
 
Posts: 4
Joined: 04. February 2008 03:08

Postby Izzy » 04. February 2008 05:12

Have you tried starting Apache with the .\xampp\apache_start.bat file as this will give you feedback if you have any errors?

Use the Control Panel first to stop all services and any running XAMPP modules.

Also check the Apache error.log file at about the time you start apache or after you type in http://localhost - .\xampp\apache\logs\error.log

We are missing lots of details if you want any help on this.

Have you tried using another browser?

Did you install XAMPP then uninstall it and then reinstall it by any chance?
Izzy
 
Posts: 3344
Joined: 25. April 2006 17:06

Postby stuartray » 04. February 2008 06:26

Yes I uninstalled it and installed xampplite. it did not work as well. I think that it is because x64 does not work with MS jet. when the Mysql admin came up it showed a message could not find some data base driver, I could not catch what it said becauce it errored out with the library not being found. I then installed xampplite on my virtual PC, which runs XP Home. it works fine. ant work arounds for XP x64? I also tried to access localhost under firefox, same thing happens. I tested the ports and truned off the firewall. I'll look at the logs.
Thanks
Stuart Ray
stuartray
 
Posts: 4
Joined: 04. February 2008 03:08

Postby Izzy » 04. February 2008 06:50

XAMPP will work just fine on an 64bit OS as this is governed by MS, so when it finds a 32bit program it knows what to do with it, or else there would be very few programs available to run on an 64bit machine - Does it not suggest that 32bit programs be installed to the program files(x86) directory?
But I believe XAMPP is best installed to the root of a directory for example C:\xampp even on a 64 bit OS but I stand to be corrected on this.

Anyhow try this by adding this line:
Win32DisableAcceptEx
as the last line in:
.\xampp\apache\conf\httpd.conf

Save and restart Apache - backup the conf file first before editing of course.

I hope that what you did when attempting to fix this issue will not have any impact on getting it sorted now, and trying to remember what you did so you can revert to the original state would be advantageous.
Izzy
 
Posts: 3344
Joined: 25. April 2006 17:06

Postby stuartray » 04. February 2008 07:27

thanks Izzy, I did as you suggested still no go. I'll paste a portion of the error log:
1.first error
[Sun Feb 03 23:21:59 2008] [error] (OS 10038)An operation was attempted on something that is not a socket. : Child 696: Encountered too many errors accepting client connections. Possible causes: dynamic address renewal, or incompatible VPN or firewall software. Try using the Win32DisableAcceptEx directive.

2.Error log after added Win32DisableAcceptEx to http.conf
[Mon Feb 04 00:59:36 2008] [notice] Apache/2.2.6 (Win32) DAV/2 mod_ssl/2.2.6

OpenSSL/0.9.8g mod_autoindex_color PHP/5.2.5 configured -- resuming normal operations
[Mon Feb 04 00:59:36 2008] [notice] Server built: Nov 7 2007 11:48:48
[Mon Feb 04 00:59:36 2008] [notice] Parent: Created child process 4544
[Mon Feb 04 00:59:36 2008] [notice] Disabled use of AcceptEx() WinSock2 API
[Mon Feb 04 00:59:37 2008] [notice] Child 4544: Child process is running
[Mon Feb 04 00:59:37 2008] [notice] Child 4544: Acquired the start mutex.
[Mon Feb 04 00:59:37 2008] [notice] Child 4544: Starting 250 worker threads.
[Mon Feb 04 00:59:37 2008] [notice] Child 4544: Listening on port 443.
[Mon Feb 04 00:59:37 2008] [notice] Child 4544: Listening on port 80.
[Mon Feb 04 00:59:38 2008] [error] (OS 10038)An operation was attempted on something that is not a socket. : Too many errors in select loop. Child process exiting.
[Mon Feb 04 00:59:38 2008] [notice] Child 4544: Exit event signaled. Child process is ending.
[Mon Feb 04 00:59:39 2008] [notice] Child 4544: Released the start mutex
[Mon Feb 04 00:59:39 2008] [notice] Child 4544: Waiting for 250 worker threads to exit.
[Mon Feb 04 00:59:39 2008] [notice] Child 4544: All worker threads have exited.
[Mon Feb 04 00:59:39 2008] [notice] Child 4544: Child process is exiting
[Mon Feb 04 00:59:39 2008] [notice] Parent: child process exited with status 0 --

Restarting.
[Mon Feb 04 01:00:09 2008] [warn] pid file C:/xampplite/apache/logs/httpd.pid

overwritten -- Unclean shutdown of previous Apache run?
[Mon Feb 04 01:00:10 2008] [notice] Apache/2.2.6 (Win32) DAV/2 mod_ssl/2.2.6

OpenSSL/0.9.8g mod_autoindex_color PHP/5.2.5 configured -- resuming normal operations
[Mon Feb 04 01:00:10 2008] [notice] Server built: Nov 7 2007 11:48:48
[Mon Feb 04 01:00:10 2008] [notice] Parent: Created child process 3604
[Mon Feb 04 01:00:10 2008] [notice] Disabled use of AcceptEx() WinSock2 API
[Mon Feb 04 01:00:12 2008] [notice] Child 3604: Child process is running
[Mon Feb 04 01:00:12 2008] [notice] Child 3604: Acquired the start mutex.
[Mon Feb 04 01:00:12 2008] [notice] Child 3604: Starting 250 worker threads.
[Mon Feb 04 01:00:12 2008] [notice] Child 3604: Listening on port 443.
[Mon Feb 04 01:00:12 2008] [notice] Child 3604: Listening on port 80.
[Mon Feb 04 01:00:12 2008] [error] (OS 10038)An operation was attempted on something that is not a socket. : Too many errors in select loop. Child process exiting.
[Mon Feb 04 01:00:12 2008] [notice] Child 3604: Exit event signaled. Child process is ending.
[Mon Feb 04 01:00:13 2008] [notice] Child 3604: Released the start mutex
[Mon Feb 04 01:00:13 2008] [notice] Child 3604: Waiting for 250 worker threads to exit.
[Mon Feb 04 01:00:13 2008] [notice] Child 3604: All worker threads have exited.
[Mon Feb 04 01:00:13 2008] [notice] Child 3604: Child process is exiting
[Mon Feb 04 01:00:13 2008] [notice] Parent: child process exited with status 0 --

Restarting.
[Mon Feb 04 01:00:14 2008] [notice] Apache/2.2.6 (Win32) DAV/2 mod_ssl/2.2.6

OpenSSL/0.9.8g mod_autoindex_color PHP/5.2.5 configured -- resuming normal operations
[Mon Feb 04 01:00:14 2008] [notice] Server built: Nov 7 2007 11:48:48
[Mon Feb 04 01:00:14 2008] [notice] Parent: Created child process 2800
[Mon Feb 04 01:00:15 2008] [notice] Disabled use of AcceptEx() WinSock2 API
[Mon Feb 04 01:00:16 2008] [notice] Child 2800: Child process is running
[Mon Feb 04 01:00:16 2008] [notice] Child 2800: Acquired the start mutex.
[Mon Feb 04 01:00:16 2008] [notice] Child 2800: Starting 250 worker threads.
[Mon Feb 04 01:00:16 2008] [notice] Child 2800: Listening on port 443.
[Mon Feb 04 01:00:16 2008] [notice] Child 2800: Listening on port 80.
[Mon Feb 04 01:00:16 2008] [error] (OS 10038)An operation was attempted on something that is not a socket. : Too many errors in select loop. Child process exiting.
[Mon Feb 04 01:00:16 2008] [notice] Child 2800: Exit event signaled. Child process is ending.
[Mon Feb 04 01:00:17 2008] [notice] Child 2800: Released the start mutex
[Mon Feb 04 01:00:17 2008] [notice] Child 2800: Waiting for 250 worker threads to exit.
[Mon Feb 04 01:00:17 2008] [notice] Child 2800: All worker threads have exited.
[Mon Feb 04 01:00:18 2008] [notice] Child 2800: Child process is exiting
[Mon Feb 04 01:00:18 2008] [notice] Parent: child process exited with status 0 --

Also, after I added Win32DiableAcceptEx at the end of the http.conf file, Mysql would not stay started. This is the only change I've made so far.
I have Xampp installed in C:\xampp.
thanks
Stuart
Stuart Ray
stuartray
 
Posts: 4
Joined: 04. February 2008 03:08

Postby Izzy » 04. February 2008 07:57

As you can see that little fix has worked in part as your original error has gone, to be replaced by another slightly different error with no recommendations.

BTW OS 10038 is an Operating System error and you may find more clues in your System's Event Log Viewer - accessed from your Administrator Tools.

Try starting MySQL by running the C:\xampp\mysql_start.bat file.
Try starting Apache by running the C:\xampp\apache_start.bat file.

These bat files will usually provide feedback on any errors that are encountered.

And the MySQL Admin in the Control Panel is deprecated and so you should use phpMyAdmin instead.

Also take a look at this thread and see if there is any help there as it may be a registry issue here from your previous installs:
http://community.apachefriends.org/f/viewtopi ... 772#113772

And here is a forum link to a similar issue with running XAMPP on X64 where the Win32DiableAcceptEx did the trick:
http://community.apachefriends.org/f/viewtopic.php?t=20920

If all else fails:
Is there any specific reason to be using the lite version?

I recommend the full version after a proper uninstall of lite - make sure all modules are stopped and any XAMPP module services are uninstalled and the CP closed, then delete in total the xampp directory, don't try and overwrite the xampp directory when you reinstall as this is known to cause issues - you may have other issues now related to what I suspected when uninstalling and reinstalling as the Win32DiableAcceptEx has been known to fix your original issue.

If you reinstall try using the X86 program files directory and see if it makes a difference.

BTW this would not affect MySQL so there must be and issue with it that has now come to light
Also, after I added Win32DiableAcceptEx at the end of the http.conf file, Mysql would not stay started. This is the only change I've made so far.
The above linked forum page may help with this MySQL issue.
Izzy
 
Posts: 3344
Joined: 25. April 2006 17:06

Postby stuartray » 04. February 2008 22:46

:cry: Hi, I looked at those other posts, ran the sc.exe, and uninstalled xampplite and installed xampp to my program files (x86) directory. I still get the same error as before. (I also put win32disableacceptex in the http.conf file.) I reviewed my events log, the only error was that the xampp control panel would not run as a srvice due to login problems. I fixed that. also, my mysql problem was another instance of mysql running. It seems the mysql-nt.exe file does not quit, even though I stopped the service until I reboot. any more ideas? Thanks
Stuart Ray
stuartray
 
Posts: 4
Joined: 04. February 2008 03:08


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 213 guests