Go Back   { mindfrost82.com } > Gadget Corner > Tech Newsgroups > Linux > Gentoo

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 03-17-2008, 06:05 PM
Ron Eggler
 
Posts: n/a
problems rsyncing a file

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
Reply With Quote
  #2 (permalink)  
Old 03-17-2008, 10:30 PM
Marc Christiansen
 
Posts: n/a
Re: problems rsyncing a file

Ron Eggler <test@example.com> 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
> 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.


man rsyncd.conf
/read only
Reply With Quote
Reply

  { mindfrost82.com } > Gadget Corner > Tech Newsgroups > Linux > Gentoo


Thread Tools Search this Thread
Search this Thread:

Advanced Search
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

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



All times are GMT. The time now is 01:16 PM.


Powered by vBulletin, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0 ©2007, Crawlability, Inc.
© 1999-2008 mindfrost82.com v11.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109