Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 May 2001 21:28:15 -0700 (PDT)
From:      Chris Phillips <chris@selkie.org>
To:        Jason Halbert <jason@jason-n3xt.org>
Cc:        questions@FreeBSD.ORG
Subject:   Re: MySQL 3.23.28
Message-ID:  <Pine.BSF.4.21.0105282127240.48180-100000@shell.bchosting.com>
In-Reply-To: <KPENJEMIIBKCKNOMFJJDCEBPCAAA.jason@jason-n3xt.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0105282127240.48180-100000>