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, unix

Closed Thread    
Thread Tools Search this Thread Display Modes
Old 02-18-2011
omonoiatis9 omonoiatis9 is offline
Registered User
Join Date: Jan 2010
Last Activity: 15 January 2015, 4:50 AM EST
Posts: 117
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 04:35 AM.. Reason: code tags
Sponsored Links
Old 02-21-2011
zaxxon's Avatar
zaxxon zaxxon is offline Forum Staff  
code tag tagger
Join Date: Sep 2007
Last Activity: 30 January 2015, 10:27 AM EST
Location: St. Gallen, Switzerland
Posts: 6,256
Thanks: 126
Thanked 455 Times in 414 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 11:05 PM
PROBLEM: RSYNC and no user password "secrets" tfort73 AIX 2 09-11-2009 11:31 AM
ERROR: more than one instance of overloaded function "vprintf" has "C" linkage donatoll HP-UX 0 10-14-2008 06:35 AM
"syntax error at line 21 :'done' unexpected." error message" ibroxy Shell Programming and Scripting 3 08-08-2007 07:45 AM
Help! "Bus error" and "CPU Panic" box wont boot hcclnoodles Solaris 3 10-05-2006 05:38 PM

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