rsync error "file has vanished" | Unix Linux Forums | AIX

  Go Back    


AIX AIX is IBM's industry-leading UNIX operating system that meets the demands of applications that businesses rely upon in today's marketplace.

rsync error "file has vanished"

AIX


Tags
aix, unix

Closed Thread    
 
Thread Tools Search this Thread Display Modes
    #1  
Old 02-18-2011
omonoiatis9 omonoiatis9 is offline
Registered User
 
Join Date: Jan 2010
Last Activity: 23 September 2014, 12:28 AM EDT
Posts: 103
Thanks: 0
Thanked 1 Time in 1 Post
rsync error "file has vanished"

Hello,

I am using rsync to synchronize some files from one server to other servers.
When i take a look at the output file that it produces i noticed that for some files returns the message

Code:
file has vanished: "<filename>"

what might be the cause of that? do i do something wrong or should i fix something on my script?

this is what i use:
first of all i run this script on AIX version 5.3.9 and rsync version 2.6.2.

this is what my script executes:

Code:
/usr/bin/rsync -rgoptvz -e ssh /<dir>/*  <remote_server>:/<dir>/

i did some search in the web but i the only thing i find about this problem is that rsync shows this problem if the filenames include "strange characters" for the system.
but clearly this is not the case in my problem because i have filenames like:

Code:
bkdbopi.sql ,
sem_beoycomtmp2.sql,.......

can someone help me about this?

thank you

Moderator's Comments:
Use code tags, thanks. You got a PM with a guide.

Last edited by zaxxon; 02-21-2011 at 03:35 AM.. Reason: code tags
Sponsored Links
    #2  
Old 02-21-2011
zaxxon's Avatar
zaxxon zaxxon is offline Forum Staff  
code tag tagger
 
Join Date: Sep 2007
Last Activity: 23 September 2014, 7:56 AM EDT
Location: St. Gallen, Switzerland
Posts: 6,229
Thanks: 121
Thanked 451 Times in 411 Posts
Can you ensure, that there is no traffic on the files/directory that you want to be synced? It seemes when rsync builts it's file list (which you shoud see due the -v) and when it actually wants to transfer files, some other process or user might have removed that file from the place where it's been, like issued a rm or mv etc.
So trying to rsync a very busy directory might occure to this.
Sponsored Links
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Need to identify the process/app which is triggering the error "vmunix: file: table is full" enchogas HP-UX 1 10-07-2010 10:05 PM
PROBLEM: RSYNC and no user password "secrets" tfort73 AIX 2 09-11-2009 10:31 AM
ERROR: more than one instance of overloaded function "vprintf" has "C" linkage donatoll HP-UX 0 10-14-2008 05:35 AM
"syntax error at line 21 :'done' unexpected." error message" ibroxy Shell Programming and Scripting 3 08-08-2007 06:45 AM
Help! "Bus error" and "CPU Panic" box wont boot hcclnoodles Solaris 3 10-05-2006 04:38 PM



All times are GMT -4. The time now is 10:24 PM.