LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices



Reply
 
Search this Thread
Old 09-02-2005, 02:25 AM   #1
sant25
Guest
 
Posts: n/a
Rsync


Hi
My os is fedora 2.6. I am trying to copy some folder to another machine through php script. Here I use RSYNC command in php script to copy folder form one to another machine which is also fedora 2.6. But it shows error 12. I don't what is the meaning of error 12 as well as why it showing error?

I tried to copy some folder from my machine to another drive of my machine through rsync then php script works fine.

my rsync systax is
rsync -avzI -e ssh /usr/local/apache2/htdocs/demo/14 / IP_OF_CLIENT:/usr/local/apache2/htdocs/demo/14


Is anybody here who can slove my problem.

Last edited by sant25; 09-02-2005 at 03:04 AM.
 
Old 09-02-2005, 05:30 AM   #2
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Lubuntu
Posts: 19,176
Blog Entries: 4

Rep: Reputation: 430Reputation: 430Reputation: 430Reputation: 430Reputation: 430
Moved: This thread is more suitable in Linux-General and has been moved accordingly to help your thread/question get the exposure it deserves.
 
Old 09-02-2005, 04:34 PM   #3
vesperatus
Member
 
Registered: Feb 2004
Posts: 44

Rep: Reputation: 15
Might be a permission problem.

I'm not sure if the remote computer will allow the execution of that command through an outside script.

Did you tried to transfer those file, with the same command, on the command line, from one computer to the other ?

I cant pin-point the problem exactly, but I think that this is worth cheking.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
rsync $@ya Linux - Software 1 06-06-2005 12:45 PM
Windows Rsync Upload to Linux Rsync - permissions inspleak Linux - Software 0 10-12-2004 03:49 PM
Rsync help tricky1234 Solaris / OpenSolaris 3 09-07-2004 11:08 AM
rsync-2.4.6-2 santha Linux - Software 1 08-25-2004 05:35 AM
Rsync buttersoft Linux - Software 4 11-05-2003 12:37 PM


All times are GMT -5. The time now is 02:36 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration