LinuxQuestions.org
Register a domain and help support LQ
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
 
LinkBack Search this Thread
Old 09-02-2005, 01: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 02:04 AM.
 
Old 09-02-2005, 04:30 AM   #2
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Lubuntu
Posts: 19,165
Blog Entries: 4

Rep: Reputation: 426Reputation: 426Reputation: 426Reputation: 426Reputation: 426
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, 03: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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


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


All times are GMT -5. The time now is 03:13 AM.

Main Menu
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