Unoffical empeg BBS

Quick Links: Empeg FAQ | RioCar.Org | Hijack | BigDisk Builder | jEmplode | emphatic
Repairs: Repairs

Topic Options
#100591 - 20/06/2002 19:36 Rsync - bind failed on port 873
Chuck
member

Registered: 06/06/2001
Posts: 183
How come every time I try to start Rsync as a daemon I get a 'bind failed on port 873' in the log file?

Thanks,
-Chuck

Top
#100592 - 21/06/2002 01:42 Re: Rsync - bind failed on port 873 [Re: Chuck]
Roger
carpal tunnel

Registered: 18/01/2000
Posts: 5683
Loc: London, UK
Is this on your empeg? If not, try netstat -a -t -p | grep 873 as root to see which process has the port open.

Otherwise, you might need to set up your /etc/hosts file correctly -- it's likely that rsync is attempting to look up the wrong host name.
_________________________
-- roger

Top
#100593 - 21/06/2002 06:04 Re: Rsync - bind failed on port 873 [Re: Roger]
Chuck
member

Registered: 06/06/2001
Posts: 183
Yep, it's on my empeg. I'm trying to sync two of them with Rsync.

The hosts file contains:

127.0.0.1 localhost
192.168.0.6 empeg1 empeg1.mydomain.com (none)
192.168.0.7 empeg2 empeg2.mydomain.com (none)

I do a 'hostname -F hosts' on empeg1, then a 'rsync --daemon' on empeg1, which is when I get the bind failed. Did I miss a step or do I have something configured wrong?

Top
#100594 - 21/06/2002 09:52 Re: Rsync - bind failed on port 873 [Re: Chuck]
pim
addict

Registered: 14/11/2000
Posts: 474
Loc: The Hague, the Netherlands
Maybe you have installed (x)inetd on your Empeg and have this listening to the rsync port.

BTW, is there a working, preferably lightweight inetd for the Empeg, anyone?

Top
#100595 - 21/06/2002 10:22 Re: Rsync - bind failed on port 873 [Re: pim]
Chuck
member

Registered: 06/06/2001
Posts: 183
Nope, it's a fairly bare bones empeg except for hijack, netcat, rsync and hostname. Thanks for the suggestion though. I'm still working on trying to figure it out, but it's getting a bit frustrating.

Top
#100596 - 24/06/2002 03:22 Re: Rsync - bind failed on port 873 [Re: Chuck]
Roger
carpal tunnel

Registered: 18/01/2000
Posts: 5683
Loc: London, UK
Try a different port number, perhaps?
_________________________
-- roger

Top
#100597 - 28/06/2002 11:58 Re: Rsync - bind failed on port 873 [Re: Chuck]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14496
Loc: Canada
Using the raw IP address, right?

Top
#100598 - 02/07/2002 03:28 Re: Rsync - bind failed on port 873 [Re: Chuck]
Roger
carpal tunnel

Registered: 18/01/2000
Posts: 5683
Loc: London, UK
Maybe you already ran rsync? I can't remember whether it exits when you restart the player.
_________________________
-- roger

Top
#100599 - 02/07/2002 18:21 Re: Rsync - bind failed on port 873 [Re: Roger]
Chuck
member

Registered: 06/06/2001
Posts: 183
I've tried many a different port number without any luck. I've finally given up and use WS_FTP Synch to synch the Empegs with local directories on my Windows box.

Top
#100600 - 02/07/2002 18:25 Re: Rsync - bind failed on port 873 [Re: mlord]
Chuck
member

Registered: 06/06/2001
Posts: 183
I couldn't tell you exactly right now, but I am sure I tried the raw IP address without any luck. Is that a no-no with rsync?

At the moment I'm using a FTP sync util with the Hi-Jack FTP server to keep the Empegs sync. Many thanks for your FTP server.

Top
#100601 - 02/07/2002 18:28 Re: Rsync - bind failed on port 873 [Re: Roger]
Chuck
member

Registered: 06/06/2001
Posts: 183
I had run it multiple times, but there was "usually" an exit message in the rsync log. I might have to give this another look-see.

Top
#100602 - 03/07/2002 07:32 Re: Rsync - bind failed on port 873 [Re: Chuck]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14496
Loc: Canada
I was just checking for the obvious.. IF not using a raw ip address, then it probably wouldn't have a hope of working, since the Empeg is probably not set up to do name translation (no name server configured).

So, yes, use a raw ip address rather than a hostname.

Cheers

Top
#100603 - 03/07/2002 09:25 Re: Rsync - bind failed on port 873 [Re: mlord]
Roger
carpal tunnel

Registered: 18/01/2000
Posts: 5683
Loc: London, UK
Yeah, that's a fair point -- I don't think that my rsync instructions require a nameserver, but my empeg is configured to use one, so I would probably not have noticed.
_________________________
-- roger

Top
#100604 - 03/07/2002 09:28 Re: Rsync - bind failed on port 873 [Re: pim]
Roger
carpal tunnel

Registered: 18/01/2000
Posts: 5683
Loc: London, UK
BTW, is there a working, preferably lightweight inetd for the Empeg, anyone?

There might be, but you might find that tcpserver does what you need. In some ways, it's better than inetd, anyway.
_________________________
-- roger

Top