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

  Unix/Linux 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, unix

Closed Linux or Unix Question    
Thread Tools Search this Thread Display Modes
Old Unix and Linux 02-18-2011
omonoiatis9 omonoiatis9 is offline
Registered User
Join Date: Jan 2010
Last Activity: 23 March 2015, 2:44 AM EDT
Posts: 127
Thanks: 1
Thanked 2 Times in 2 Posts
rsync error "file has vanished"


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

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:

/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:

bkdbopi.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
Old Unix and Linux 02-21-2011
zaxxon's Unix or Linux Image
zaxxon zaxxon is offline Forum Staff  
code tag tagger
Join Date: Sep 2007
Last Activity: 27 March 2015, 11:45 AM EDT
Location: St. Gallen, Switzerland
Posts: 6,266
Thanks: 128
Thanked 456 Times in 415 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 Linux or Unix Question

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Unix or Linux Image 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 01:13 AM.