Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 16193 - rsync mirror available in Hungary
Summary: rsync mirror available in Hungary
Status: RESOLVED FIXED
Alias: None
Product: Mirrors
Classification: Unclassified
Component: New Server (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Mirror Admins
URL:
Whiteboard:
Keywords:
Depends on: 17216
Blocks:
  Show dependency tree
 
Reported: 2003-02-22 15:49 UTC by Attila Kesmarki
Modified: 2003-03-17 13:14 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Attila Kesmarki 2003-02-22 15:49:35 UTC
Hello, 
 
I would like to help the gentoo community by providing a new gentoo rsync mirror 
here, in Hungary.  
I have a fast connecion at ftp.itworks.hu (212.108.197.8), and I followed the 
procedures described in the "Gentoo linux rsync mirrors policy". 
It is now configured, it is stable, so it is ready for public use. 
 
Thanks, 
 
Attila Kesmarki  
mirror admin email: danthe@itworks.hu
Comment 1 Kurt Lieber (RETIRED) gentoo-dev 2003-03-09 16:35:31 UTC
sorry for the delay in responding.  I just tried to rsync against this server and got the following:

kurtl@x5 trashme $ rsync -rvv 212.108.197.8::gentoo-portage/metadata/ ./
opening tcp connection to 212.108.197.8 port 873
---------------------------------------------------------------------------
                Welcome to ftp.itworks.hu (212.108.197.8)
               This server is located in Budapest, Hungary.

       Unauthorized use is prohibited - violators will be prosecuted

       For any communication about this mirror please contact
                                                   danthe@itworks.hu

---------------------------------------------------------------------------


receiving file list ...
expand file_list to 8000 bytes, did move
expand file_list to 16000 bytes, did move
expand file_list to 32000 bytes, did move
done
delta transmission enabled
cache/
cache/app-admin/addpatches-0.2
write failed on cache/app-admin/addpatches-0.2 : Bad address
rsync error: error in file IO (code 11) at receiver.c(271)
rsync: connection unexpectedly closed (153693 bytes read so far)
rsync error: error in rsync protocol data stream (code 12) at io.c(165)


can you double-check and perhaps delete/recreate the files in gentoo-portage?
Comment 2 Attila Kesmarki 2003-03-10 06:48:59 UTC
 
Well, I have started the rsync with --daemon and --compress. (as it is written in the 
mirror-howto doc.) 
You tried rsync'ing without specifying the -z flag.  
 
IMHO the error here is with the rsync protocol. (the server sends the file data 
compressed, the client wants to handle it as uncompressed, but it can't process it 
correctly) The rsync should recognize this case, but currently it seems that is doesn't do 
that. 
 
I tried your command but with -rvvz instead of -rvv and it works correctly. 
The emerge sync works, too. (it uses -rlptDvz so it's compressed) 
 
So, I think that the problem is with your testing script. 
Am I right? 
 
Comment 3 Kurt Lieber (RETIRED) gentoo-dev 2003-03-10 08:13:46 UTC
Yup -- things work fine when using -z.  rsync should be able to handle that, however.  oh well.  

Anyway, when looking at the timestamp on the mirror (/metadata/timestamp.chk) it shows:

Mon, 10 Mar 2003 03:59:00 +0000

Can you make sure your cron job is set to sync at *exactly* :00 and :30 of every hour?  Also, if you can install and configure ntp, that will make things a lot easier as well.  We have to be particular about the times our mirrors sync since one problematic mirror can throw lots of things out of whack.

Thanks!
Comment 4 Attila Kesmarki 2003-03-10 15:19:13 UTC
 
OOps, I forgot to re-enable the automatic update after working on the error you wrote 
about previously. Now it's running again, and exactly at every :00 and :30. 
(BTW I use ntp hourly. ) 
 
I hope it's OK now. 
 
 
Comment 5 Kurt Lieber (RETIRED) gentoo-dev 2003-03-10 15:47:17 UTC
successfully rsync'd the entire portage tree.  this server is now set up as rsync1.hu.gentoo.org.  Once bug #17216 is resolved, I will add this to the main rotation as well.

For now, marking as a dependant of 17216.
Comment 6 Kurt Lieber (RETIRED) gentoo-dev 2003-03-14 08:30:18 UTC
mirror is set up and part of the main rotation.  Thanks again for helping to support Gentoo Linux.
Comment 7 Attila Kesmarki 2003-03-17 00:33:02 UTC
Hi, 
 
Today, I tried to sync my portage mirror with the official rsync1.us.gentoo.org server, 
but I could not connect to it: 
 
Started update at Mon Mar 17 06:00:00 CET 2003 
rsync: failed to connect to rsync1.us.gentoo.org: Connection refused 
rsync error: error in socket IO (code 10) at clientserver.c(97) 
 
Have you put my server to the access list as it is written in the gentoo rsync mirror 
policy document? Or, which server can I use for mirroring? 
Anyway, I now switch my server back to sync from the rsync2.us.gentoo.org. At least it 
works. 
 
Comment 8 Kurt Lieber (RETIRED) gentoo-dev 2003-03-17 08:19:18 UTC
oops -- sorry about that.  the line inadvertantly got removed during some routine maintenance.  Added it back in -- please test and let us know if it's still not working.

Comment 9 Attila Kesmarki 2003-03-17 13:14:03 UTC
 
OK, it works correctly now.