From owner-freebsd-questions Sun Jun 23 1:21:22 2002 Delivered-To: freebsd-questions@freebsd.org Received: from fisk246150.public.northwestern.edu (fisk246150.public.northwestern.edu [129.105.246.150]) by hub.freebsd.org (Postfix) with ESMTP id 06AAE37B400 for ; Sun, 23 Jun 2002 01:21:15 -0700 (PDT) Received: from fisk246150.public.northwestern.edu (localhost [127.0.0.1]) by fisk246150.public.northwestern.edu (8.12.3/8.12.3) with ESMTP id g5N8CDcu023767; Sun, 23 Jun 2002 03:12:13 -0500 (CDT) (envelope-from possum@fisk246150.public.northwestern.edu) Received: (from possum@localhost) by fisk246150.public.northwestern.edu (8.12.3/8.12.3/Submit) id g5N8CDoq023653; Sun, 23 Jun 2002 03:12:13 -0500 (CDT) Date: Sun, 23 Jun 2002 03:12:12 -0500 From: Redmond Militante To: Jon Noack Cc: freebsd-questions@freebsd.org Subject: Re: problem installing mysql323-server from ports Message-ID: <20020623031212.A11462@darkpossum> Reply-To: Redmond Militante References: <20020622232907.A11042@darkpossum> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="5vNYLRcllDrimb99" Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: ; from noackjr@compgeek.com on Sun, Jun 23, 2002 at 12:35:30AM -0500 X-Sender: redmond@darkpossum.medill.northwestern.edu X-URL: http://darkpossum.medill.northwestern.edu/modules.php?name=Content&pa=showpage&pid=3 X-DSS-PGP-Fingerprint: F9E7 AFEA 0209 B164 7F83 E727 5213 FAFA 1511 7836 X-Tofu: The other white meat substitute. 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 --5vNYLRcllDrimb99 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 hi thanks for helping me out. On Sun, Jun 23, 2002 at 12:35:30AM -0500, Jon Noack expatiated with great p= erspicuity: > > 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). >=20 > > 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: >=20 > BAD =3D 1.2.3.4 fisk246150.your.domain > GOOD =3D 1.2.3.4 fisk246150 fisk246150.your.domain >=20 > 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, beca= use > just "fisk246150" is not present in the hosts file and DNS will obviously > fail as well. changing my hosts file like you said did it. thanks >=20 > > 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 "'nslook= up > 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 *an= d* > 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 corr= ect > the problem and give you pointers on how to approach problems in the futu= re. >=20 > 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). >=20 > 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. >=20 yep. long day :) thanks again r. > Jon >=20 >=20 > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message >=20 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (FreeBSD) iD8DBQE9FYLYFNjun16SvHYRAjBDAJ9Or1qkG41VkozvqFFUPjxzOvujWACghbnq OVHCJocQ5nSccrU8gTcMW2U=3D =3DOFJb -----END PGP SIGNATURE----- --5vNYLRcllDrimb99 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (FreeBSD) iD8DBQE9FYLcFNjun16SvHYRAv8uAJ9S7RGGs+Qz64e55h3L8SOEPqXT+ACgi0l4 SkbT4W9hkSoU8Cwal7g0Bjc= =E6I/ -----END PGP SIGNATURE----- --5vNYLRcllDrimb99-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message