From owner-freebsd-questions Wed Jan 22 16:36:32 2003 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 A717637B401 for ; Wed, 22 Jan 2003 16:36:31 -0800 (PST) Received: from ariel.ucs.unimelb.edu.au (ariel.ucs.unimelb.edu.au [128.250.20.3]) by mx1.FreeBSD.org (Postfix) with ESMTP id 75B6C43EB2 for ; Wed, 22 Jan 2003 16:36:30 -0800 (PST) (envelope-from jrhoden@unimelb.edu.au) Received: from elkanah.its.unimelb.edu.au (elkanah.its.unimelb.edu.au [128.250.18.41]) by ariel.ucs.unimelb.edu.au (8.12.3/8.12.3) with ESMTP id h0N0aM3J003227; Thu, 23 Jan 2003 11:36:23 +1100 (EST) Content-Type: text/plain; charset="iso-8859-1" From: JacobRhoden Organization: University of Melbourne To: Mantas Kriauciunas , freebsd-questions@freebsd.org Subject: Re: error during mysql323-server installation, how to configure hostname command. Date: Thu, 23 Jan 2003 11:36:22 +1100 X-Mailer: KMail [version 1.4] References: <200301230022.h0N0MIEc028217@mntkz.net> In-Reply-To: <200301230022.h0N0MIEc028217@mntkz.net> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Message-Id: <200301231136.22872.jrhoden@unimelb.edu.au> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Thursday 23 January 2003 11:22, Mantas Kriauciunas wrote: > Sorry, the host 'mntkz' could not be looked up. > Please configure the 'hostname' command to return a correct hostname. > If you want to solve this at a later stage, restart this script with > the --force option The other option would be to do what it says, that is, configure your=20 'hostname' The hostname is what you set in your /etc/rc.conf file and is = set=20 at boot time, you can also reset your hostname as superuser, using the=20 'hostname' command. Mysql is probably wanting your hostname to be a host= name=20 that can be resolved to an ip address.=20 One way to do this is to edit your /etc/hosts file and enter something li= ke: 192.168.0.10=09mntkz The reason I suggest that ip address is because 192.168.*.* is reserved f= or=20 people with computers who dont have a _real_ ip address and hostname. Regards, Jacob =20 Jacob Rhoden Phone: +61 3 8344 6102 ITS Division Email: jrhoden@unimelb.edu.au Melbourne University Mobile: +61 403 788 386 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message