logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Apache View previous topic :: View next topic
Reply to topic   Topic: Installation Problem
Author
ilikesci



Joined: 16 Jul 2011
Posts: 4
Location: Copperas Cove, Texas

PostPosted: Sun 17 Jul '11 2:45    Post subject: Installation Problem Reply with quote

Hello,
I am having trouble getting Apache 2.2.19 working on my computer. I have Windows 7 x64 and installed it as a service. The error I am getting is "httpd.exe: Could not reliably determine the server's fully qualified domain name, using 192.168.2.3 for ServerName" (from error under logs) and of course I have a wireless network setup. I assume it is getting the 192.168.2.3 from the router. I am aware of the configuration file httpd.conf and have been playing with different ServerName localhost:80 changes. Trying localhost, localhost.localdomain, 127.0.0.1, 192.168.2.1, and 192.168.2.3. None of those seem to work. What should the ServerName contain if I just want to run it on my computer and do not have domain name? netstat is saying I have a active connection on 127.0.0.1:various ports station3:various ports. Station3 is the name of my computer.
The whole purpose is to get a server running so I can install php and write php programs to test before deploying them. I am aware of other options for php but want to do it this way since I have other things I wish to test as well. For instance mysql. I know it is a newbie question but I really could use the help since it is basic to getting other things working.

Thank You,
Micah J. Kimbrough
Back to top
Kanashii



Joined: 17 Jul 2006
Posts: 155
Location: Porando

PostPosted: Sun 17 Jul '11 15:22    Post subject: Reply with quote

http://tinyurl.com/62zs3ks

Do you use Skype because skype use port 80 ?
Back to top
Sob



Joined: 19 Apr 2008
Posts: 30

PostPosted: Sun 17 Jul '11 15:39    Post subject: Reply with quote

Server name is not (much) important, it's just warning. Important thing is Listen directive. If you have default "Listen 80", then Apache should be listening on all available addresses. No matter which one of them you try to open in browser (http://127.0.0.1 , http://[::1] , http://192.168.2.3 , ...) you should get something. It may not be exactly what you want (e.g. if you want to have multiple virtual hosts and didn't set up them yet), but it should be from Apache.

So make sure that Apache is really listening correctly ("netstat -anb" or more user friendly TCPView).
Back to top
ilikesci



Joined: 16 Jul 2011
Posts: 4
Location: Copperas Cove, Texas

PostPosted: Mon 18 Jul '11 5:24    Post subject: Reply with quote

The following seemed to be causing some error about needing a fake and real name so I commented them out for the moment.

ScriptAlias /php/ ""
Action application/x-httpd-php "php-cgi.exe"

I am going to try:
Listen 88
ServerName localhost

and

ServerName localhost:88

to see if that makes a difference. Given that skype is not running but uses 80 port that is why I am trying port 88. So, I do have skype but I did not see it running on netstat either. I do not see Apache listening on port 80 using netstat. Should I be looking at processes instead of netstat like on linux?

Thank You,
Micah
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7298
Location: Germany, Next to Hamburg

PostPosted: Mon 18 Jul '11 10:56    Post subject: Reply with quote

ilikesci wrote:

ScriptAlias /php/ ""
Action application/x-httpd-php "php-cgi.exe"


You can't mix several technics. See how to install PHP as module. http://www.apachelounge.com/viewtopic.php?t=2394

if you still have a question please ask again.
Back to top
ilikesci



Joined: 16 Jul 2011
Posts: 4
Location: Copperas Cove, Texas

PostPosted: Mon 18 Jul '11 20:27    Post subject: Reply with quote

Please does anyone have any ideas on how to get apache running. I have tried every combination I could think of and nothing including Listen on 88 and 90. I have the monitor running and when I try to start server it gives the following error: The requested operation has failed! in a dialog box. I should state that when using a dos box and I try to start the server manually under the bin directory by entering in httpd.exe it says it is that Apache HTTP has stopped working Windows is looking for a solution to the problem.

I should state that I have the following servers running beside databases. I have:
Tomcat on 8888
GeoServer on 8880
Apache on 80
Glassfish on 8080
Marklogic on 8000
Weblogic on ? which is for JDeveloper Studio

When I installed php it put that in the apache httpd.conf file and is commented out so that should not be a problem. I have installed perl, python, and ruby which I am hoping did not change any other part of httpd.conf to make it not function. Also various java technologies have been install as well like java media framework and javafx production suite. Could the router be preventing from starting? I am just stumped.

Thank You,
Micah
Back to top
ilikesci



Joined: 16 Jul 2011
Posts: 4
Location: Copperas Cove, Texas

PostPosted: Sat 23 Jul '11 4:21    Post subject: Reply with quote

A deletion and re-installation a third time solved the issue. I downloaded version 2.2.19 and installed it. The httpd.conf file does have one difference. It commented out ServerName. The only other difference is that I kept the default admin email address as:
ServerAdmin admin@station3.localdomain. So, anyone that answered the thread thank you.

Thank You,
Micah
Back to top


Reply to topic   Topic: Installation Problem View previous topic :: View next topic
Post new topic   Forum Index -> Apache