Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

rsync: Syslog contains error --> bind failed on port 873.

Status
Not open for further replies.

salimwng

IS-IT--Management
Mar 11, 2002
134
MU
Platform: SCO Unix Sys/V-Rel 3.2.4.2

Unix Machine 1 = Unix486.AWDOM = IP Address 10.0.0.10
Unix Machine 2 = DemoUnix.AWDOM= IP Address 10.0.0.3
Aim: To copy Data files from Machine 1 to Machine 2 through rsync.

Hello guys,

I have been able to setup the rcp command to run successfully on my system, through your help.

Now i am trying to have rsync installed as it has got many features more than rcp. However i am getting the error message in syslog file. Error is :DemoUnix rsync[2347]: bind failed on Port 873.

I have performed the following;

1. add rsync [TAB] 873/tcp in /etc/services.
2. add rsync [TAB] stream [TAB]tcp [TAB] nowait [TAB] root [TAB] /usr/bin/rsync rsyncd --daemon.
3. Rebooted the machine ( root> init 6 )

Then i edited a new file, called /etc/rsyncd.conf, in which the following is present;

motd file = /etc/motd
max connections = 2
syslog facility = local3

[ftp]
comment = ftp area
path = /u/peg
read only = no
list = yes
uid = nobody
gid = nobody
[tmp]
hosts allow = 10.0.0.10 10.0.0.3 Unix486.AWDOM DemoUnix.AWDOM
auth users = root
secrets file = /etc/rsyncd.secrets

4. i added a new file /etc/rsyncd.secrets which contains the user name and password.

Now, when i type the command on the Unix box 2;

root> rsync Unix486.AWDOM::/u/peg /u/bak

NOTE: It is to be noted that /u/peg contains all data files ( directories and sub directories ) which i want to copy to the second Unix box ( Machine 2 ) in folder /u/bak

I get the motd content of Machine 1, and the root prompt appears. When i check at the /u/bak folder, no files has been copied there. When i check at the syslog, i notice the error message " DemoUnix rsyncd[2347]: bind failed on port 873".

What could be missing in above ? No files are being copied ?

Thanks for your feedback,
Regards.
Salim

PS: Unix Machine 2 has been setup as redundant system only, the reason why i want to copy data files overthere as precautions. { sometimes tapes are not reliable }
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top