issues with password-file

2006-03-31 Thread Larry Hotchkiss
I have rsync daemon running on a fedora core 4 box that I am trying to use as a backup server for my web sites. I dont have shell access on my web host so will need to run a cron job to do the backups, which is what I want to do anyway. For testing purposes however I am using a php script usin

Re: Can rsync handle any type of file?

2006-03-31 Thread srtt.be - Michel Lombart
Title: RE: Can rsync handle any type of file? Hello all, I'm new on this list and sorry in advance for my english. I wonder to know why rsync would corrupts a file ? Is there a reason making that possible ? After all, all files are just a group of bytes. Best regards. Michel Alex Pedenko

RE: Can rsync handle any type of file?

2006-03-31 Thread Alex Pedenko
Title: RE: Can rsync handle any type of file? The way the algorithm works, the answer to 1 is yes. i haven't used it enough to answer 2. From: Hamish Robertson [mailto:[EMAIL PROTECTED]Sent: Fri 3/31/2006 3:40 PMTo: Alex Pedenko; Robertson Technologies Ltd; rsync@lists.samba.orgSubject:

RE: Can rsync handle any type of file?

2006-03-31 Thread Hamish Robertson
In technical terms, is rsync capable of dealing with backing up any type of file then? In practical terms, has anyone had any corruption problems when backing up files? Thanks Hamish Alex Pedenko ([EMAIL PROTECTED]) wrote: > > we use rsync to move encrypted files with no problems. i would say tha

Re: Versioning in rsync

2006-03-31 Thread Matt McCutchen
On Fri, 2006-03-31 at 19:38 +0200, W wrote: > When syncing files from client to server, one would have on server, for > example, three last verisons of synced files. Rsync has a --backup option that you can use to create single backups of overwritten files on the server. Rsync won't maintain mult

Re: logging problem

2006-03-31 Thread Julian Pace Ross
OK! ... will recompile and fire-up. Thanks Wayne   On 31/03/06, Wayne Davison <[EMAIL PROTECTED]> wrote: On Fri, Mar 31, 2006 at 06:11:38PM +0200, Julian Pace Ross wrote:> What is bothering me is that I lost the ability to write in any file > other than syslog (/var/log/messages)The problem turned

Re: logging problem

2006-03-31 Thread Wayne Davison
On Fri, Mar 31, 2006 at 06:11:38PM +0200, Julian Pace Ross wrote: > What is bothering me is that I lost the ability to write in any file > other than syslog (/var/log/messages) The problem turned out to be that a new "connect ..." message was getting output in the wrong spot. The attached patch f

Re: Versioning in rsync

2006-03-31 Thread W
When syncing files from client to server, one would have on server, for example, three last verisons of synced files. On Tue, 21 Mar 2006 19:38:33 -0500, "Matt McCutchen" <[EMAIL PROTECTED]> said: > On Fri, 2006-03-17 at 15:12 +0100, W wrote: > > I've seen that there were few ideas to build versi

Re: logging problem

2006-03-31 Thread Julian Pace Ross
Yep guys thats exactly it! I'm running 2.6.7pre3. Just tried the syslog facility option and it didnt work either. I'll keep trying to get out some clues before delving into the src... Let me know if you find anything. Cheers Julian On 31/03/06, Matt McCutchen <[EMAIL PROTECTED]> wrote: On Fri, 2

Re: Rsync ignoring secrets file

2006-03-31 Thread Dennis Duggen
Hi Wayne There should be warnings in the log file about "auth user" being an unknown parameter every time someone connects to the rsync daemon (in addition to when it starts), so please do check the log file when diagnosing daemon problems. Thanks how could i not see it. I did look in the log fi

Re: logging problem

2006-03-31 Thread Matt McCutchen
On Fri, 2006-03-31 at 18:50 +0200, Julian Pace Ross wrote: > Yep I tried those two options, and nothing... > Even if the pre-user conf files have a log file in the same directory, > which I touch before trying, messages keep going to syslog... I tried > with 666 permissions on rsyncd.log too just

Re: logging problem

2006-03-31 Thread Wayne Davison
On Fri, Mar 31, 2006 at 08:56:26AM -0800, Wayne Davison wrote: > A single-use daemon can write its own logfile; it just needs write- > permissions on the file Sorry, I just noticed that 2.6.7 has a bug in this area, so I'm looking into a fix. (Should have done a confirmation test before speaking.

Re: lgging problem

2006-03-31 Thread Wayne Davison
On Fri, Mar 31, 2006 at 06:11:38PM +0200, Julian Pace Ross wrote: > What is bothering me is that I lost the ability to write in any file other > than syslog (/var/log/messages) A single-use daemon can write its own logfile; it just needs write- permissions on the file, or it will fallback on using

Re: logging problem

2006-03-31 Thread Julian Pace Ross
  Yep I tried those two options, and nothing... Even if the pre-user conf files have a log file in the same directory, which I touch before trying, messages keep going to syslog... I tried with 666 permissions on rsyncd.log too just to make sure...   The following is one of the user's conf file,

Re: Rsync ignoring secrets file

2006-03-31 Thread Wayne Davison
On Fri, Mar 31, 2006 at 02:42:19PM +0200, Dennis Duggen wrote: > auth user = dennis,test The option is "auth users", so adding an 's' should get you going. (You don't even need to restart the daemon if it's already running.) There should be warnings in the log file about "auth user" being

Re: Another 'file has vanished' incident

2006-03-31 Thread Wayne Davison
On Fri, Mar 31, 2006 at 10:59:35AM +0200, Holger Wesser wrote: > I use rsync to synchronize some SMB-Shares to an external firewire-disk. I would imagine that the root cause is the same filename-translation problem that folks are experiencing under cygwin: http://lists.samba.org/archive/rsync/200

Re: lgging problem

2006-03-31 Thread Matt McCutchen
On Fri, 2006-03-31 at 18:11 +0200, Julian Pace Ross wrote: > every user has an authorised ssh key and a *custom* rsyncd.conf (with > only his or her modules) in each home directory. > > I have tried several options, but rsync over ssh just wants to log > into syslog. > Is it possible to have a cu

Re: Help -- rsync Causing High Load Averages

2006-03-31 Thread Wayne Davison
On Tue, Mar 28, 2006 at 04:58:42PM -0800, Plugger wrote: > When it runs, however, the load averages on the content1 server > continue to grow to the 100s, bringing the server to a practical > standstill. After a day of tweaking, and killing the content1 server > periodically, I have not been able t

lgging problem

2006-03-31 Thread Julian Pace Ross
Hi,   When I have my rsync daemon running, I get all log messages in a custom format in the file /var/log/rsyncd.log. This is very convenient as I can cron a script to grep it and mail me a summary of activity every day and then create a fresh file.   I have now switched to using rsync over ssh, s

Rsync ignoring secrets file

2006-03-31 Thread Dennis Duggen
Hi list I have a strange problem. I've tried for the first time to install and use rsyncd. Rsync itself works it does everything that it should do, except ask for a password. Google and the manual wasn't helpful i just found howto's and no solution. Here is what i did: rsyncd.conf =

DO NOT REPLY [Bug 3649] New: buffer overflow in receive_file_entry

2006-03-31 Thread samba-bugs
https://bugzilla.samba.org/show_bug.cgi?id=3649 Summary: buffer overflow in receive_file_entry Product: rsync Version: 2.6.0 Platform: Other OS/Version: Linux Status: NEW Severity: normal Priority: P3 Compo

Another 'file has vanished' incident

2006-03-31 Thread Holger Wesser
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello, first, a big THANKS to everyone who is involved in developing rsync. This great tool has simplified my life so much. I use rsync to synchronize some SMB-Shares to an external firewire-disk. So I mount the shares into my filesystem (read-only),