Networking Forums

Networking Forums > Computer Networking > Linux Networking > rsyncing a file

Reply
Thread Tools Display Modes

rsyncing a file

 
 
Ron Eggler
Guest
Posts: n/a

 
      03-17-2008, 05:08 PM
Hi,

I would like to rsync a file not using ssh by rsync and have tried
following:
[little client]
reg@NovaxPRG-T1111:/usr/share/NovaxTSP$ rsync --password-file=pwd log_record
root@192.168.101.3::PRG-LOG/
ERROR: module is read only
rsync error: syntax or usage error (code 1) at main.c(805) [receiver=2.6.9]
rsync: read error: Connection reset by peer (104)
rsync error: error in rsync protocol data stream (code 12) at io.c(605)
[sender=2.6.9]
[/little dclient]

[server /etc/rsyncd.conf]
# Minimal configuration file for rsync daemon
# See rsync(1) and rsyncd.conf(5) man pages for help

# This line is required by the /etc/init.d/rsyncd script
pid file = /var/run/rsyncd.pid
use chroot = yes

# Simple example for enabling your own local rsync server
[PRG-LOG]
path = /usr/share/NovaxTSP/logs
comment = PRG logfile
[/server /etc/rsyncd.conf]

Any help would be appreciated! I don't know why it says the module is read
only, /usr/share/NovaxTSP is chmoded 777 and the user is root anyways.


Btw: I'm not using ssh because i want to avoid any password prompts and i do
not have a chance to get a key file and i settled on rsync rather than ftp
because we already have rsync installed on the server.
chEErs roN
--
chEErs roN
 
Reply With Quote
 
 
 
 
ljb
Guest
Posts: n/a

 
      03-17-2008, 11:52 PM
(E-Mail Removed) wrote:
> Hi,
>
> I would like to rsync a file not using ssh by rsync and have tried
> following:
> [little client]
> reg@NovaxPRG-T1111:/usr/share/NovaxTSP$ rsync --password-file=pwd log_record
> root@192.168.101.3::PRG-LOG/
> ERROR: module is read only
> ...


By default, an rsync server makes all 'modules' read-only. If you want to
be able to upload files to a module, you need 'read only = false' in
the rsyncd.conf configuration file.
 
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
File Copy Windows -> SMB Linux; File size problem Publishers Press Windows Networking 0 10-23-2008 06:05 PM
Rinominare File con data attraverso un file Batch Daytan Windows Networking 1 09-18-2007 05:40 PM
Saving text file on SMB share - file has changed James Telford Linux Networking 3 09-18-2007 10:12 AM
Locking a file temporarily (till the file is transferred completely). Lince M Lawrence Linux Networking 2 11-10-2004 01:15 AM
Login Script - a log file overwritten by echo %var% >> file john Windows Networking 0 02-27-2004 09:36 PM



1 2 3 4 5 6 7 8 9 10 11