- 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]