From owner-freebsd-questions@FreeBSD.ORG Thu Mar 17 13:34:34 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 12ED116A4CE for ; Thu, 17 Mar 2005 13:34:34 +0000 (GMT) Received: from rproxy.gmail.com (rproxy.gmail.com [64.233.170.193]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8811243D2F for ; Thu, 17 Mar 2005 13:34:33 +0000 (GMT) (envelope-from pietro.cerutti@gmail.com) Received: by rproxy.gmail.com with SMTP id c16so459822rne for ; Thu, 17 Mar 2005 05:34:33 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding; b=dD/cUN4FEq6N4xH9UI/2PWvW/rr55mq/kdKx8ODeafBWqCQEOLhNvcwEKycPWv3iVc6M2mELzP3iw3bSZaesXM5g/SnibOey9EicJbOJds0aATjfukfrDJroI22/x6fuRhz9eXB1u+gJVm2sO7tDmy5K9tQ0EVrGYgq4xRKoai4= Received: by 10.38.207.18 with SMTP id e18mr1268010rng; Thu, 17 Mar 2005 05:34:33 -0800 (PST) Received: by 10.38.13.78 with HTTP; Thu, 17 Mar 2005 05:34:33 -0800 (PST) Message-ID: Date: Thu, 17 Mar 2005 13:34:33 +0000 From: Pietro Cerutti To: FreeBSD Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: problem due to hostname change X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Pietro Cerutti List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Mar 2005 13:34:34 -0000 Hi list, my computer is not part of a domain, and so I had set my hostname to . Now I changed it in rc.conf to : ~> cat /etc/rc.conf | grep hostname hostname="" ~> I rebooted, but my pc is still somewhere configured to be called . First of all, when the pc boots, I see this in dmesg: FreeBSD 5.4-PRERELEASE #10: Wed Mar 9 15:40:46 UTC 2005 @:/usr/obj/usr/src/sys/GAHR 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("") 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? Thank you! -- Pietro Cerutti Beansidhe - SwiSS Death / Thrash Metal Windows: "Where do you want to go today?" Linux: "Where do you want to go tomorrow?" FreeBSD: "Are you guys coming or what?"