Rsync process stopped with message "file has vanished"

View: New views
4 Messages — Rating Filter:   Alert me  

Rsync process stopped with message "file has vanished"

by RCP Vision :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,
our mirror site has been removed temporarily as requested, since we are not yet in sync.
We still have problems with rsync however.
A summary: 
we were told to use the following script

but running it (after having set mirror_path, RSYNC_HOST and RSYNC_PATH variables) gave us the following errors:
=================================================
sent 116 bytes  received 465 bytes  1162.00 bytes/sec
total size is 10  speedup is 0.02
[: 128: ==: unexpected operator
[: 132: ==: unexpected operator
[: 139: ==: unexpected operator
[: 143: ==: unexpected operator
[: 147: ==: unexpected operator
[: 151: ==: unexpected operator
[: 155: ==: unexpected operator
[: 159: ==: unexpected operator
[: 164: ==: unexpected operator
[: 168: ==: unexpected operator
[: 172: ==: unexpected operator
[: 176: ==: unexpected operator
[: 180: ==: unexpected operator
[: 184: ==: unexpected operator
=================================================

since we were (at that time) active as a mirror, but without contents, we tried to solve things manually.
We extracted from the script the single line that performs the sync (with full_eclipse==yes):
$RSYNC -rtlvp --delete $RSYNC_HOST::$RSYNC_PATH/* $mirror_path
replaced the content of the varibles with our values

/usr/bin/rsync -rtlvp --delete rsync.mirrorservice.org::download.eclipse.org/eclipseMirror/* /home/ftp/pub/eclipse

we received the following error:
receiving file list ... rsync: link_stat "/sites/download.eclipse.org/eclipseMirror/*" (in download.eclipse.org) failed: No such file or directory (2)
done

so changed into (removed /* ):

/usr/bin/rsync -rtlvp --delete rsync.mirrorservice.org::download.eclipse.org/eclipseMirror /home/ftp/pub/eclipse

this way the rsync process has, in some way, started successfully.

After some hour the process stopped with the message:
=================================================
eclipseMirror/eclipse/downloads/drops/R-3.5.1-200909170800/eclipse-RCP-3.5.1-hpux-motif-ia64_32.zip
eclipseMirror/eclipse/downloads/drops/R-3.5.1-200909170800/eclipse-RCP-3.5.1-linux-gtk-ppc.tar.gz
=================================================

what should we do?
Thank you very much

Vincenzo Caselli
RCP Vision








On Fri, Oct 16, 2009 at 12:45 PM, RCP-Vision <info@...> wrote:
Hi Denis,
due to the problems we pointed you out yesterday (rsynch script not working) there is now a problem from Italy.
In fact when we try to download from Eclipse there is just our mirror proposed from Italy, but now it is not working, so people are not able to download.
In the meanwhile we have launched the single rynch command line extracted from the script
$RSYNC -rtlvp --delete $RSYNC_HOST::$RSYNC_PATH/* $mirror_path
changed into 
$RSYNC -rtlvp --delete $RSYNC_HOST::$RSYNC_PATH $mirror_path
(we found a post from you where you suggested this)
so now the synch process has started in some way, but it appears to last quite a bit.
Could you remove us as mirror from Italy, just until we are in synch?
Thank you very much.

Vincenzo Caselli
RCP Vision




On Thu, Oct 15, 2009 at 10:57 AM, RCP-Vision <info@...> wrote:
Hi Denis,
we changed the following lines in the script:

=================================================
# Set the base path for your mirror site here
# No ending /
mirror_path="/home/ftp/pub/eclipse"
...
# if you rsync from master server, use these options
#RSYNC_PATH=eclipseMirror

# if you rsync from Europe, you can use these.  Comment the master server options above
# UK server - for European mirrors
=================================================

but when running we get this error:

=================================================
root@ubuntu:~# sh eclipse.org-rsync.sh
Welcome to the University of Kent's UK Mirror Service

More information can be found at our web site: http://www.mirrorservice.org/
Please send comments or questions to help@...

Please use rsync.mirrorservice.org for rsync access,
ftp.mirrorservice.org for ftp access and
don't use www.mirrorservice.org for anything other than http.

As your mileage may vary...

Thanks. UKMS Admins.



sent 116 bytes  received 465 bytes  1162.00 bytes/sec
total size is 10  speedup is 0.02
[: 128: ==: unexpected operator
[: 132: ==: unexpected operator
[: 139: ==: unexpected operator
[: 143: ==: unexpected operator
[: 147: ==: unexpected operator
[: 151: ==: unexpected operator
[: 155: ==: unexpected operator
[: 159: ==: unexpected operator
[: 164: ==: unexpected operator
[: 168: ==: unexpected operator
[: 172: ==: unexpected operator
[: 176: ==: unexpected operator
[: 180: ==: unexpected operator
[: 184: ==: unexpected operator
=================================================

what are we doing wrong?
Thank you very much.

Vincenzo Caselli
RCP Vision




On Tue, Oct 13, 2009 at 11:56 PM, portal on behalf of webmaster <webmaster@...> wrote:
Hi,

Thank you for volunteering to be an Eclipse mirror!  I've added your IP
address to the access list and you should be able to sync with our server
shortly.

You can use the script at this location to update your mirror.  Simply
configure the base path and set the mirror options you have selected when
completing the registration process:

http://www.eclipse.org/downloads/eclipse.org-rsync.sh.txt

For faster RSYNC service, please use the RSYNC hubs in USA or Europe.

Please subscribe to the eclipse-mirrors mailing list at
https://dev.eclipse.org/mailman/listinfo/eclipse-mirrors and send a message
when you have completed syncing and I'll add your link to our download
page!  Also please advise me if you decide to change any of the mirroring
options.

If you have any questions, please let me know.

Denis

--

Eclipse WebMaster - webmaster@...
Questions? Consult the FAQ at http://www.eclipse.org/webmaster/faq.html




--
Vincenzo Caselli
RCP Vision
http://www.rcp-vision.com
E-mail: v.caselli@...
Mobile: +39 347 1267872
Skype: vincenzocaselli
Gtalk: vincenzo.caselli




--
Vincenzo Caselli
RCP Vision
http://www.rcp-vision.com
E-mail: v.caselli@...
Mobile: +39 347 1267872
Skype: vincenzocaselli
Gtalk: vincenzo.caselli




--
Vincenzo Caselli
RCP Vision
http://www.rcp-vision.com
E-mail: v.caselli@...
Mobile: +39 347 1267872
Skype: vincenzocaselli
Gtalk: vincenzo.caselli




--
Vincenzo Caselli
RCP Vision
http://www.rcp-vision.com
E-mail: v.caselli@...
Mobile: +39 347 1267872
Skype: vincenzocaselli
Gtalk: vincenzo.caselli


_______________________________________________
eclipse-mirrors mailing list
eclipse-mirrors@...
https://dev.eclipse.org/mailman/listinfo/eclipse-mirrors

Re: Rsync process stopped with message "file has vanished"

by Denis Roy :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On 10/17/2009 01:55 AM, RCP-Vision wrote:

After some hour the process stopped with the message:
=================================================
eclipseMirror/eclipse/downloads/drops/R-3.5.1-200909170800/eclipse-RCP-3.5.1-hpux-motif-ia64_32.zip
eclipseMirror/eclipse/downloads/drops/R-3.5.1-200909170800/eclipse-RCP-3.5.1-linux-gtk-ppc.tar.gz
=================================================

what should we do?

Nothing.  The file was removed between the time your file list was generated and the transfer occurred.  Since our filesystem is constantly changing, your odds of seeing this warning are quite good.  Your rsync should not have terminated, though, since this is not an error -- just a warning.  I suggest you simply redirect your Eclipse-related errors to /dev/null to avoid this unnecessary SPAM.

_______________________________________________
eclipse-mirrors mailing list
eclipse-mirrors@...
https://dev.eclipse.org/mailman/listinfo/eclipse-mirrors

Re: Rsync process stopped with message "file has vanished"

by RCP Vision :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Sorry,
we really do not intend to spam the newsgroup.
But with the script
  http://www.eclipse.org/downloads/eclipse.org-rsync.sh.txt
we had lots of error like the following:
  [: 128: ==: unexpected operator
Removing the "/*" characters in lines like
  $RSYNC -rtlvp --delete $RSYNC_HOST::$RSYNC_PATH/eclipse/* $mirror_path/eclipse/
solved the "unexpected operator" errors.

Still, the "file has vanished" warning/error does indeed stop the processs ("ps -ef" command does not list rsync process anymore and the log messages stops).
Our linux distro is Ubuntu 8.04, does this can be of help?
We are asking this because we googled into the following post:
http://www.jackbe.com/enterprise-mashup/forum/installation-problem-175-unexpected-operator
where a user writes:
"(On Ubuntu /bin/sh does not point to bash like on other Linuxes but to dash)."

Thank you very much
Vincenzo Caselli




Denis Roy wrote:
Your rsync should not have terminated, though, since this is not an error -- just a
warning.  I suggest you simply redirect your Eclipse-related errors to
/dev/null to avoid this unnecessary SPAM.

Re: Rsync process stopped with message "file has vanished"

by RCP Vision :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

We launched the script with bash explicitly (we have Ubuntu):
bash eclipse.org-rsync.sh
and, in the end, we were able to have the rsynch process end successfully!

Thank you
Vincenzo Caselli



Sorry,
we really do not intend to spam the newsgroup.
But with the script
  http://www.eclipse.org/downloads/eclipse.org-rsync.sh.txt
we had lots of error like the following:
  [: 128: ==: unexpected operator
Removing the "/*" characters in lines like
  $RSYNC -rtlvp --delete $RSYNC_HOST::$RSYNC_PATH/eclipse/* $mirror_path/eclipse/
solved the "unexpected operator" errors.

Still, the "file has vanished" warning/error does indeed stop the processs ("ps -ef" command does not list rsync process anymore and the log messages stops).
Our linux distro is Ubuntu 8.04, does this can be of help?
We are asking this because we googled into the following post:
http://www.jackbe.com/enterprise-mashup/forum/installation-problem-175-unexpected-operator
where a user writes:
"(On Ubuntu /bin/sh does not point to bash like on other Linuxes but to dash)."

Thank you very much
Vincenzo Caselli




Denis Roy wrote:
Your rsync should not have terminated, though, since this is not an error -- just a
warning.  I suggest you simply redirect your Eclipse-related errors to
/dev/null to avoid this unnecessary SPAM.