From owner-freebsd-questions Mon May 28 21:28:19 2001 Delivered-To: freebsd-questions@freebsd.org Received: from shell.bchosting.com (shell.bchosting.com [64.69.68.35]) by hub.freebsd.org (Postfix) with ESMTP id D6B1737B423 for ; Mon, 28 May 2001 21:28:15 -0700 (PDT) (envelope-from chris@selkie.org) Received: from localhost (chris@localhost) by shell.bchosting.com (8.11.0/8.11.0) with ESMTP id f4T4SFY91143; Mon, 28 May 2001 21:28:15 -0700 (PDT) (envelope-from chris@selkie.org) Date: Mon, 28 May 2001 21:28:15 -0700 (PDT) From: Chris Phillips X-Sender: chris@shell.bchosting.com To: Jason Halbert Cc: questions@FreeBSD.ORG Subject: Re: MySQL 3.23.28 In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 I would use sysctl to alter the hostname. sysctl -w kern.hostname=new.host.name -Chris On Mon, 28 May 2001, Jason Halbert wrote: > -----Original Message----- > From: Jason Halbert [mailto:jason@jason-n3xt.org] > Sent: Monday, May 28, 2001 23:07 > To: Dan Nelson > Subject: RE: MySQL 3.23.28 > > > Dan: > > Thanks for responding.. > > I tried that but it still gave me the same error. > > su-2.04# pkg_add mysql-server-3.23.38.tgz > Sorry, the host 'crtntx1-ar3-088-078' 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 > > I noticed its cutting off the end of the hostname. I do > not get it. I tried putting a "." at the end of the > hostname as well to no avail. > > ---- > Jason > > > > > -----Original Message----- > > From: Dan Nelson [mailto:dnelson@emsphone.com] > > Sent: Monday, May 28, 2001 23:00 > > To: Jason Halbert > > Cc: questions@FreeBSD.ORG > > Subject: Re: MySQL 3.23.28 > > > > > > In the last episode (May 28), Jason Halbert said: > > > Hi all: > > > > > > I'm having a problem with adding the port > > mysql-server-3.23.38.tgz on > > > 4.3-STABLE. > > > I get the following error: > > > > > > su-2.04# pkg_add mysql-server-3.23.38.tgz > > > Sorry, the host 'jason-n3xt' could not be looked up. > > > Please configure the 'hostname' command to return a > > correct hostname. > > > > > > The only thing I can think of is it resolves "jason-n3xt.org" then > > > tries to reverse lookup the IP which does not return > > "jason-n3xt.org". > > > > That's probably the case. Mysql requires hostnames to match forward > > and reverse for security purposes. Temporarily configure > > your system > > to have a hostname of crtntx1-ar3-088-078.crtntx1.dsl.gtei.net, then > > switch it back when you're done installing. > > > > -- > > Dan Nelson > > dnelson@emsphone.com > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message