I run a CentOS/Fedora mirror with rsync access.
I have the following rsyncd.conf file:
read only = true
transfer logging = true
pid file = /var/run/rsyncd.pid
log file = /var/log/rsyncd.log
dont compress = *
[Fedora]
path = /var/ftp/pub/mirrors/fedora
comment = Fedora mirror
[CentOS]
path = /var/ftp/pub/mirrors/centos
comment = CentOS mirror
My problem is that nothing gets logged into
/var/log/rsyncd.log, all logging occurs into
/var/log/messages instead.
There's no error message that /var/log/rsyncd.log
(the file doesn't exist) can't be opened.
What have I done wrong?
Mogens
--
Mogens Kjaer, Carlsberg A/S, Computer Department
Gamle Carlsberg Vej 10, DK-2500 Valby, Denmark
Phone: +45 33 27 53 25, Fax: +45 33 27 47 08
Email: mk at crc.dk Homepage: http://www.crc.dk
On Thursday 19 July 2007, Mogens Kjaer wrote:> I run a CentOS/Fedora mirror with rsync access.I do that too :-)> I have the following rsyncd.conf file: > > > read only = true > transfer logging = true > pid file = /var/run/rsyncd.pid > log file = /var/log/rsyncd.log > dont compress = *Mine logs ok and looks like this: motd file = /etc/rsyncd.motd log file = /var/log/rsyncd.log transfer logging = yes This is on centos-5.0.i386 /Peter -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part. URL: <http://lists.centos.org/pipermail/centos/attachments/20070719/cc253265/attachment.sig>
Peter Kjellstrom wrote:> On Thursday 19 July 2007, Mogens Kjaer wrote: >> I run a CentOS/Fedora mirror with rsync access. > > I do that too :-) > >> I have the following rsyncd.conf file: >> >> >> read only = true >> transfer logging = true >> pid file = /var/run/rsyncd.pid >> log file = /var/log/rsyncd.log >> dont compress = * > > Mine logs ok and looks like this: > > motd file = /etc/rsyncd.motd > log file = /var/log/rsyncd.log > transfer logging = yes > > This is on centos-5.0.i386Strange; is SELinux enabled on your system? Mogens -- Mogens Kjaer, Carlsberg A/S, Computer Department Gamle Carlsberg Vej 10, DK-2500 Valby, Denmark Phone: +45 33 27 53 25, Fax: +45 33 27 47 08 Email: mk at crc.dk Homepage: http://www.crc.dk
Peter Kjellstrom wrote:> On Thursday 19 July 2007, Mogens Kjaer wrote: >> I run a CentOS/Fedora mirror with rsync access. > > I do that too :-) > >> I have the following rsyncd.conf file: >> >> >> read only = true >> transfer logging = true >> pid file = /var/run/rsyncd.pid >> log file = /var/log/rsyncd.log >> dont compress = * > > Mine logs ok and looks like this: > > motd file = /etc/rsyncd.motd > log file = /var/log/rsyncd.log > transfer logging = yes > > This is on centos-5.0.i386If rsync is started manually like rsync --daemon it works, if it is started from xinetd, it doesn't work. Strange. Mogens -- Mogens Kjaer, Carlsberg A/S, Computer Department Gamle Carlsberg Vej 10, DK-2500 Valby, Denmark Phone: +45 33 27 53 25, Fax: +45 33 27 47 08 Email: mk at crc.dk Homepage: http://www.crc.dk