Prev Previous Post   Next Post Next
  #1  
Old 24th November 2008, 22:55
unsichtbare unsichtbare is offline
Senior Member
 
Join Date: Sep 2007
Posts: 103
Thanks: 18
Thanked 2 Times in 2 Posts
Default problems with rsync

When I run rsync I get:

Code:
rsync: opendir "/var/www/web5/user/web5_rsts/Maildir" failed: Permission denied (13)
rsync: opendir "/var/www/web5/user/web5_rsts/.spamassassin" failed: Permission denied (13)
rsync: opendir "/var/www/web5/user/web5_test/Maildir" failed: Permission denied (13)
rsync: opendir "/var/www/web5/user/web5_test/.spamassassin" failed: Permission denied (13)
Although it does successfully copy some files.

Also, when I try to automate the rsync process following the tutorial, it still asks for a password, then fails.

Code:
root@mirrior1:~# rsync -avz --delete --exclude=**/stats --exclude=**/error --exclude=**/files/pictures -e "ssh -i /root/rsync/mirror-rsync-key" someuser@clients1.myserver.com:/var/www/ /var/www/
someuser@clients1.myserver.com's password:
bash: /home/someuser/rsync/checkrsync: /bin/shcase: bad interpreter: No such file or directory
rsync: connection unexpectedly closed (0 bytes received so far) [receiver]
rsync error: remote command could not be run (code 126) at io.c(454) [receiver=2.6.9]
Yes I actually created a user account "someuser", following the tutorial.

Any suggestions?

One other thing, when I ran:

Code:
ssh-keygen -t dsa -b 2048 -f /root/rsync/mirror-rsync-key
as root, it told me that the key needed to be 1024 bits so I changed 2048 to 1024 and re-ran it.

-J
__________________
Ubuntu 10.10 - The Perfect Setup
ISPConfig as VM on ESXi
http://www.vmsources.com
Reply With Quote
Sponsored Links
 

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
rsync: opendir "/var/www/web44/web" failed: Permission denied (13) adrenalinic HOWTO-Related Questions 7 4th August 2009 13:16
a backup server by RSYNC + SSH in a chrooted environment paguira Server Operation 3 23rd August 2008 16:44
Management/system config/settings & /server/settings not working!! dactor Installation/Configuration 9 6th February 2008 09:11
Systemimager (rsync) doesn't copy all comedit HOWTO-Related Questions 11 19th January 2007 17:17
Empty Recycle Bin jon335 General 40 6th May 2006 11:56


All times are GMT +2. The time now is 14:58.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.