BackupPC-users

Re: [BackupPC-users] Backing up the server computer

2017-07-12 10:23:00
Subject: Re: [BackupPC-users] Backing up the server computer
From: Michael Stowe <mstowe AT chicago.us.mensa DOT org>
To: bobkatz AT dugido DOT com, "General list for user discussion, questions and support" <backuppc-users AT lists.sourceforge DOT net>
Date: Wed, 12 Jul 2017 14:21:39 +0000 (UTC)

On 2017-07-12 08:57, Bob Katz wrote:

Hi, guys. To review:

I'm Trying to back up the server computer using method rsyncd. The backup fails.

I'm on Fedora 26. Yes, I know it's in beta.

Maybe this rsyncd log entry will help:

2017/07/12 05:08:52 [13623] rsyncd version 3.1.2 starting, listening on port 873 2017/07/12 05:08:52 [13623] bind() failed: Permission denied (address- family 2) 2017/07/12 05:08:52 [13623] bind() failed: Permission denied (address- family 10) 2017/07/12 05:08:52 [13623] unable to bind any inbound sockets on port 873 2017/07/12 05:08:52 [13623] rsync error: error in socket IO (code 10) at socket. c(555) [Receiver=3.1.2] 2017/07/12 05:09:42 [13652] connect from localhost (::1) 2017/07/12 05:09:42 [13652] rsync denied on module Backup-Data-Folder from local host (::1) [bobkatz@localhost log]$

Backuppc is configured to use user backuppc with password “password” secrets file has just this entry: backuppc:password I manually run sudo rsync --daemon and there is no “response” in terminal. I take it to mean the daemon launched with no problem.

Making the PID has been problematic. There is no PID file being created and I haven't conquered the issue. Not sure if this is the cause of the problem but anyway I don't even know how to stop the daemon as the only command I've found to stop the daemon incorporates the nonexistent PID file.

Any thoughts, please? Thanks!

First, the log is telling you that rsyncd won't launch because it can't access the port. Probably because rsyncd has already bound to the port. This would (of course) explain why creating a [new] PID is problematic, because rsyncd is already running. You may want to clean out old rsyncs through judicious use of “ps ax | grep rsync” and killing the processes you find.

“rsync denied” is telling you that permissions are wrong; note that rsyncd usually defaults to uid and gid of -2 when transferring files, so it could be as simple as that, if you've neglected to specify alternative uid and gid's in your rsyncd.conf.

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
BackupPC-users mailing list
BackupPC-users AT lists.sourceforge DOT net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/

ADSM.ORG Privacy and Data Security by KimLaw, PLLC