Jump to content


 


Register a free account to unlock additional features at BleepingComputer.com
Welcome to BleepingComputer, a free community where people like yourself come together to discuss and learn how to use their computers. Using the site is easy and fun. As a guest, you can browse and view the various discussions in the forums, but can not create a new topic or reply to an existing one unless you are logged in. Other benefits of registering an account are subscribing to topics and forums, creating a blog, and having no ads shown anywhere on the site.


Click here to Register a free account now! or read our Welcome Guide to learn how to use this site.

Photo

Wamp


  • Please log in to reply
11 replies to this topic

#1 Doug Dobie

Doug Dobie

  • Members
  • 30 posts
  • OFFLINE
  •  
  • Local time:08:05 AM

Posted 10 February 2014 - 05:24 PM

I installed Wampserver 2.3, copied my php project into wamp's www directory then tried to start localhost. IE said it couldn't find it and apache server stopped running. Help.



BC AdBot (Login to Remove)

 


#2 groovicus

groovicus

  • Security Colleague
  • 9,963 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Centerville, SD
  • Local time:07:05 AM

Posted 11 February 2014 - 10:51 AM

Did you start the server? There should be an option like Start –> All Programs –> WampServer –> start WampServer



#3 Doug Dobie

Doug Dobie
  • Topic Starter

  • Members
  • 30 posts
  • OFFLINE
  •  
  • Local time:08:05 AM

Posted 12 February 2014 - 01:52 PM

Thxs for replying. Yes, the wamp icon in the tray is green but selecting local host creates "site not found" message.



#4 groovicus

groovicus

  • Security Colleague
  • 9,963 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Centerville, SD
  • Local time:07:05 AM

Posted 13 February 2014 - 08:07 AM

Do you know if Apache actually stopped running? If Apache actually shut down, then you have a problem with Apache. Otherwise the options are a misconfiguration, or a conflict with another app. Do oyu have Skype installed on the same system by any chance? That will conflict with retrieving web content.



#5 Doug Dobie

Doug Dobie
  • Topic Starter

  • Members
  • 30 posts
  • OFFLINE
  •  
  • Local time:08:05 AM

Posted 13 February 2014 - 02:45 PM

Apache stops running after the localhost fails.

 

Await your reply groovicus



#6 groovicus

groovicus

  • Security Colleague
  • 9,963 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Centerville, SD
  • Local time:07:05 AM

Posted 13 February 2014 - 05:40 PM

Something is wrong with your Apache installation. Look in the apache error log. See if you can find any php logs. I don't know where either of those are in WAMP, but they shouldn't be too hard to find.

 

I hate to ask this again, but how do you know Apache is actually crashing? Are you seeing something in the WAMP control panel, or did you go to your command line and try to invoke Apache directly? It's not that I don't believe you, it's just that I have never seen Apache crash because of web content, so it would be a first for me.

 

Do you have Skype? Also, what version of Windows are you using?

 

EDIT: I did a Google search, and it turns out that there are cases where Apache crashes. That seems strange, because if a web server is not bullet proof, then it is not very useful. At any rate, there are a number of issues that can cause problems.


Edited by groovicus, 13 February 2014 - 05:51 PM.


#7 Doug Dobie

Doug Dobie
  • Topic Starter

  • Members
  • 30 posts
  • OFFLINE
  •  
  • Local time:08:05 AM

Posted 13 February 2014 - 06:02 PM

The apache error log contains:

[Thu Feb 13 11:47:19.355904 2014] [mpm_winnt:error] [pid 3260:tid 1108] (OS 10038)An operation was attempted on something that is not a socket.  : Child: Encountered too many AcceptEx faults accepting client connections. Possible causes: dynamic address renewal, or incompatible VPN or firewall software.
[Thu Feb 13 11:47:19.355904 2014] [mpm_winnt:notice] [pid 3260:tid 1108] (OS 10038)An operation was attempted on something that is not a socket.  : winnt_mpm: falling back to 'AcceptFilter none'.

 

And:

Parent ...

Child ...


Edited by Doug Dobie, 13 February 2014 - 06:05 PM.


#8 Doug Dobie

Doug Dobie
  • Topic Starter

  • Members
  • 30 posts
  • OFFLINE
  •  
  • Local time:08:05 AM

Posted 13 February 2014 - 06:31 PM

Skype does not use port 80 and I quit skype.

IE 8 in Windows Vista 32 bit.

 

And after I minimize the browser after failing with localhost, there is a window that says Apache stopped running.



#9 groovicus

groovicus

  • Security Colleague
  • 9,963 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Centerville, SD
  • Local time:07:05 AM

Posted 13 February 2014 - 11:02 PM

lol.. I believe you, I believe you, but Skype uses Port 80 and 443, or 1024. :)

 

I found this in relation to your error message:

This symptom occurs on a computer that obtains an IP address from a Dynamic Host Configuration Protocol (DHCP) server. If you assign a static IP address to your computer, you do not receive this message.

 

That is a total stab in the dark based on your error message, but another plausible reason. I also found a page with a bunch of maybe related topics: http://www.dispatch.com/content/search/yahoo-search.jsp?keyword=apache+an+operation+was+attempted+on+something+that+is+not+a+socket

 

Something about your system is messing with WAMP, and it is going to be some trial and error. Would you consider giving XAMPP a try? Maybe you will have better luck.

http://www.apachefriends.org/index.html



#10 Doug Dobie

Doug Dobie
  • Topic Starter

  • Members
  • 30 posts
  • OFFLINE
  •  
  • Local time:08:05 AM

Posted 14 February 2014 - 12:53 PM

Problem solved, it was a winsock problem, ran command prompt: netsh winsock reset, thxs.

 

But I can not run my project.

I have 2 sql files in the www directory that I exported.

 

Where/what/how do they get added. Thxs again.



#11 groovicus

groovicus

  • Security Colleague
  • 9,963 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Centerville, SD
  • Local time:07:05 AM

Posted 14 February 2014 - 02:56 PM

Those files have to get added to the database. The way it usually works is that you will have to manually create a database, import the database, and then probably recreate the user permissions that were on the original server so that the PHP has permission to talk to the database, as it were.



#12 Doug Dobie

Doug Dobie
  • Topic Starter

  • Members
  • 30 posts
  • OFFLINE
  •  
  • Local time:08:05 AM

Posted 14 February 2014 - 06:07 PM

My index.php is:
<?php
/**
* Front to the WordPress application. This file doesn't do anything, but loads
* wp-blog-header.php which does and tells WordPress to load the theme.
*
* @package WordPress
*/

/**
* Tells WordPress to load the WordPress theme and output it.
*
* @var bool
*/
define('WP_USE_THEMES', true);

/** Loads the WordPress Environment and Template */
require( dirname( __FILE__ ) . '/wp-blog-header.php' );

my wp-config.php:

wp-config.php has all the db info:

// ** MySQL settings - You can get this info from your web host ** //
/** The name of the database for WordPress */
define('DB_NAME', '**********');

/** MySQL database username */
define('DB_USER', '********');
 
wp-config.php has all the db info:

// ** MySQL settings - You can get this info from your web host ** //
/** The name of the database for WordPress */
define('DB_NAME', '*********');

/** MySQL database username */
define('DB_USER', '**************');

/** MySQL database password */
define('DB_PASSWORD', '*************');

/** MySQL hostname */
define('DB_HOST', 'binbros.netfirmsmysql.com');

/** Database Charset to use in creating database tables. */
define('DB_CHARSET', 'utf8');

/** The Database Collate type. Don't change this if in doubt. */
define('DB_COLLATE', '');

This all produces:
www.binbros.ca hosted at netfirms.ca.

I want to see everything on my HD before transferring it to another server.

Help still.


Edited by groovicus, 14 February 2014 - 09:47 PM.
Removed confidential info





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users