[Orca-users] Successful ORCA user
Rajesh Verma
Rajesh.Verma at PalmettoHealth.org
Wed Aug 20 09:36:13 PDT 2003
Hi
0,5,10,15,20,25,30,35,40,45,50,55 * * * * /usr/local/bin/rsync
--rsync-path=/usr/bin/rsync -az -e /usr/local/bin/ssh
/home/orca/orcallator/hawk1 matrix:/home/orca/orcallator
This is what I did and I am still getting error
From: daemon
bash: line 1: /usr/local/bin: is a directory
rsync: connection unexpectedly closed (0 bytes read so far)
rsync error: error in rsync protocol data stream (code 12) at
io.c(165)
orca at hawk1::> type ssh
ssh is /usr/local/bin/ssh
orca at hawk1::> type rsync
rsync is /usr/local/bin/rsync
On matrix server (Redhat Linux) where i am collecting the data ...
[orca at matrix hawk1]$ type rsync
rsync is /usr/bin/rsync
Thanks
Rajesh
>>> <Jaouich.Cyril at hydro.qc.ca> 8/20/2003 11:42:50 AM >>>
Here is what I put for rsync with ssh:
5,15,25,35,45,55 * * * * /usr/local/bin/rsync
--rsync-path=/usr/local/bin/rsync -az -e /usr/local/bin/ssh
aixbox1:"/usr/local/var/orca/orcallator/aixbox1"
/usr/local/var/orca/orcallator > /dev/null 2>&1
You should be able to take the cmd and stick it into the crontab. What
is
the error you are getting?
Thanks
Cyril Jaouich (Consultant Unix)
------------------------------------------
Support technique des infrastructures Unix
------------------------------------------
Tél: 514-840-3000x5527
-----Message d'origine-----
De : Rajesh Verma [mailto:Rajesh.Verma at PalmettoHealth.org]
Envoyé : mercredi 20 août, 2003 11:30
À : orca-users at orcaware.com
Objet : [Orca-users] Successful ORCA user
Thanks to Blair Zajac and Cyril Jaouich, for providing the tool for
Sun
and AIX.
I was able to succesfully get the data from server and send it to
central server and get the graphs.
I am able to use rsync to copy the data to the web server. But I am
not
able to run the rsync command using CRONTAB.
its gives error. If I run from commandline it works find using ssh.
If any one knows how to make rsync work using crontab, I will be a
happy man.
Thanks again
\\\//
<|o-o|>
^
Rajesh Verma
Sr. Unix Administrator
Ph. 803 434 8580
Palmetto Health
7909 Parklane Road, Suite 400
Columbia, SC 29223
Rajesh.Verma at palmettohealth.org
URL: http://www.palmettohealth.org
----------------------------------------------------------------------------
--
CONFIDENTIALITY NOTICE
This message is intended only for the use of the individual or entity
to
which
it is addressed and may contain information that is privileged,
confidential
and exempt from disclosure under applicable law. If the reader of
this
message is not the intended recipient, you are hereby notified that
any
dissemination, distribution, or copying of this communication is
strictly
prohibited by law. If you have received this communication in error,
please
notify me immediately.
============================================================================
==
_______________________________________________
Orca-users mailing list
Orca-users at orcaware.com
http://www.orcaware.com/mailman/listinfo/orca-users
------------------------------------------------------------------------------
CONFIDENTIALITY NOTICE
This message is intended only for the use of the individual or entity to which it is addressed and may contain information that is privileged, confidential and exempt from disclosure under applicable law. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution, or copying of this communication is strictly prohibited by law. If you have received this communication in error, please notify me immediately.
==============================================================================
More information about the Orca-users
mailing list