View previous topic :: View next topic |
Author |
Message |
jlowell Guru
Joined: 08 Jan 2003 Posts: 389
|
Posted: Sat Jul 12, 2003 5:14 am Post subject: Name Resolution Failure |
|
|
I'm doing a stage 1 on another network box, have chrooted into the installation and have attempted to do an emerge sync. I'm getting a name resolution failure which the installation cd claims is temporary. I'm asked to keep trying. Anyone else experiencing this problem or have any idea how long it might take for the powers that be to fix it. I'd like to start the boot strap and get to bed.
jlowell |
|
Back to top |
|
|
iamlarryboy Guru
Joined: 25 Jan 2003 Posts: 480 Location: Prince George, BC, Canada
|
Posted: Sat Jul 12, 2003 5:54 am Post subject: resolv.conf |
|
|
did you remember to copy resolv.conf from /etc/ to /mnt/gentoo/etc ? |
|
Back to top |
|
|
jlowell Guru
Joined: 08 Jan 2003 Posts: 389
|
Posted: Sat Jul 12, 2003 6:19 am Post subject: |
|
|
Yes, quite specifically. If I can't get the bootstrap started in just a little while I think I'll clean off the partitions and try again tomorrow. You could have knocked me over with a feather when I first saw the complaint. I've been using Gentoo for almost a year now and have never once had a connection related problem.
jlowell |
|
Back to top |
|
|
Dog n00b
Joined: 12 Jul 2003 Posts: 2
|
Posted: Sat Jul 12, 2003 6:20 am Post subject: |
|
|
Same problem here.
Last night I sucessfully installed gentoo...but decided to re-install because of the way I set up my partitions.
Today, no joy.
I can ping rysnc.gentoo.org prior to chroot, but once I chroot, I get
rsync: gettaddrinfo: rsync.gentoo.org 873: Temporary failure in name resolution
rsync error: error in socket IO (code 10) at clientserver.c(83)
It tries three times then gives up, and suggests emerge-webrsync. Web-rsynce doesn't fail,(says Fetching most recent packages) but finishs after about 10 seconds with no message.
I have definately copied resolve.conf to where it was suggested, and have confirmed this both prior to and after the chroot. Currently other computers on my lan can ping rsync.gentoo.org
Regards
Craig |
|
Back to top |
|
|
Dog n00b
Joined: 12 Jul 2003 Posts: 2
|
Posted: Sat Jul 12, 2003 6:26 am Post subject: |
|
|
Did a work around
entered the IP address for rsync.gentoo.org in /etc/hosts
Do an lookup on rsync.gentoo.org currently syncing. Interestingly, it seems to be syncing from a mirror once it found rsync.gentoo.org but it flashed by so fast, I couldn't be sure |
|
Back to top |
|
|
jlowell Guru
Joined: 08 Jan 2003 Posts: 389
|
Posted: Sat Jul 12, 2003 6:37 am Post subject: |
|
|
Dog,
Here's the solution!
derheld42
n00b
Joined: 30 Mar 2003
Posts: 12
Posted: Mon Jun 16, 2003 1:39 am Post subject: emerge sync failed with stage1
--------------------------------------------------------------------------------
I'm attempting to install my 2nd Gentoo-kicks-butt system. After chrooting and following the install guide, I ran into this problem while doing emerge sync:
Code:
>>> starting rync with rsync://rsync.gentoo.org/gentoo-portage...
rsync: getaddrinfo: rsync.gentoo.org 873: Temporary failure in name resolution
rsync error: error in socket IO (code 10) at clientserver.c(83)
In another VC I can ping yahoo.com... I'm using DHCP and it seems to be working... I even copied /sbin/ping into /mnt/gentoo and ran it in my chroot environment... I can't resolve hostnames, but I can ping my other systems...
I guess I don't quite know why the chroot environment is missing DNS... So... After figuring out an IP for rsync.gentoo.org, I did:
Code:
echo SYNC="rsync://130.207.108.134/gentoo-portage" >> /ect/make.conf
emerge sync
And it's syncing....
Back to top
It's working for me too! But we really shouldn't have to do something like this.
jlowell |
|
Back to top |
|
|
jlowell Guru
Joined: 08 Jan 2003 Posts: 389
|
Posted: Sat Jul 12, 2003 7:12 am Post subject: |
|
|
Dog,
Now I run
scripts/bootstrap.sh
and I can't connect. Host not found errors for several sites. I'm going to clean off the drive, go to bed and let this whole thing go until another time. They're just not ready at this point.
jlowell |
|
Back to top |
|
|
cyrillic Watchman
Joined: 19 Feb 2003 Posts: 7313 Location: Groton, Massachusetts USA
|
Posted: Sat Jul 12, 2003 4:06 pm Post subject: |
|
|
Dog wrote: | I have definately copied resolve.conf to where it was suggested, and have confirmed this both prior to and after the chroot. Currently other computers on my lan can ping rsync.gentoo.org |
Make sure resolv.conf is spelled correctly when you copy it. |
|
Back to top |
|
|
jlowell Guru
Joined: 08 Jan 2003 Posts: 389
|
Posted: Sat Jul 12, 2003 4:55 pm Post subject: |
|
|
A further look at the forums would seem to indicate that a better solution to this problem than working with the ip address may be commenting out the search line in /etc/resolv.conf once inside the chroot environment. Having cleaned off the drive and started over, I can report success right through the bootstrap process whereas with the ip address solution I could not bootstrap. Someone will have to explain to me why it is that the search line in /etc/resolv.conf, as it comes, causes a problem at this point. I've installed stage 1 Gentoo on two other of my network's boxes and this problem never made itself known. Beats me!
jlowell |
|
Back to top |
|
|
c_j_taylor98 n00b
Joined: 28 Apr 2004 Posts: 1 Location: Melb Australia
|
Posted: Wed Apr 28, 2004 2:00 pm Post subject: |
|
|
As usual the solution was down to the bleeding obvious. (Only took me 2 hours to work this out )
Misspelling of the
/etc/resolv.conf
file. (Had it as /etc/resolve.conf instead.)
Hope this helps. |
|
Back to top |
|
|
zorbital n00b
Joined: 03 Feb 2004 Posts: 5
|
Posted: Tue May 11, 2004 3:04 am Post subject: Ga!! Me too |
|
|
Oh man, that one got me too. Thanks for the help. BTW, whose dumbass idea was it to shorten resolv.conf by dropping 1 freakin' letter? |
|
Back to top |
|
|
amne Bodhisattva
Joined: 17 Nov 2002 Posts: 6378 Location: Graz / EU
|
Posted: Mon May 02, 2005 6:33 pm Post subject: |
|
|
Moved from IG, please follow up to resolve problems if necessary. _________________ Dinosaur week! (Ok, this thread is so last week) |
|
Back to top |
|
|
|