From owner-freebsd-questions Sat Jun 22 22:35:34 2002 Delivered-To: freebsd-questions@freebsd.org Received: from patriarch.dnsalias.org (adsl-65-69-1-221.dsl.hstntx.swbell.net [65.69.1.221]) by hub.freebsd.org (Postfix) with ESMTP id 76E7A37B401 for ; Sat, 22 Jun 2002 22:35:30 -0700 (PDT) Received: from compgeek ([127.0.0.1]) by patriarch.dnsalias.org with Microsoft SMTPSVC(5.0.2195.4905); Sun, 23 Jun 2002 00:35:30 -0500 Reply-To: From: "Jon Noack" To: "Redmond Militante" Cc: Subject: RE: problem installing mysql323-server from ports Date: Sun, 23 Jun 2002 00:35:30 -0500 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 In-Reply-To: <20020622232907.A11042@darkpossum> Importance: Normal X-OriginalArrivalTime: 23 Jun 2002 05:35:30.0776 (UTC) FILETIME=[C9BBE580:01C21A77] 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 > Sorry, the host 'fisk246150' could not be looked up. > i type 'hostname' and i get the correct hostname. It would be nice if you told us what 'hostname' returns, but I will assume your hostname is "fisk246150" based on the error above (or fisk246150.your.domain). > the first 2 lines in my /etc/hosts is > ::1 localhost localhost.my.domain > 127.0.0.1 localhost localhost.my.domain Why do these lines matter? While they are necessary and correct, what you need is an entry in hosts for "fisk246150". Something like: BAD = 1.2.3.4 fisk246150.your.domain GOOD = 1.2.3.4 fisk246150 fisk246150.your.domain Actually, if you have a BAD entry, that could cause problems if the script is using 'hostname -s', because it would trim the domain info off (to form "fisk246150") and then try to look that up. That lookup would fail, because just "fisk246150" is not present in the hosts file and DNS will obviously fail as well. > i did an nslookup on myself and it gives me the > right hostname. Again, don't just tell us it's correct -- tell us something like "'nslookup fisk246150' correctly returns 1.2.3.4". That is actually helpful. As you are having problems, anything you *think* is correct may not actually *be* correct (or show symptoms of the true problem). Give us the raw data *and* your interpretation -- that gives us the chance to get an objective view of the situation and see what you're thinking. This often allows us to correct the problem and give you pointers on how to approach problems in the future. The error was that it couldn't look up "fisk246150". Please send us the output of the 'hostname' and 'nslookup' commands and something meaningful from your hosts file (the localhost info is present on every FreeBSD box). I definitely appreciate that you attempted to solve the problem before posting to the list. I also understand that if you've been working for a while that the little things seem insignificant and can be glossed over. Try not to give in to that and post as much info as you can. Jon To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message