Hi all.

I'm trying to create script to make automatic updates of plugins to several
servers. I'm still using the free version of sharity since I haven't
received the registration key.

The script logs me to a server, then mounts it and transfers the new
plugins to it. The problem is that the transfer hungs after a few files. I
don't know if this is a limitation of the trial version or some other
problem.

Here's the script, stripped to the bare bones for simplicity:

   /opt/sharity3/bin/sharity login smb://bcnofimatic -U jam1ss
          (It asks for the password)
   /opt/sharity3/bin/sharity mount smb://bcnofimatic/BCNComun /opt/plugins
   rsync -vaz --delete -b /opt/plugins_origen/
/opt/plugins/ISIS/scripts/aplicacion/aceptacion/plugins_dest/
          (this is just a sincronization, but i've tried to use 'cp' and it
hangs also)

After copying a few files, the process hungs-up. This is what I get:
...
es.liberty.isis.facturacion_1.0.0/icons/checkbox_yellow.gif
         856 100%    3.00kB/s    0:00:00  (24, 23.2% of 435)
es.liberty.isis.facturacion_1.0.0/icons/cintas.gif
         224 100%    0.78kB/s    0:00:00  (25, 23.4% of 435)
es.liberty.isis.facturacion_1.0.0/icons/clientes.gif


rsync: writefd_unbuffered failed to write 1 bytes: phase "unknown"
[sender]: Broken pipe (32)
rsync: write failed on
"/opt/plugins/ISIS/scripts/aplicacion/aceptacion/plugins_dest/es.liberty.isis.facturacion_1.0.0
/FacturacionPlugIn.jar": No such file or directory (2)
rsync error: error in file IO (code 11) at receiver.c(291)
rsync: connection unexpectedly closed (9910 bytes received so far)
[generator]
rsync error: error in rsync protocol data stream (code 12) at io.c(434)
rsync: connection unexpectedly closed (1042 bytes received so far) [sender]
rsync error: error in rsync protocol data stream (code 12) at io.c(434)

I'm running the script on a Solaris 10 machine, and connect to Windows 2000
servers.

Can you give me some advice about it?

Thanks in advance,
Josep Abenza Martí
Arquitectura WEB, Liberty Seguros
Tlf. 93 489 05 00 - Ext. 2352
[EMAIL PROTECTED]





=============================
Este mensaje se dirige exclusivamente a su destinatario. Puede contener
información confidencial sometida a secreto profesional o cuya divulgación
esté prohibida, en virtud de la legislación vigente. No esta permitida
su divulgación, copia o distribución a terceros sin la autorización previa
y por escrito de Liberty Seguros. Si ha recibido este mensaje por error,
le rogamos nos lo comunique inmediatamente por esta misma vía y proceda a
su destrucción.

This e-mail is intended exclusively for the individual or entity to which
it is addressed and may contain confidential or legally privileged information,
which may not be disclosed under current legislation. Any form of disclosure,
copying or distribution of this e-mail is strictly prohibited, save with
written authorisation from Liberty Seguros. If you have received this message
in error, please notify the sender immediately by e-mail and delete all copies
of the message.
=============================
_______________________________________________
Sharity-talk mailing list
[email protected]
To unsubscribe see http://at.obdev.at/mailman/listinfo/sharity-talk

Reply via email to