cannot make a local mirror of Slackware - urgent help needed!
SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
cannot make a local mirror of Slackware - urgent help needed!
Hi,
I have done several attempts to build a local mirror of Salckware 13.0. There are two problems: I have to wait very long for a connection, they appear error during a connection which broke it so I have to restart. Is there any other way to build mirror? I am using Alien Bob scripts. Never before happened something like that. The connections with common web pages (google, etc) work well. Maybe I should look for some other mirror than those listed in mirror-slackware-current.sh. Please help to fix this. This is really very important for me.
Here is a listing
Code:
rsync: writefd_unbuffered failed to write 4 bytes to socket [generator]: Connection reset by peer (104)
rsync error: error in rsync protocol data stream (code 12) at io.c(1530) [generator=3.0.7]
rsync error: received SIGUSR1 (code 19) at main.c(1288) [receiver=3.0.7]
rsync: read error: Connection reset by peer (104)
rsync error: error in rsync protocol data stream (code 12) at io.c(760) [receiver=3.0.7]
rsync: connection unexpectedly closed (651 bytes received so far) [generator]
rsync error: error in rsync protocol data stream (code 12) at io.c(601) [generator=3.0.7]
Fri Sep 10 15:41:45 CEST 2010 [1958]: Done mirroring slackware-13.0 (exit code 0
Hi,
I have done several attempts to build a local mirror of Salckware 13.0. There are two problems: I have to wait very long for a connection, they appear error during a connection which broke it so I have to restart. Is there any other way to build mirror? I am using Alien Bob scripts. Never before happened something like that. The connections with common web pages (google, etc) work well. Maybe I should look for some other mirror than those listed in mirror-slackware-current.sh. Please help to fix this. This is really very important for me.
Weird. Alien Bob's slackware-current script works perfectly for me. Perhaps try another mirror if you time out?
use mc it has an ftp client built in
super easy to use hit F9 select left OR right then select ftp link give the dialog box the ftp address without the "ftp://" part of the address
after that you can copy what ever like from the ftp site just like it was a local file or directory and navigate the site like it was a local file system
Erick's script is working perfect here. My mirror are synced from osuosl and it gave me almost the same error two days ago. Just Waited a few minutes and it mirrored. Today it worked fine.
Can you try RSYNCURLROOT=${RSYNCURLROOT:-"rsync.osuosl.org::slackware/"} and post the result? Thanks.
Hi,
I have no idea what's going on. I am sure it is not about Eric's scripts. Ftp connections work well - I am thinking now about settings which may cause problems with rsync protocol - firewalls? - something which doesn't allow connection from internet to my local computer - eg. I know that for ftp one may need to set 'passive' mode to download files. I am thinking about something similar but for rsync.
I disabled the firewall. Rsync started but after downloading ca. 1GB it reported an error:
Code:
rsync: writefd_unbuffered failed to write 311 bytes to socket [generator]: Connection timed out (110)
rsync error: error in rsync protocol data stream (code 12) at io.c(1530) [generator=3.0.7]
rsync error: received SIGUSR1 (code 19) at main.c(1288) [receiver=3.0.7]
"If you can't figure out why the failure happened, there are steps you can take to debug the situation. One way is to create a shell script on the remote system such as this one named "rsync-debug". You would use the script like this:
rsync -av --rsync-path=/some/path/rsync-debug host:source dest
rsync -av --rsync-path=/some/path/rsync-debug source host:dest
This script enables core dumps and also logs all the OS system calls that lead up to the failure to a file in the /tmp dir. You can use the resulting files to help figure out why the remote rsync failed."
'rsync-debug'
Quote:
#!/bin/sh
ulimit -c unlimited
# Some systems have "truss" or "tusc" instead of "strace".
# The -f option tells strace to follow children too.
strace -f rsync "${@}" 2>/tmp/rsync-$$.out
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.