From owner-freebsd-questions Wed Apr 3 23:31:10 2002 Delivered-To: freebsd-questions@freebsd.org Received: from phucking.kicks-ass.org (c-4b3a70d5.022-45-6f72652.cust.bredbandsbolaget.se [213.112.58.75]) by hub.freebsd.org (Postfix) with ESMTP id 1F3DF37B422 for ; Wed, 3 Apr 2002 23:30:55 -0800 (PST) Received: from phucking.kicks-ass.org (localhost.kicks-ass.org [127.0.0.1]) by phucking.kicks-ass.org (Postfix) with SMTP id 08FCF6B8; Thu, 4 Apr 2002 09:30:36 +0200 (CEST) Received: from 194.103.200.253 (SquirrelMail authenticated user z3l3zt) by phucking.kicks-ass.org with HTTP; Thu, 4 Apr 2002 09:30:36 +0200 (CEST) Message-ID: <18455.194.103.200.253.1017905436.squirrel@phucking.kicks-ass.org> Date: Thu, 4 Apr 2002 09:30:36 +0200 (CEST) Subject: Re: MySQL hostname error when installing from ports From: "Jesper Wallin" To: In-Reply-To: References: X-Priority: 3 Importance: Normal X-MSMail-Priority: Normal Cc: X-Mailer: SquirrelMail (version 1.2.5) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit 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 Hello. I had the same problem when I installed MySQL.. This is corrected by adding your hostname in the end of your host line in /etc/hosts. Example: (Wrong) 192.168.1.21 freebsd.owns.me Example: (Right) 192.168.1.21 freebsd.owns.me freebsd Well, I don't really know why but when I runned Slackware I was reading something about NEVER set a hostname for 127.0.0.1, I don't know if it's good or bad here but I shouldn't do it because of my Slackware expcerience. Jesper aka Z3l3zT > 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 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message