LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-23-2005, 11:08 AM   #1
hamish
Member
 
Registered: Aug 2003
Location: Edinburgh
Distribution: Server: Gentoo2004; Desktop: Ubuntu
Posts: 720

Rep: Reputation: 30
rsyncd: stopped logging properly


Hello
I have a number of friends and family who backup their data on my server using Rsync.

Recently, rsync has stopped logging all but one of the users properly.

I run rsync as a daemon, i think. Well I started rsyncd using /etc/init.d/rsyncd , which should start it as a daemon. Thus, when people connect to my server to rsync their data, my server starts the rsync server for them.

It used to log everyone like this (which is what I want it to do) in /var/log/messages:

Code:
Jan 21 23:18:28 pi sshd[8932]: Accepted publickey for parents from XX.XX.XX.XX port 3735 ssh2
Jan 21 23:18:28 pi [8935]: running: /usr/bin/rsync --server -vlogDtprz . /home/parents/dad/ (username: parents(1017), IP/port: XX.XX.XX.XX3735 22)
this user still gets logged like this, but all my other users only get this logged:
Code:
Jan 23 14:25:04 pi sshd[4892]: Accepted publickey for christine from XX.XX.XX.XX port 3274 ssh2
In my rsyncd.log file, nothing is getting logged recently, there is no log entry corresponding to that user logging into the system.

However, the users rsyncing is working fine, but nothing is being logged.

here is my rsyncd.conf:
Code:
pid file = /var/run/rsyncd.pid

gid = nobody
uid = nobody

write only = true
use chroot = true
dont compress = *.gz *.tgz *.zip *.z *.rpm *.deb *.iso *.bz2 *.tbz

transfer logging = yes
log file = /var/log/rsync.log
log format = %t %p %o %h %a %m (%u) %f %l %b
I'm just confused that one user still gets logged fine, but everyone else doesn't.

Can anyone give me any suggestions? Does anyone else have similar problems?

thanks
hamish
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Ubuntu Updates have stopped all Linux distros installing or working properly! HELP!! blastradius Linux - Hardware 2 07-06-2005 03:35 PM
pkgtool stopped working properly hubabuba Slackware 4 04-05-2005 02:15 PM
Where is rsyncd.conf klemen Slackware 2 03-08-2005 09:14 AM
rsyncd bind to a interface Greenpie Linux - Networking 1 10-22-2004 07:34 AM
logging stopped! Mux Linux - General 5 10-13-2002 07:28 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:46 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration