LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] Strange rsync issues

[ILUG] Strange rsync issues

Brian O'Mahony brian.omahony at curamsoftware.com
Mon Jan 25 11:49:12 GMT 2010


Andrew

There is nothing in either hosts.allow or hosts.deny on either server. They are both using the same nameserver (in dublin). Here is a little more information for clarity.

The server in BLR is pulling data from the server in dublin. It is synching 8 different folders at about 1am Irish time. The first rsynch fails, and the further seven complete.I added the first rsynch to the crontab again about 8 mins later, and it DOES complete, even though the first one still fails. Also this has been running for at least four years without problems. I only picked up on the errors in the last few weeks, but when i checked the date on the rsynchs i was probably a day or two behind.

Hope that is more information to go on.

I will try your ideas later today.

B

________________________________________
From: Andrew McGill [list2009 at lunch.za.net]
Sent: 22 January 2010 21:30
To: ilug at linux.ie
Cc: Brian O'Mahony
Subject: Re: [ILUG] Strange rsync issues

---
> Anyone have any ideas?
I'll bet the receiving server is doing a tcpwrappers check.  I'll guess your
hosts.deny says to be unfriendly, and /etc/hosts.allow says:

        sshd: server.bangalore.in

When you connect from bangalore, tcpwrappers does the rough equivalent of:
     dig -x 88.88.88.88  (which hopefully says server.bangalore.in)
     dig server.bangalore.in (which hopefully says 88.88.88.88)

One of these DNS requests is probably failing.  When the DNS lookup is
retried, the cached results from the first previous query allow the lookup to
complete.  The problem may be with the DNS registration itself -- some of the
NS servers in the chain may fail to respond (squish.net has a nice checker).
You  may also have a poor or incorrect nameserver configured in resolv.conf.

You can use an IP address in hosts.allow, check your DNS server, create a
/etc/hosts entry :) or hack it by making a connection to almost any port that
will trigger a reverse DNS check.

>
> B
&:-)


The information in this email is confidential and may be legally privileged.
It is intended solely for the addressee. Access to this email by anyone else
is unauthorized. If you are not the intended recipient, any disclosure,
copying, distribution or any action taken or omitted to be taken in reliance
on it, is prohibited and may be unlawful. If you are not the intended
addressee please contact the sender and dispose of this e-mail. Thank you.



More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell