Bug#290892: rsync fails with syntax or usage error (code 1)

2005-01-26 Thread Clive Menzies CMA Associates
- Forwarded message from Goswin von Brederlow [EMAIL PROTECTED] -

 To: Clive Menzies CMA Associates [EMAIL PROTECTED]
 From: Goswin von Brederlow [EMAIL PROTECTED]
 Date: Sun, 23 Jan 2005 20:04:46 +0100
 Subject: Re: More questions
 
 Clive Menzies CMA Associates [EMAIL PROTECTED] writes:
 
  On (23/01/05 10:50), Goswin von Brederlow wrote:
  Hi,
  
  some more questions about your setup:
  
  Your config says:
  | [mirror]
  | path = /root/backup_server/backup
  | use chroot = no
  | max connections = 4
  | auth users = root
  | hosts allow = backup_server
  | secrets file = /etc/.rs_sec
  | uid = root
  | gid = root
  
  and to the question if it is writeable you said:
  
  | $ ls -l /root/venus
  | drwxr-xr-x  3 root root 4096 2005-01-03 09:46 backup
  
  That is a different path.
  Hi Goswin
 
  venus =backup_server (I edited the rsyncd.conf before posting it)
 
  ~$ cat /etc/rsyncd.conf
  [rsync]
  path = /home
  use chroot = no
  max connections = 4
  auth users = root
  hosts allow = 192.168.1.23
  secrets file = /etc/.rs_sec
  uid = root
  gid = root
  
  [mirror]
  path = /root/venus/backup
  use chroot = no
  max connections = 4
  auth users = root
  hosts allow = 192.168.1.23
  secrets file = /etc/.rs_sec
  uid = root
  gid = root
  
   The first entry [rsync] relates to the overnight backup to venus, the
   backup server.  [mirror] refers to rsyncing the whole of the backup
   file (including daily, weekly and monthly snapshots) back to the file
   server; this is where I'm encountering the error.
   
  
  Also what user did you set in inetd.conf for rsyncd?
  #:RSYNC
  rsync stream tcp nowait root /usr/bin/rsync rsyncd --daemon
 
  Many thanks for your help ;)
 
  Regards
 
  Clive
 
 I have the following rsyncd.conf:
 
 [EMAIL PROTECTED]:~% cat /etc/rsyncd.conf
 uid = mrvn
 use chroot = no
 max connections = 10
 syslog facility = local5
 pid file = /var/run/rsyncd.pid
 
 [debian]
 comment = debian
 path = /mnt/mirror
 list = yes
 read only = true
 ...
 
 Try moving common options to the top as global options and explicitly
 make the mirror target read only = false. Maybe that helps.
 
 Also check the logfiles of the rsyncd and maybe strace the rsyncd please.
 
 MfG
 Goswin

- End forwarded message -

Following Goswin's suggestion of specifying read only = false fixed
the problem.

Perhaps some added documentation will help.

Many thanks

Clive


-- 
www.clivemenzies.co.uk ...
...strategies for business




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#290892: rsync fails with syntax or usage error (code 1)

2005-01-17 Thread Paul Slootman
On Sun 16 Jan 2005, Clive Menzies CMA Associates wrote:
   
 the it fails with the following error:
 rsync: writefd_unbuffered failed to write 4092 bytes: phase
 send_file_entry [sender]: Broken pipe (32) ERROR: module is read only rsync 
 error:

The message 'module is read only' should be a pretty good hint to what's
wrong... Please show the rsyncd.conf in use on the file_server.


Paul Slootman


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#290892: rsync fails with syntax or usage error (code 1)

2005-01-17 Thread Clive Menzies CMA Associates
On (17/01/05 16:40), Paul Slootman wrote:
 To: Clive Menzies CMA Associates [EMAIL PROTECTED],
   [EMAIL PROTECTED]
 From: Paul Slootman [EMAIL PROTECTED]
 Date: Mon, 17 Jan 2005 16:40:37 +0100
 Subject: Re: Bug#290892: rsync fails with syntax or usage error (code 1)
 Reply-To: [EMAIL PROTECTED]
 
 On Sun 16 Jan 2005, Clive Menzies CMA Associates wrote:
  
  the it fails with the following error:
  rsync: writefd_unbuffered failed to write 4092 bytes: phase
  send_file_entry [sender]: Broken pipe (32) ERROR: module is read only 
  rsync error:
 
 The message 'module is read only' should be a pretty good hint to what's
 wrong... Please show the rsyncd.conf in use on the file_server.
[rsync]
path = /home
use chroot = no
max connections = 4
auth users = root
hosts allow = backup_server
secrets file = /etc/.rs_sec
uid = root
gid = root


[mirror]
path = /root/venus/backup
use chroot = no
max connections = 4
auth users = root
hosts allow = backup_server
secrets file = /etc/.rs_sec
uid = root
gid = root

Thanks a bunch ;)

Clive


-- 
www.clivemenzies.co.uk ...
...strategies for business




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#290892: rsync fails with syntax or usage error (code 1)

2005-01-17 Thread Clive Menzies
Apologies 

I'm afraid I resubmitted the report because I had't had an
acknowledgement or seen it in bug tracking.  I feared I hadn't
configured exim4 properly and so reconfigured and repeated the bug
report.

There is some additional information included in the second report.

Regards

Clive


-- 
www.clivemenzies.co.uk ...
...strategies for business




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]