RE: apache not starting: FreeBSd 5.4



yes you are wrong. Read this

Assigning a Host name to your FBSD system.

Your FBSD operating system has internal software applications (like
sendmail for one) that needs to know the fully qualified domain name
of the PC it's running on. You do this by adding the option
statement hostname= to /etc/rc.conf.
This is the format to use.

thisPCname.fakeDOMAINname.tld

Where thisPCname came be any name you want to identify this
particular PC on your LAN. Since the goal of this Installation Guide
is to build a FBSD gateway server, the name of this PC should be
gateway.
Where .fakeDOMAINname can be any name you want as long as it's not a
registered domain name on the public Internet (unless of course it's
registered to you). Using FBSDyourlastname is a safe fake domain
name to use here. So if your name was Tom Jones, you should use
fbsdjones.
Where .tld can be any of the standard TLD's currently in use. Such
as .com or .usa or .info or .cc, but since .com is the most commonly
used TLD, I recommend using .com.

gateway.fbsdjones.com is a very acceptable fake host name to use.

ee /etc/rc.conf
and add this option statement to the file:

hostname="gateway.fbsdjones.com"

Save the changed file and ?reboot? your system for your edit changes
to take effect.
When the reboot stops at the login prompt, the line displayed just
above it will now contain your host name you just added to rc.conf.

Installer Note: If you have an official registered domain name that
you want to use for your email sendmail server, then use that in the
hostname= statement. Example, if my registered domain name was
cyberman.com then hostname=?cyberman.com? is what I would code.



What ever hostname you use, for example gateway.fbsdjones.com, in
the httpd.conf file you would use www.fbsdjones.com and you will
also have to add gateway.fbsdjones.com and fbsdjones.com to
/etc/hosts file because you have no private dns server.


-----Original Message-----
From: owner-freebsd-questions@xxxxxxxxxxx
[mailto:owner-freebsd-questions@xxxxxxxxxxx]On Behalf Of dharam paul
Sent: Monday, May 01, 2006 10:15 AM
To: Chad Brown
Cc: freebsd
Subject: Re: apache not starting: FreeBSd 5.4


Yes, it is. But the machine is meant only for local
intranet. Am I wrng to give this name?

Regards
dp
--- Chad Brown <chadsbrown@xxxxxxxxx> wrote:

Mon May 1 00:48:28 2006] [alert] mod_unique_id:
unable to gethostbyname("cathy@xxxxxxxxxxxxxxxx")

is your hostname really "cathy@xxxxxxxxxxxxxxxx"?
type "hostname" in a shell.





__________________________________________________________
Yahoo! India Answers: Share what you know. Learn something new.
http://in.answers.yahoo.com
_______________________________________________
freebsd-questions@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to
"freebsd-questions-unsubscribe@xxxxxxxxxxx"

_______________________________________________
freebsd-questions@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • RE: What hostname should I set?
    ... Your FBSD operating system has internal software applications (like ... statement hostname= to /etc/rc.conf. ... Gateway.fbsdjones.com is an very acceptable fake host name to use. ... Save the changed file and 'reboot' your system for your edit changes ...
    (freebsd-questions)
  • RE: hostname question
    ... Assigning an Host name to your FBSD system. ... Your FBSD operating system has internal software applications (like ... Gateway.fbsdjones.com is an very acceptable fake host name to use. ... Subject: hostname question ...
    (freebsd-questions)
  • RE: cannot understand name "peter.first.try"
    ... statement hostname= to /etc/rc.conf. ... gateway.fbsdjones.com is a very acceptable fake host name to use. ... If you have a official registered domain name that you want to use ... To unsubscribe, ...
    (freebsd-questions)
  • RE: setting host name during install?
    ... statement hostname= to /etc/rc.conf. ... is to build a FBSD gateway server, the name of this PC should be ... registered domain name on the public Internet (unless of course it's ... gateway.fbsdjones.com is a very acceptable fake host name to use. ...
    (freebsd-questions)
  • Re: hostnames and interfaces
    ... Apache documentation on doing virtual hosts and maybe do some ... A fully Qualified Host Name consists of two main parts. ... During installation, when it asks for hostname, it wants a Fully ... service what DNS server will be providing DNS service for that domain. ...
    (freebsd-questions)