Localhost not loading
Posted by: kejohnson70 (---.hsd1.md.comcast.net)
Date: May 22, 2012 04:33AM

Hi
I am new to web development, I installed WampServer and when I click on localhost it launches in the web browser but never opens. It times out and never opens.

here it was my apache error log says:


[Fri May 18 22:48:59 2012] [notice] Apache/2.2.21 (Win64) PHP/5.3.10 configured -- resuming normal operations
[Fri May 18 22:48:59 2012] [notice] Server built: Sep 24 2011 19:57:51
[Fri May 18 22:48:59 2012] [notice] Parent: Created child process 1496
[Fri May 18 22:49:00 2012] [notice] Child 1496: Child process is running
[Fri May 18 22:49:00 2012] [notice] Child 1496: Acquired the start mutex.
[Fri May 18 22:49:00 2012] [notice] Child 1496: Starting 64 worker threads.
[Fri May 18 22:49:00 2012] [error] (OS 10038)An operation was attempted on something that is not a socket. : winnt_accept: getsockname error on listening socket, is IPv6 available?
[Fri May 18 22:49:00 2012] [error] (OS 10038)An operation was attempted on something that is not a socket. : winnt_accept: getsockname error on listening socket, is IPv6 available?
[Fri May 18 22:52:33 2012] [notice] Parent: Received shutdown signal -- Shutting down the server.
[Fri May 18 22:52:33 2012] [notice] Child 1496: Exit event signaled. Child process is ending.
[Fri May 18 22:52:34 2012] [notice] Child 1496: Released the start mutex
[Fri May 18 22:52:35 2012] [notice] Child 1496: All worker threads have exited.
[Fri May 18 22:52:35 2012] [notice] Child 1496: Child process is exiting
[Fri May 18 22:52:35 2012] [notice] Parent: Child process exited successfully.
[Fri May 18 22:52:35 2012] [notice] Apache/2.2.21 (Win64) PHP/5.3.10 configured -- resuming normal operations
[Fri May 18 22:52:35 2012] [notice] Server built: Sep 24 2011 19:57:51
[Fri May 18 22:52:35 2012] [notice] Parent: Created child process 5748
[Fri May 18 22:52:35 2012] [notice] Child 5748: Child process is running
[Fri May 18 22:52:35 2012] [notice] Child 5748: Acquired the start mutex.
[Fri May 18 22:52:35 2012] [notice] Child 5748: Starting 64 worker threads.
[Fri May 18 22:52:35 2012] [error] (OS 10038)An operation was attempted on something that is not a socket. : winnt_accept: getsockname error on listening socket, is IPv6 available?
[Fri May 18 22:52:35 2012] [error] (OS 10038)An operation was attempted on something that is not a socket. : winnt_accept: getsockname error on listening socket, is IPv6 available?
[Fri May 18 23:06:43 2012] [notice] Parent: Received shutdown signal -- Shutting down the server.
[Fri May 18 23:06:43 2012] [notice] Child 5748: Exit event signaled. Child process is ending.
[Fri May 18 23:06:44 2012] [notice] Child 5748: Released the start mutex
[Fri May 18 23:06:45 2012] [notice] Child 5748: All worker threads have exited.
[Fri May 18 23:06:45 2012] [notice] Child 5748: Child process is exiting
[Fri May 18 23:06:45 2012] [notice] Parent: Child process exited successfully.
[Fri May 18 23:06:48 2012] [notice] Apache/2.2.21 (Win64) PHP/5.3.10 configured -- resuming normal operations
[Fri May 18 23:06:48 2012] [notice] Server built: Sep 24 2011 19:57:51
[Fri May 18 23:06:48 2012] [notice] Parent: Created child process 3572
[Fri May 18 23:06:48 2012] [notice] Child 3572: Child process is running
[Fri May 18 23:06:48 2012] [notice] Child 3572: Acquired the start mutex.
[Fri May 18 23:06:48 2012] [notice] Child 3572: Starting 64 worker threads.
[Fri May 18 23:06:48 2012] [error] (OS 10038)An operation was attempted on something that is not a socket. : winnt_accept: getsockname error on listening socket, is IPv6 available?
[Fri May 18 23:06:48 2012] [error] (OS 10038)An operation was attempted on something that is not a socket. : winnt_accept: getsockname error on listening socket, is IPv6 available?
[Sat May 19 00:18:22 2012] [warn] pid file C:/wamp/bin/apache/Apache2.2.21/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Sat May 19 00:18:22 2012] [notice] Apache/2.2.21 (Win64) PHP/5.3.10 configured -- resuming normal operations
[Sat May 19 00:18:22 2012] [notice] Server built: Sep 24 2011 19:57:51
[Sat May 19 00:18:22 2012] [notice] Parent: Created child process 4640
[Sat May 19 00:18:22 2012] [notice] Child 4640: Child process is running
[Sat May 19 00:18:22 2012] [notice] Child 4640: Acquired the start mutex.
[Sat May 19 00:18:22 2012] [notice] Child 4640: Starting 64 worker threads.
[Sat May 19 00:18:22 2012] [error] (OS 10038)An operation was attempted on something that is not a socket. : winnt_accept: getsockname error on listening socket, is IPv6 available?
[Sat May 19 00:18:22 2012] [error] (OS 10038)An operation was attempted on something that is not a socket. : winnt_accept: getsockname error on listening socket, is IPv6 available?
[Mon May 21 22:23:30 2012] [warn] pid file C:/wamp/bin/apache/Apache2.2.21/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Mon May 21 22:23:30 2012] [notice] Apache/2.2.21 (Win64) PHP/5.3.10 configured -- resuming normal operations
[Mon May 21 22:23:30 2012] [notice] Server built: Sep 24 2011 19:57:51
[Mon May 21 22:23:30 2012] [notice] Parent: Created child process 4920
[Mon May 21 22:23:30 2012] [notice] Child 4920: Child process is running
[Mon May 21 22:23:30 2012] [notice] Child 4920: Acquired the start mutex.
[Mon May 21 22:23:30 2012] [notice] Child 4920: Starting 64 worker threads.
[Mon May 21 22:23:30 2012] [error] (OS 10038)An operation was attempted on something that is not a socket. : winnt_accept: getsockname error on listening socket, is IPv6 available?
[Mon May 21 22:23:30 2012] [error] (OS 10038)An operation was attempted on something that is not a socket. : winnt_accept: getsockname error on listening socket, is IPv6 available?
[Mon May 21 23:02:32 2012] [notice] Parent: Received shutdown signal -- Shutting down the server.
[Mon May 21 23:02:32 2012] [notice] Child 4920: Exit event signaled. Child process is ending.
[Mon May 21 23:02:33 2012] [notice] Child 4920: Released the start mutex
[Mon May 21 23:02:34 2012] [notice] Child 4920: All worker threads have exited.
[Mon May 21 23:02:34 2012] [notice] Child 4920: Child process is exiting
[Mon May 21 23:02:34 2012] [notice] Parent: Child process exited successfully.
[Mon May 21 23:04:19 2012] [notice] Apache/2.2.21 (Win64) PHP/5.3.10 configured -- resuming normal operations
[Mon May 21 23:04:19 2012] [notice] Server built: Sep 24 2011 19:57:51
[Mon May 21 23:04:19 2012] [notice] Parent: Created child process 2656
[Mon May 21 23:04:19 2012] [notice] Child 2656: Child process is running
[Mon May 21 23:04:19 2012] [notice] Child 2656: Acquired the start mutex.
[Mon May 21 23:04:19 2012] [notice] Child 2656: Starting 64 worker threads.
[Mon May 21 23:04:19 2012] [error] (OS 10038)An operation was attempted on something that is not a socket. : winnt_accept: getsockname error on listening socket, is IPv6 available?
[Mon May 21 23:04:19 2012] [error] (OS 10038)An operation was attempted on something that is not a socket. : winnt_accept: getsockname error on listening socket, is IPv6 available?
[Mon May 21 23:41:20 2012] [warn] pid file C:/wamp/bin/apache/Apache2.2.21/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Mon May 21 23:41:20 2012] [notice] Apache/2.2.21 (Win64) PHP/5.3.10 configured -- resuming normal operations
[Mon May 21 23:41:20 2012] [notice] Server built: Sep 24 2011 19:57:51
[Mon May 21 23:41:20 2012] [notice] Parent: Created child process 3400
[Mon May 21 23:41:20 2012] [notice] Child 3400: Child process is running
[Mon May 21 23:41:20 2012] [notice] Child 3400: Acquired the start mutex.
[Mon May 21 23:41:20 2012] [notice] Child 3400: Starting 64 worker threads.
[Mon May 21 23:41:20 2012] [error] (OS 10038)An operation was attempted on something that is not a socket. : winnt_accept: getsockname error on listening socket, is IPv6 available?
[Mon May 21 23:41:20 2012] [error] (OS 10038)An operation was attempted on something that is not a socket. : winnt_accept: getsockname error on listening socket, is IPv6 available?
[Mon May 21 23:55:42 2012] [warn] pid file C:/wamp/bin/apache/Apache2.2.21/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Mon May 21 23:55:44 2012] [notice] Apache/2.2.21 (Win64) PHP/5.3.10 configured -- resuming normal operations
[Mon May 21 23:55:44 2012] [notice] Server built: Sep 24 2011 19:57:51
[Mon May 21 23:55:44 2012] [notice] Parent: Created child process 696
[Mon May 21 23:55:44 2012] [notice] Child 696: Child process is running
[Mon May 21 23:55:44 2012] [notice] Child 696: Acquired the start mutex.
[Mon May 21 23:55:44 2012] [notice] Child 696: Starting 64 worker threads.
[Mon May 21 23:55:44 2012] [error] (OS 10038)An operation was attempted on something that is not a socket. : winnt_accept: getsockname error on listening socket, is IPv6 available?
[Mon May 21 23:55:44 2012] [error] (OS 10038)An operation was attempted on something that is not a socket. : winnt_accept: getsockname error on listening socket, is IPv6 available?


PLEASE HELP! I need to download it to work on a wordpress website for a class that I am taking

Thanks



Edited 1 time(s). Last edit at 05/22/2012 05:59AM by kejohnson70.

Options: ReplyQuote
Re: Localhost not loading
Posted by: RiggsFolly (---.as13285.net)
Date: May 22, 2012 10:03AM

hi,

It looks like you may have forgotten to edit your HOSTS file.

edit c:\windows\system32\drivers\etc\hosts

launch your editor using "Run as Administrator" as this file is protected by the OS and will only allow admin users to update it.

If you see a line like this:
::1 localhost
delete it, or comment it out using the # symbol

make sure you have a line like this in the hosts file:
127.0.0.1 localhost



Question: Is your Wamp Manager icon in the system tray GREEN?

Options: ReplyQuote
Re: Localhost not loading
Posted by: kejohnson70 (---.hfc.comcastbusiness.net)
Date: May 22, 2012 10:42PM

Hi

Yes it was always green. Well unfortunately I gave up and just did a system restore back to factory settings. It got rid of some malware software that was deeply rooted so I'm glad I did it. Once I restored everything I went back to install WAMPSERVER and it runs fine now.

Thanks so much!

Options: ReplyQuote
Re: Localhost not loading
Posted by: rahularora_89 (---.14.168.122.airtelbroadband.in)
Date: May 25, 2012 08:38AM

Dear RigsFolly

I searched in the file you indicated and couldn't find any ::1 localhost but still my localhost page is not working, please help..........

Options: ReplyQuote
Re: Localhost not loading
Posted by: RiggsFolly (---.ppp.as43234.net)
Date: May 29, 2012 11:34AM

rahularora_89

Start a new thread and explain your specific problem

Options: ReplyQuote


Sorry, only registered users may post in this forum.