Date: Thu, 17 Mar 2005 16:55:14 +0100 From: =?ISO-8859-1?Q?Jos=E9_Nicol=E1s_Castellano?= <jncastellano@noconname.org> To: Pietro Cerutti <pietro.cerutti@gmail.com>, freebsd-questions@freebsd.org Subject: Re: problem due to hostname change Message-ID: <4239A862.80709@noconname.org> In-Reply-To: <e572718c050317053429bdd25e@mail.gmail.com> References: <e572718c050317053429bdd25e@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Pietro Cerutti wrote:
>FreeBSD 5.4-PRERELEASE #10: Wed Mar 9 15:40:46 UTC 2005
> <my_name>@<old_hostname>:/usr/obj/usr/src/sys/GAHR
>
>
This is the name of name and hostname who compiles FreeBSD
5.4-PRERELEASE #10 Kernel
Don't Worry about this.
>Then, when I try to start apache, I see this in my
>/var/log/httpd-error.log, and apache won't start:
>
>[Thu Mar 17 13:29:11 2005] [alert] mod_unique_id: unable to
>gethostbyname("<old_hostname>")
>
>
/usr/local/etc/apache2/httpd.conf : modify Servername clause to your
hostname to fix this error
>My question is: how can I change my hostname to <new_hostname> safely,
>in a way that the <old_hostname> is not used anymore in any part of
>the OS?
>
>
/etc/rc.conf : add line : hostname="your_hostname"
Simply
--
Jose Nicolas Castellano
Presidente - Asociación No cON Name
Tel: +34 616 727 675
E-Mail : jncastellano@noconname.org
WWW: www.noconname.org
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4239A862.80709>
