[Ilugc] Start httpd httpd:Could not reliably .. Thanks

  • From: ramkumarcrk@xxxxxxxxx (Ramkumar)
  • Date: Tue Sep 22 18:45:29 2009

Dear Friends,
                    Thanks to ILUG-C,below all and stylesen also.
     he told just check
     #hostname
     #hostname -f
                     i got different output.Just i changed entry in
/etc/hosts

    In LAN,
               Changed SELinux and Firewall settings.Then i can access TEST
page in our  Local LAN


On Tue, Sep 22, 2009 at 6:00 PM, Girish Venkatachalam <
girishvenkatachalam@xxxxxxxxx> wrote:

On Tue, Sep 22, 2009 at 3:47 PM, Ramkumar <ramkumarcrk@xxxxxxxxx> wrote:
Dear Friends,
                   started Apache 2 service,while starting it says "Start
httpd httpd:Could not reliably determine the server's fully qualified
domain
name ,using 127.0.0.1 for ServerName".i can access http://localhost.Buti
cann't access my Apache Test Page in LAN with other machine.thanks in
advance

Go to httpd.conf and set a proper name in the

ServerName directive.

Open httpd.conf in vi/vim/emacs and search for ServerName. Set it to an IP
address and you don't have to worry about DNS or /etc/hosts.

It is as simple as that.

The most basic question is Apache configuration is this one and everyone
is bound to get this when learning the details of Apache configuration.

You should remember these switches for testing the configuration settings
everytime you modify the file.

$ httpd -t

More details here. It is really simple.

http://linux.die.net/man/8/httpd

I used to work on the guts of Apache and I used to use the -x switch for
 preventing Apache from forking. I don't think you will need to do that
now.

Apache directives are organized in sections like XML.

Thanks!

-Girish

--
Gayatri Hitech
web: http://gayatri-hitech.com

SpamCheetah Spam filter:
http://spam-cheetah.com
_______________________________________________
To unsubscribe, email ilugc-request@xxxxxxxxxxxxx with
"unsubscribe <password> <address>"
in the subject or body of the message.
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc




-- 
www.opennetguru.com

Other related posts:

  • » [Ilugc] Start httpd httpd:Could not reliably .. Thanks - Ramkumar