Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Apache 1.3.9 won't start up

Status
Not open for further replies.

raymo

MIS
May 20, 2000
5
US
I'm trying to run apache 1.3.9 on an sgi indy running irix 6.2. I get the error message &quot;httpd: cannot determine local host name. Use ServerName to set it manually.&quot; I've gone into httpd.conf and set the ServerName variable to 192.168.1.103. That is the internal ip of the machine. Help?<br><br>Ray<br><A HREF="mailto:rmarasa@excite.com">rmarasa@excite.com</A>
 
Try setting ServerName to be a fully qualified domain name for your server.&nbsp;&nbsp;Even if you've not got one, make one up :)&nbsp;&nbsp;I think you'll find that everything will be OK then.
 
I appreciate your help. I'm a novice at setting up apache under irix. I created a fully qualified domain name, but no change.<br><br><br>I'm going to try putting up dns on yeat another box to see if that may help :(
 
I forgot to also say to put the IP address of your server and it's fully qualified domain name (FQDN) into /etc/hosts.&nbsp;&nbsp;Try doing that before you battle with setting up DNS.<br><br>If you've already got an entry in /etc/hosts for your server, just add the FQDN as an alias for the host.<br><br>For example:<br><FONT FACE=monospace><br>1.2.3.4&nbsp;&nbsp;&nbsp;&nbsp;myhost&nbsp;&nbsp;&nbsp;&nbsp;myhost.my.domain.com<br></font>
 
Still no change. I tried the fqdn.<br><br>Argh!!! No ideas at all. I am able to get out on the net from the sgi, and I can telnet and ftp in... I think my problem lies in my unfamiliarity with unix networking. So far I've only made changes to etc/hosts and etc/resolv.conf.<br><br>When I have no network connection to the wall jack the sgi takes 40 minutes to complete its start up.<br><br>Please help...
 
I'm not familiar with SGI, but I use FreeBSD and Linux. <br><br>I am running Apache with the ServerName directive commented out, because My DNS resolves the machine's hostname. ServerName is only needed when there is no way to resolve the hostname, or you want a redirect (ex. yourboxname.domainname.com becomes think the problem is in your system network configuration, or in your DNS, not Apache.<br><br>There are a few command-line diagnostics that can help you figure out what is wrong: <br><br>1. the simplest one is &quot;hostname&quot; try entering it and see if the correct hostname is echoed onscreen (&quot;yourboxname.domainname.com&quot;)<br>2. &quot;resolveip yourboxname&quot; will attempt to resolve your hostname and echo back the ip address<br>3. &quot;ifconfig -a&quot; will show the parameters to all network connections to your system<br>4. &quot;netstat -rn&quot; will show your system network routing information<br>5. &quot;resolveip <br><br>Enter &quot;man ifconfig&quot; or &quot;man netstat&quot; for more the manual pages for these commands; they are quite powerful. Im sure there are other platform-specific tools for SGI, also.<br>
 
Almost solved!!!!<br>Sorry guys... I goofed.<br>It turns out my default install of IRIX 6.2 buries NCSA's HTTPD inside my Server. It has its own httpd.conf (ServerName directive not set up), and because of its heritage, gives off the same error messages as Apache. It's on Port 80 and Apache on 8080.<br><br>Does anyone know how I would disable NCSA's HTTPD. I need to do this to reclaim Port 80. So far I can find the PID or startup script. I could just rename the file, but how elegant is that? Perhaps if I do, I might get some useful error messages to help track down its startup script location.
 
Hi, found the startup script in inetd.conf.<br><br>Apache is now running!!!!!!!<br><br>Thanks all!!!!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top