Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 4 Apr 2002 03:31:47 -0500
From:      Donnie Jones <donniejones18@yahoo.com>
To:        "Seamus Roche" <seamusjr@hotmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: MySQL hostname error when installing from ports
Message-ID:  <20020404033147.05c3ccc4.donniejones18@yahoo.com>
In-Reply-To: <F21wkFPjBp1tEmDig6V00016bf5@hotmail.com>
References:  <F21wkFPjBp1tEmDig6V00016bf5@hotmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Hello.

I reported this problem long ago to the mysql port maintainer, dirk@FreeBSD.org.  It seems that in the source for the install it uses
the command "hostname -s" which will produce a shortened version of your hostname instead of the full hostname.

#
# hostname
gateway.darthik.com
#
# hostname -s 
gateway


I believe that I just removed the "-s" from the command in one of the source files for the mysql port and that fixed my problem, but I can't remember for certain.  

I am not sure if future ports of mysql will be changed to remedy this,  but it seems to be a common error so maybe it should be further researched...

Hope this helps,

--Donnie
  http://www.darthik.com

On Thu, 04 Apr 2002 06:17:48 +0000
"Seamus Roche" <seamusjr@hotmail.com> wrote:

> Hi,
> 
> I am trying to install MySQL server 323.49 from the ports collection but I 
> keep getting this error causing the installation to fail:
> 
> >Sorry, the host 'papasmurf' 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 have looked in the archives on FreeBSD-Questions and the MYSQL list as 
> well as some other archives and see the same question but no answers.
> 
> Thanks,
> Seamus
> 
> 
> 
> _________________________________________________________________
> Join the world’s largest e-mail service with MSN Hotmail. 
> http://www.hotmail.com
> 
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message

_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


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?20020404033147.05c3ccc4.donniejones18>