From owner-freebsd-questions@FreeBSD.ORG Thu Mar 17 15:55:32 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2FAED16A4CE for ; Thu, 17 Mar 2005 15:55:32 +0000 (GMT) Received: from demon.noconname.org (19.Red-80-26-109.pooles.rima-tde.net [80.26.109.19]) by mx1.FreeBSD.org (Postfix) with ESMTP id 868D043D55 for ; Thu, 17 Mar 2005 15:55:31 +0000 (GMT) (envelope-from jncastellano@noconname.org) Received: from [192.168.0.11] (unknown [192.168.0.11]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by demon.noconname.org (Postfix) with ESMTP id B7DA235FC; Thu, 17 Mar 2005 15:52:19 +0100 (CET) Message-ID: <4239A862.80709@noconname.org> Date: Thu, 17 Mar 2005 16:55:14 +0100 From: =?ISO-8859-1?Q?Jos=E9_Nicol=E1s_Castellano?= Organization: No cON Name User-Agent: Mozilla Thunderbird 0.8 (Windows/20040913) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Pietro Cerutti , freebsd-questions@freebsd.org References: In-Reply-To: Content-Type: multipart/mixed; boundary="------------010004000508080506040901" X-Content-Filtered-By: Mailman/MimeDel 2.1.1 Subject: Re: problem due to hostname change X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: jncastellano@noconname.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Mar 2005 15:55:32 -0000 This is a multi-part message in MIME format. --------------010004000508080506040901 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Pietro Cerutti wrote: >FreeBSD 5.4-PRERELEASE #10: Wed Mar 9 15:40:46 UTC 2005 > @:/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("") > > /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 safely, >in a way that the 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 --------------010004000508080506040901--