BackupPC to Windows client; connection timed out/refused
Linux - SoftwareThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
BackupPC to Windows client; connection timed out/refused
Hi all!
I recently adopted a network from an abusive administrator. They are using BackupPC (on Debian Squeeze) to backup several Windows7 & SBS 2011 servers. Backups from Linux server have gone off without a hitch after the config was "repaired".
Backups from the Windows machines are failing with:
inet connect: connection timed out
After attempting to configure the firewall to let rsync on windows through (added rsync.exe & cygunsrv.exe to allowed programs) I get the same error. After turning Windows firewall off completely, I get the error:
inet connect: connection refused
I'm stumped. I have gone over every config on BackupPC, as well as uninstalling and reinstalling cygwin-rsync on the Windows machines. The machine I am working on in particular (in the hopes I can find a fix for all of them here) is named "cad" at 192.168.0.58, with the backup server "backup" at 192.168.0.2
Anybody got any ideas on what I'm doing wrong? I would love to move them to Bacula, but being their new admin, I need to get their old crap up and running... and when they see the bill for it, I'm sure they will decide on a new solution!
Anyways, thanks all for letting me vent my frustrations, and for being willing to dig through conf files with me. Cheers to you!
Found out it was the data cable playing up so I swapped the cable for a new one, it is working better than before now.
You might need to look at your cabling and see if they are starting to go bad. You can get a device to check the cables (a bit faster than pulling and replacing the cables) to see if they are OK or not.
I actually tested the cables yesterday, they appear to be all good... so says my handy-dandy cable-tester. Thanks for the idea, though!
Here's my plan of attack:
1. Layer 1 - Physical Cabling
2. Layer 2 - Switching
3. Layer 3 - IP Addressing
4. Layer 4 - Ports
5. Services Active?
6. Confs setup correctly?
7. Perform small test backup. If passed, then continue toward resolution.
8. If failed, what caused it to fail? Check event logs.
#1-5 appear to be functioning properly. Data is being communicated, so 1 & 2 should be good. IP & DNS appears to be good. Port is set to 873, the default port. The service appears to be active on the server side (since I can make linux server full/incremental backups), but I don't know how to test the Windows client-side.
Even a small test backup has failed with basically the same errors. I tried look at a packet capture at the router, but I didn't find anything that seemed to point to a problem (and there are no filters, so it's a lot of data!). I don't really know how to troubleshoot rsync further!
Obviously, my hope is to check #6 on that list... maybe the confs are wrong and I'm just not seeing it.
Anyways, thanks much for the reply! Have a nice one, buddy!
Admittedly, I also don't know what other logs to check... any ideas on what I could look at? Here is the host's log (LOG) on the server as I start the process:
full backup started for directory c-drive (baseline backup #41)
Got fatal error during xfer (inet connect:connection timed out)
Backup aborted (inet connection:connection timed out)
And here is the xfer log (XferLOG.bad.z):
full backup started for directory c-drive (baseline backup #41)
Error connecting to rsync daemon at CAD:873: inet connect: Connection timed out
Got fatal error during xfer (inet connect: Connection timed out)
Backup aborted (inet connect: Connection timed out)
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.