Author Topic: Anyone good with Apache?  (Read 3881 times)

eMo

  • VM-68
  • Posts: 184
Anyone good with Apache?
« on: March 31, 2009, 01:01:08 PM »
I need some trouble shooting help with Apache and i was wondering if anyone could lend me some time to figure out what exactly is wrong.

I had IIS running, but somehow my teacher messed it up so i disabled it and decided to run apache as a local host.

My problem is that when i type: localhost into my browser address it wont resolve. I checked my services and nothing is running that should affect it.

KnacK

  • Global Moderator
  • Autococker
  • Posts: 3039
Re: Anyone good with Apache?
« Reply #1 on: March 31, 2009, 01:07:31 PM »
if you try http://127.0.0.1 what happens?

You might have a simple dns resolution issue.

eMo

  • VM-68
  • Posts: 184
Re: Anyone good with Apache?
« Reply #2 on: March 31, 2009, 01:10:45 PM »
same thing as localhost. just sits there trying to resolve.

Also i didn't mention im using XAMPP.  I'm going to try and restart again to see if my services are the problem

KnacK

  • Global Moderator
  • Autococker
  • Posts: 3039
Re: Anyone good with Apache?
« Reply #3 on: March 31, 2009, 01:14:03 PM »
You can ping localhost and 127.0.0.1 correct? ( making sure your tcpip stack isn't fubared)

eMo

  • VM-68
  • Posts: 184
Re: Anyone good with Apache?
« Reply #4 on: March 31, 2009, 01:27:54 PM »
I can ping it fine. As soon as type it into my address bar it just sits and tries to load.
I really don't know what it is. IIS is completely removed, I've uninstalled apache completely and re-installed.
Don't know what im missing. ..

KnacK

  • Global Moderator
  • Autococker
  • Posts: 3039

eMo

  • VM-68
  • Posts: 184
Re: Anyone good with Apache?
« Reply #6 on: March 31, 2009, 02:07:34 PM »
So i took apache off of port 80 and put it on 8080.
Now when i try and go to locolhost i get "failed to connect" which was expected.
when i try localhost:8080 it still does the same thing. could it be my apache install or my config file?

KnacK

  • Global Moderator
  • Autococker
  • Posts: 3039
Re: Anyone good with Apache?
« Reply #7 on: March 31, 2009, 02:24:36 PM »
is the apache service even running?  You should be getting the apache page under construction page.

eMo

  • VM-68
  • Posts: 184
Re: Anyone good with Apache?
« Reply #8 on: March 31, 2009, 02:30:42 PM »
yep the service is running. I know the screen i should be getting cause i'v had tomcat running on this once.
I really have no idea what the problem is and my poor little teacher is confused enough as it is without the class's problems =\

I'll give it another shot tonite when i get home.
thanks for your quick replies knack.

KnacK

  • Global Moderator
  • Autococker
  • Posts: 3039
Re: Anyone good with Apache?
« Reply #9 on: March 31, 2009, 03:03:30 PM »
hit me up later I should be in my home office most of the night

lekky

  • Autococker
  • Posts: 2449
Re: Anyone good with Apache?
« Reply #10 on: March 31, 2009, 06:41:10 PM »
You're using XAMPP, you aren't trying to install Apache separately are you?

eMo

  • VM-68
  • Posts: 184
Re: Anyone good with Apache?
« Reply #11 on: March 31, 2009, 09:17:53 PM »
You're using XAMPP, you aren't trying to install Apache separately are you?

no. When I got home today I uninstalled xampp and tried to install apache 2.2 on its own but still had the same result.
I really don't know where to go from here.. prob into the config..

lekky

  • Autococker
  • Posts: 2449
Re: Anyone good with Apache?
« Reply #12 on: April 01, 2009, 03:11:26 AM »
just try wamp

eMo

  • VM-68
  • Posts: 184
Re: Anyone good with Apache?
« Reply #13 on: April 01, 2009, 11:01:13 AM »
yeah i was going to try that today...
after that im just going to give up.

Can you guys think of any other ways to run .php files?

edit: would microsoft visual studio work? i code asp in it

sk89q

  • Global Moderator
  • Autococker
  • Posts: 1049
Re: Anyone good with Apache?
« Reply #14 on: April 01, 2009, 01:43:47 PM »
If you just need to run a PHP script, then download the PHP interpreter and call it by the command line.

Have you checked the Apache logs?

Try opening telnet to 127.0.0.1:80(80) and type in:

Code: [Select]
GET / HTTP/1.0


Type two new lines afterward.

eMo

  • VM-68
  • Posts: 184
Re: Anyone good with Apache?
« Reply #15 on: April 02, 2009, 09:04:51 AM »
I couldn't open the connection to: 127.0.0.1:80(80).

[Thu Apr 02 11:17:16 2009] [notice] Child 3740: Child process is running
[Thu Apr 02 11:17:16 2009] [notice] Child 3740: Acquired the start mutex.
[Thu Apr 02 11:17:16 2009] [notice] Child 3740: Starting 64 worker threads.
[Thu Apr 02 11:17:16 2009] [notice] Child 3740: Starting thread to listen on port 80.
[Thu Apr 02 11:21:28 2009] [notice] Parent: Received shutdown signal -- Shutting down the server.
[Thu Apr 02 11:21:28 2009] [notice] Child 3740: Exit event signaled. Child process is ending.
[Thu Apr 02 11:21:29 2009] [notice] Child 3740: Released the start mutex
[Thu Apr 02 11:21:30 2009] [notice] Child 3740: All worker threads have exited.
[Thu Apr 02 11:21:35 2009] [notice] Child 3740: Child process is exiting
[Thu Apr 02 11:21:36 2009] [notice] Parent: Child process exited successfully.
[Thu Apr 02 11:23:00 2009] [notice] Apache/2.2.11 (Win32) PHP/5.2.9-1 configured -- resuming normal operations
[Thu Apr 02 11:23:00 2009] [notice] Server built: Dec 10 2008 00:10:06
[Thu Apr 02 11:23:00 2009] [notice] Parent: Created child process 5652
[Thu Apr 02 11:23:00 2009] [notice] Child 5652: Child process is running
[Thu Apr 02 11:23:00 2009] [notice] Child 5652: Acquired the start mutex.
[Thu Apr 02 11:23:00 2009] [notice] Child 5652: Starting 64 worker threads.
[Thu Apr 02 11:23:00 2009] [notice] Child 5652: Starting thread to listen on port 8080.


installed wamp.
tried it on port 80, changed it to 8080.
still same problem . ...

sk89q

  • Global Moderator
  • Autococker
  • Posts: 1049
Re: Anyone good with Apache?
« Reply #16 on: April 02, 2009, 02:09:00 PM »
Have you tried using Apache without setting up PHP?

eMo

  • VM-68
  • Posts: 184
Re: Anyone good with Apache?
« Reply #17 on: April 02, 2009, 03:09:30 PM »
Have you tried using Apache without setting up PHP?

...i cant even get apache up :P (including apache stand alone)

eMo

  • VM-68
  • Posts: 184
Re: Anyone good with Apache?
« Reply #18 on: April 03, 2009, 10:17:39 AM »
So, I'm unable to run mysql now. It worked perfect before....
I have no idea whats going on. I'm guessing my services are all intercoursed up =\.

Would more than service of the same type effect anything. ( I'v got 3 different mysql services for some reason)

KnacK

  • Global Moderator
  • Autococker
  • Posts: 3039
Re: Anyone good with Apache?
« Reply #19 on: April 03, 2009, 11:07:14 AM »
1. go into services and stop all mysql and apache services
2. You need to uninstall EVERYTHING
3. reinstall JUST apache and playwith that until you get it.