As the subject says, rsync appears to be down.
I've been using rsync to do periodic backups of cmucl, so can we get rsync restored?
-- Ray
On 10/5/14 0:41, Raymond Toy wrote:
As the subject says, rsync appears to be down.
I've been using rsync to do periodic backups of cmucl, so can we get rsync restored?
Hmmm. The 'rsync' binary is still present:
mevenson@lisp:~$ which rsync /usr/bin/rsync
what do you mean by "rsync" is down? Did you use something other than "rsync through ssh connection"?
On 10/5/14 2:18 AM, Mark Evenson wrote:
On 10/5/14 0:41, Raymond Toy wrote:
As the subject says, rsync appears to be down.
I've been using rsync to do periodic backups of cmucl, so can we get rsync restored?
Hmmm. The 'rsync' binary is still present:
mevenson@lisp:~$ which rsync /usr/bin/rsync
what do you mean by "rsync" is down? Did you use something other than "rsync through ssh connection"?
Sorry, I should have been clearer. I've had a cronjob for years that basically does:
rsync -av rsync://common-lisp.net/project/cmucl/cvsroot cmucl/cvsroot
When I run this now, I get this error:
rsync: failed to connect to common-lisp.net (144.76.188.67): Connection refused (61) rsync: failed to connect to common-lisp.net (2a01:4f8:200:4310::30): No route to host (65)
I'm guessing that rsyncd is either not running or whatever port rsync uses is not open.
Ray
On 10/5/14 16:58, Raymond Toy wrote:
On 10/5/14 2:18 AM, Mark Evenson wrote:
On 10/5/14 0:41, Raymond Toy wrote:
As the subject says, rsync appears to be down.
I've been using rsync to do periodic backups of cmucl, so can we get rsync restored?
Hmmm. The 'rsync' binary is still present:
what do you mean by "rsync" is down? Did you use something other than "rsync through ssh connection"?
Sorry, I should have been clearer. I've had a cronjob for years that basically does:
rsync -av rsync://common-lisp.net/project/cmucl/cvsroot cmucl/cvsroot
When I run this now, I get this error:
Indeed rsyncd is not running as a service.
Any reason you don't simply change your usage to:
rsync -avz rtoy@common.lisp.net:/project/cmucl/cvsroot cmucl/cvsroot
using "rsync over ssh" instead of "rsyncd"?
I've never used rsyncd before, as I understand it to be more intended for one-to-many (i.e. public mirrors) than one-to-one (i.e. differential backup) use cases.
If there is some reason that "rsync over ssh" won't work for you, holler back with some arguments with which I will escalate to discussion with the other admins.
"Mark" == Mark Evenson evenson.not.org@gmail.com writes:
Mark> On 10/5/14 16:58, Raymond Toy wrote: >> On 10/5/14 2:18 AM, Mark Evenson wrote: >>> On 10/5/14 0:41, Raymond Toy wrote: >>>> As the subject says, rsync appears to be down. >>>> >>>> I've been using rsync to do periodic backups of cmucl, so can we get >>>> rsync restored? >>>> >>> Hmmm. The 'rsync' binary is still present: >>> >>> what do you mean by "rsync" is down? Did you use something other than >>> "rsync through ssh connection"? >>> >> Sorry, I should have been clearer. I've had a cronjob for years that >> basically does: >> >> rsync -av rsync://common-lisp.net/project/cmucl/cvsroot cmucl/cvsroot >> >> When I run this now, I get this error:
Mark> Indeed rsyncd is not running as a service.
Mark> Any reason you don't simply change your usage to:
Mark> rsync -avz rtoy@common.lisp.net:/project/cmucl/cvsroot cmucl/cvsroot
Mark> using "rsync over ssh" instead of "rsyncd"?
Doesn't that require that I supply my password (or ssh credentials)? I don't know how to do that in a crontab script.
Hmm. I just tried your suggestion. After about 30 sec, I get this:
ssh: connect to host common.lisp.net port 22: Operation timed out rsync: connection unexpectedly closed (0 bytes received so far) [Receiver] rsync error: unexplained error (code 255) at io.c(605) [Receiver=3.0.9]
Perhaps I'm just being stupid. I've only used rsync to do these backups and never used it for anything else.
Note that Bob Rogers was also doing an rsync backup of cmucl. (That's how I found out about rsync not working; my monthly rsync job doesn't run for another week.)
And some of the old mirrors of cmucl ran rsync too, but I'll have to check to see if they're still running.
Mark> If there is some reason that "rsync over ssh" won't work for you, holler Mark> back with some arguments with which I will escalate to discussion with Mark> the other admins.
It's not really a requirement to have rsyncd. I would just like some way of grabbing the data that will work from a cron job so I can just fire and forget.
IIRC, the old site didn't do backups so we were encouraged to do our own, and I think rsync was one of the recommended ways.
-- Ray
On 07 Oct 2014, at 05:36, Raymond Toy toy.raymond@gmail.com wrote:
"Mark" == Mark Evenson evenson.not.org@gmail.com writes:
Mark> On 10/5/14 16:58, Raymond Toy wrote:
On 10/5/14 2:18 AM, Mark Evenson wrote:
On 10/5/14 0:41, Raymond Toy wrote:
As the subject says, rsync appears to be down.
I've been using rsync to do periodic backups of ], so can we get rsync restored?
Hmmm. The 'rsync' binary is still present:
what do you mean by "rsync" is down? Did you use something other than "rsync through ssh connection"?
Sorry, I should have been clearer. I've had a cronjob for years that basically does:
rsync -av rsync://common-lisp.net/project/cmucl/cvsroot cmucl/cvsroot
When I run this now, I get this error:
Mark> Indeed rsyncd is not running as a service.
Mark> Any reason you don't simply change your usage to:
Mark> rsync -avz rtoy@common.lisp.net:/project/cmucl/cvsroot cmucl/cvsroot
Mark> using "rsync over ssh" instead of "rsyncd"?
Doesn't that require that I supply my password (or ssh credentials)? I don't know how to do that in a crontab script.
One would use the public key based authentication scheme. From the ssh(1) manual page:
The file ~/.ssh/authorized_keys lists the public keys that are permitted for logging in. When the user logs in, the ssh program tells the server which key pair it would like to use for authentication. The client proves that it has access to the private key and the server checks that the corresponding public key is authorized to accept the account.
The user creates his/her key pair by running ssh-keygen(1). This stores the private key in ~/.ssh/identity (protocol 1), ~/.ssh/id_dsa (protocol 2 DSA), ~/.ssh/id_ecdsa (protocol 2 ECDSA), ~/.ssh/id_ed25519 (protocol 2 ED25519), or ~/.ssh/id_rsa (protocol 2 RSA) and stores the public key in ~/.ssh/identity.pub (protocol 1), ~/.ssh/id_dsa.pub (protocol 2 DSA), ~/.ssh/id_ecdsa.pub (protocol 2 ECDSA), ~/.ssh/id_ed25519.pub (protocol 2 ED25519), or ~/.ssh/id_rsa.pub (protocol 2 RSA) in the user's home directory. The user should then copy the public key to ~/.ssh/authorized_keys in his/her home directory on the remote machine. The authorized_keys file corresponds to the conventional ~/.rhosts file, and has one key per line, though the lines can be very long. After this, the user can log in without giving the pass- word. […]
To distill this:
1. create an ssh keypair for the user that willing be running the cron entry with ssh-keygen(1)
2. Copy the public part of the key (the file ending in ‘.pub’) into the ~/.ssh/authorized_keys of the common-lisp.net account. Ensure that the file has only user read and write permissions
Now you should be able to ssh to common-lisp.net as that user without needing to enter your password.
We (meaning mostly Erik with my prodding) spent a lot of time ensuring that the new host has reasonable backups. But it is always a good idea to have another copy, so I definitely want to support your ability to rsync locally.
-- "No, this is not a disentanglement, but a progressive /knotting-into/."
"Mark" == Mark Evenson evenson.not.org@gmail.com writes:
Mark> On 07 Oct 2014, at 05:36, Raymond Toy toy.raymond@gmail.com wrote:
>>>>>>> "Mark" == Mark Evenson evenson.not.org@gmail.com writes: >> Mark> On 10/5/14 16:58, Raymond Toy wrote: >>>> On 10/5/14 2:18 AM, Mark Evenson wrote: >>>>> On 10/5/14 0:41, Raymond Toy wrote:
As the subject says, rsync appears to be down.
I've been using rsync to do periodic backups of ], so can we get rsync restored?
>>>>> Hmmm. The 'rsync' binary is still present: >>>>> >>>>> what do you mean by "rsync" is down? Did you use something other than >>>>> "rsync through ssh connection"? >>>>> >>>> Sorry, I should have been clearer. I've had a cronjob for years that >>>> basically does: >>>> >>>> rsync -av rsync://common-lisp.net/project/cmucl/cvsroot cmucl/cvsroot >>>> >>>> When I run this now, I get this error: >> Mark> Indeed rsyncd is not running as a service. >> Mark> Any reason you don't simply change your usage to: >> Mark> rsync -avz rtoy@common.lisp.net:/project/cmucl/cvsroot cmucl/cvsroot >> Mark> using "rsync over ssh" instead of "rsyncd"? >> >> Doesn't that require that I supply my password (or ssh credentials)? >> I don't know how to do that in a crontab script.
Mark> One would use the public key based authentication scheme. From the ssh(1) manual page:
I am using public key authentication; my c-l.net account has authorized_keys set up so I can ssh in without using my password (which I've now forgotten).
But for this to work, don't I have to run ssh-agent/ssh-add? I can't do that from my cron job.
Am I missing something?
-- Ray
Hi Raymond,
It's possible to create a passwordless key. I use that mechanism for cronjobs myself.
Regards,
Erik
On Oct 8, 2014 7:19 AM, "Raymond Toy" toy.raymond@gmail.com wrote:
"Mark" == Mark Evenson evenson.not.org@gmail.com writes:
Mark> On 07 Oct 2014, at 05:36, Raymond Toy <toy.raymond@gmail.com>
wrote:
>>>>>>> "Mark" == Mark Evenson <evenson.not.org@gmail.com> writes: >> Mark> On 10/5/14 16:58, Raymond Toy wrote: >>>> On 10/5/14 2:18 AM, Mark Evenson wrote: >>>>> On 10/5/14 0:41, Raymond Toy wrote:
As the subject says, rsync appears to be down.
I've been using rsync to do periodic backups of ], so can we get rsync restored?
>>>>> Hmmm. The 'rsync' binary is still present: >>>>> >>>>> what do you mean by "rsync" is down? Did you use something
other than
>>>>> "rsync through ssh connection"? >>>>> >>>> Sorry, I should have been clearer. I've had a cronjob for years
that
>>>> basically does: >>>> >>>> rsync -av rsync://common-lisp.net/project/cmucl/cvsroot
cmucl/cvsroot
>>>> >>>> When I run this now, I get this error: >> Mark> Indeed rsyncd is not running as a service. >> Mark> Any reason you don't simply change your usage to: >> Mark> rsync -avz rtoy@common.lisp.net:/project/cmucl/cvsroot
cmucl/cvsroot
>> Mark> using "rsync over ssh" instead of "rsyncd"? >> >> Doesn't that require that I supply my password (or ssh
credentials)?
>> I don't know how to do that in a crontab script. Mark> One would use the public key based authentication scheme. From
the ssh(1) manual page:
I am using public key authentication; my c-l.net account has authorized_keys set up so I can ssh in without using my password (which I've now forgotten).
But for this to work, don't I have to run ssh-agent/ssh-add? I can't do that from my cron job.
Am I missing something?
-- Ray
Clo-devel mailing list Clo-devel@common-lisp.net http://mailman.common-lisp.net/cgi-bin/mailman/listinfo/clo-devel
"Erik" == Erik Huelsmann ehuels@gmail.com writes:
Erik> Hi Raymond,
Erik> It's possible to create a passwordless key. I use that mechanism for cronjobs myself.
Ah, I didn't know you can do that. A little googling shows how.
Thanks for the tip1
Ray
Hi.
On Sun, 05 Oct 2014 07:58:29 -0700 Raymond Toy toy.raymond@gmail.com wrote:
Sorry, I should have been clearer. I've had a cronjob for years that basically does:
rsync -av rsync://common-lisp.net/project/cmucl/cvsroot cmucl/cvsroot
When I run this now, I get this error: [...]
This works now.
Regards, Mario
"Mario" == Mario S Mommer mmommer@common-lisp.net writes:
Mario> Hi. Mario> On Sun, 05 Oct 2014 07:58:29 -0700 Mario> Raymond Toy toy.raymond@gmail.com wrote: >> Sorry, I should have been clearer. I've had a cronjob for years that >> basically does: >> >> rsync -av rsync://common-lisp.net/project/cmucl/cvsroot cmucl/cvsroot >> >> When I run this now, I get this error: >> [...]
Mario> This works now.
Oh, thanks! It works fine now.
And thanks again for everyone's hard work in restoring c-l.net!
-- Ray