An analysis of your command line, (information gleaned by R(eading) T(he) F(***ing) 
M(anual):
"rsync -uve ssh ./oi2 drcpc1:/padrao/oi2"
Using ssh, rsync ./oi2 into the directory /padrao/oi2 on drcpc1, updating only older 
files, lightly verbose.
Your apparent intention is to create a subdirectory named oi2 inside the module named 
padrao, which is actually /usr/adm/padrao.
My guess is that that isn't even what you want to do, but rather to put the CONTENTS 
of oi2 into the subdirectory oi2 of padrao.
as you've already got ssh working, and you are writing to that system, you should 
forget about the rsyncd.conf entirely.  writing to rsyncd doesn't work well, and 
leaves you open to modification of your files, with no accountability, unless you use a
password, which is still eminently sniffable.
The commandline you're probably looking for is "rsync -uve ssh ./oi2/ 
drcpc1:/usr/adm/padrao/oi2".  That's by the manual.  I have actually had unexpected 
bad luck using the trailing / syntax, and had many subdirectories seem to be missing 
from the source,
and deleted 3/4 of my installation.
you might prefer this syntax: "rsync -uve ssh ./oi2 drcpc1:/usr/adm/padrao".  This 
syntax has the added advantage that if it's used in a generic synchronization script, 
it works whether you're sending a file or a directory, with no syntax change.

If you insist on writing to the rsyncd, you'll need "rsync -uv ./oi2 drcpc1::/padrao". 
 forget the ssh, that's an external transport, like the default rsh.  using the :: 
tells rsync to use it's internal transport, directly to a waiting (or inetd-spawned)
rsyncd.

Don't worry about the odd name, ".oi2.sJ5loG", rsync first creates a file or directory 
as a hidden file with some random gibberish at the end of its filename, then moves it 
over.
Without knowing more about your specific setup, i can't get any deeper.

Please ignore this philips-required confidentiality notice.
The information contained in this message is confidential and may be legally 
privileged. The message is intended solely for the addressee(s). If you are not the 
intended recipient, you are hereby notified that any use, dissemination, or 
reproduction is
strictly prohibited and may be unlawful. If you are not the intended recipient, please 
contact the sender by return e-mail and destroy all copies of the original message.

Tim Conway
[EMAIL PROTECTED]
303.682.4917
Philips Semiconductor - Longmont TC
1880 Industrial Circle, Suite D
Longmont, CO 80501
Available via SameTime Connect within Philips
Available as n9hmg on AIM
perl -e 'print pack(nnnnnnnnnnnn, 
19061,29556,8289,28271,29800,25970,8304,25970,27680,26721,25451,25970), ".\n" '
"There are some who call me.... Tim?"


                                                                                       
                                                           
                    Andreia Pio da                                                     
                                                           
                    Silva - func                To:  [EMAIL PROTECTED]             
                                                           
                    <[EMAIL PROTECTED]           cc:  (bcc: Tim Conway/LMT/SC/PHILIPS)  
                                                           
                    amp.br>                     Subject:  cannot create 
/padrao/.oi2.sJ5loG : No such file or directory                           
                    Sent by:                                                           
                                                           
                    rsync-admin@lists           Classification:                        
                                                           
                    .samba.org                                                         
                                                           
                                                                                       
                                                           
                                                                                       
                                                           
                    10/23/2001 09:56                                                   
                                                           
                    AM                                                                 
                                                           
                                                                                       
                                                           
                                                                                       
                                                           




Hi,

I'm trying to use rsync.

my /usr/local/etc/rsyncd.conf is:

log file = /var/log/rsyncd
pid file = /etc/rsyncd.pid
syslog facility = local5

[padrao]
comment= Arquivos para Configuracao Maq RedHat
path=/usr/adm/padrao
read only=no
list = yes


I want to write in /usr/adm/padrao with the command
"rsync -uve ssh ./oi2 drcpc1:/padrao/oi2"
of client machine but I received this message of error:

andreia@drcpc1's password: xxxxxxx
oi2
cannot create /padrao/.oi2.sJ5loG : No such file or directory
wrote 85 bytes  read 36 bytes  22.00 bytes/sec
total size is 11  speedup is 0.09

and the file oi2 isn't write in the server drcpc1


Thanks,







Reply via email to