rsync question
Hi,
I set up rsync in a FC machine and now trying to transfer files between another linux machine to this FC. I think I have a syntex error. I want to transfer the file music1.tar to the server and issue this command: rsync juanb@192.168.1.10 /home/juanb/music1.tar /home/juanb/music1.tar I get this error: link_stat "/home/juanb/juanb@192.168.1.10" failed: No such file or directory rsync error: some files could not be transferred (code 23) at main.c(632) what am I doing wrong? thanks Juan |
The command is;
rsync -ave 192.168.1.10:/home/juanb/music1.tar /home/juanb/music1.tar |
still getting an error..
I paste the command u wrote and still getting this:
rsync error: syntax or usage error (code 1) at main.c(816) should'nt I insert the password some where? Thanks again, Juan |
Try rsync -ave ssh 192.168.1.10:/home/juanb/music1.tar /home/juanb/music1.tar if you have ssh implemented. It will request a password. If you are just wishing to transfer files as opposed to syncing them (rsync) then investigate scp. If you have a kde desktop then you can invoke sftp in konqueror by using doing fish://192.168.1.10 in the address bar and then open a file browser in your home directory and drag and drop files.
|
with fish I get a "stall" error after 1 giga and it stuck but with the rsync command I sucees in login but recive this error messege:
rsync -ave ssh juanb@192.168.1.10:/home/juanb/music1.tar /home/juanb/music1.tar juanb@192.168.1.10's password: /usr/X11R6/bin/xauth: timeout in locking authority file /home/juanb/.Xauthority receiving file list ... link_stat /home/juanb/music1.tar : No such file or directory done client: nothing to do: perhaps you need to specify some filenames or the --recursive option? rsync error: some files could not be transferred (code 23) at main.c(653) Please help ! Juan |
I'm more used to rsyncing directories but I don't repeat the last directory name on the receiving side. For example:
rsync -avz --delete-after -e ssh /mnt/tech/stuff root@mudd:/mnt/tech In your case, it may look like this.... Code:
rsync -ave ssh juanb@192.168.1.10:/home/juanb/music1.tar /home/juanb |
I stil get this error:
[root@juanbox juanb]# rsync -ave ssh juanb@192.168.1.10:/home/juanb/music1.tar /home/juanb juanb@192.168.1.10's password: /usr/X11R6/bin/xauth: timeout in locking authority file /home/juanb/.Xauthority receiving file list ... link_stat /home/juanb/music1.tar : No such file or directory done client: nothing to do: perhaps you need to specify some filenames or the --recursive option? rsync error: some files could not be transferred (code 23) at main.c(653) Thanks! |
Does the machine 192.168.1.10 have the music1.tar or is that the machine you want to put the file onto?
|
the 192.168.1.10 is the machine in which I want to put the file in.
Thanks! |
Quote:
Code:
rsync -ave ssh juanb@other_machine_ip_address:/home/juanb/music1.tar /home/juanb the first part is the other machine in this case juanb@other_machine_ip_address:/home/juanb/music1.tar the second part is where you are typing in this case /home/juanb |
now I get this error:
rsync -ave ssh /home/juanb juab@192.168.1.10:/home/juanb/music1.tar juab@192.168.1.10's password: Permission denied, please try again the content of the files related to rsync are: /etc/rsyncd.secrets : juanb:password /etc/rsyncd.conf : modulename] #### rsyncd.conf file #### uid = juanb gid = 502 pid file = /etc/rsyncd.pid syslog facility = daemon [modulename] #Module name could be any name path = /home/juanb comment = user related any info auth users = anonymous username hosts allow = 192.168.1.0/24 secrets file =/etc/rsyncd.secrets max connection = 50 use chroot = true timeout = 60 #### End of configuration file #### /etc/rsyncd.pid is empty. when I ssh to the machine it is the same password as in rsync.secrets and I can log in. I dont know if it metters. Thanks ! |
All times are GMT -5. The time now is 06:05 PM. |