Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
emerge-webrsync hangs at "Syncing local tree..." [SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
dakster
Apprentice
Apprentice


Joined: 26 Jul 2004
Posts: 178
Location: New England

PostPosted: Mon May 01, 2006 12:15 pm    Post subject: emerge-webrsync hangs at "Syncing local tree..." [ Reply with quote

I've got two gentoo boxes at work, both of which have to use emerge-webrsync due to a restrictive firewall, and both have been working flawlessly for years now (go-go gadget gentoo!). However, now one of the gentoo boxes can't complete it's emerge-webrsync anymore. I thought it might be a networking problem, but it's successfully downloaded the portage tarball and checksum. I've manually checked the file's checksum, and sure enough it's a good download, and it's also a match for what the other gentoo box successfully sync'd to.

Here's the output of emerge-webrsync:
shadowcat(root)> emerge-webrsync
Fetching most recent snapshot
Attempting to fetch file dated: 20060501
--- No md5sum present on the mirror. (Not yet available.)
Attempting to fetch file dated: 20060430
portage-20060430.tar.bz2: OK
=== snapshot portage-20060430.tar.bz2 is correct, using it
Syncing local tree...



And there it hangs indefinitely (no hard drive activity or any progress at all). I've left it sitting for hours, it's definitely hung. I've checked file permissions, and they all look good. I'm running this as root as well, so that shouldn't be an issue anyways. Anyone have any tips? I've deleted and redownloaded the files to no avail. I am curious how this could work for years and then just stop working, but such is the way with computers. Any tips would be greatly appreciated!


Last edited by dakster on Tue May 02, 2006 12:42 pm; edited 1 time in total
Back to top
View user's profile Send private message
dakster
Apprentice
Apprentice


Joined: 26 Jul 2004
Posts: 178
Location: New England

PostPosted: Tue May 02, 2006 12:11 pm    Post subject: More info, where exactly it's hanging Reply with quote

So I started throwing some echo statements in the emerge-webrsync script, and it's hanging on the:

if ! tar jxf $FILE; then

in the sync_local() function. The $FILE variable is correct, as is the current working directory, in this case:
Syncing local tree...
Pre-tar...
File is portage-20060501.tar.bz2
Dir is /var/tmp/emerge-webrsync


So I'm manually running that tar command in the /var/tmp/emerge-webrsync directory, and it's hanging here (I added the verbose switch):
...
...
portage/x11-plugins/desklet-hypertail/ChangeLog
portage/x11-plugins/desklet-hypertail/metadata.xml
portage/x11-plugins/wmappkill/
portage/x11-plugins/wmappkill/Manifest


Just stuck there on portage/x11-plugins/wmappkill/Manifest. Funny though, the checksum of the file is file, I have write permissions in that directory (running as root too), and I have no drive or filesystem errors in dmesg or the logs. I just don't get it.

Hmm, I was going to rm the /var/tmp/emerge-webrsync/portage directory and try again with the portage-20060430.tar.bz2 file to see if it also hangs on the same file, but I can't seem to remove the /var/tmp/emerge-webrsync/portage directory?!?! It just hangs there. Maybe it's time for a reboot....
Yeah, I'm that desperate :)
Back to top
View user's profile Send private message
dakster
Apprentice
Apprentice


Joined: 26 Jul 2004
Posts: 178
Location: New England

PostPosted: Tue May 02, 2006 12:41 pm    Post subject: ummm Reply with quote

Ok, so after a reboot I was able to finally delete everythign in that directory, so I had some strange kernel problem I'm guessing. I've never seen anything like that, especially when I'm not getting any errors from the kernel, or in the logs. Something corrupted on teh filesystem maybe. This directory is on a XFS partition running kernel 2.6.12-gentoo-r10, amd64. Either way, it seems like it's working now after the reboot, even if I didn't actually solve the mystery.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum