[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [coldsync-hackers] Netsync setup
Yeah, I cooked up the netcat thing after banging my head against it for
awhile too. I'm suspicious that it's some kind of a race condition in the
inetd/coldsync interaction, but don't know enough to track it down or prove
it (at least quickly!). Anyway, if netcat binds the port, that pretty much
proves that nothing else is listening, eh?
-s.
On Fri, Dec 14, 2001 at 05:38:47PM -0500, Jeff Hoover wrote:
> Nothing should be listening on those ports. Oh well. I also tried the
> setup on a RH 6.2 machine and got the same results. After banging my head
> for a while I tried the netcat and it worked.
>
> Thanks for all the suggestions. Now I have to work on a script to sync the
> addressbook with MySQL. Looks like Nir Yeffet has done a most of the work
> on the PHPGroupWare sync script already. Should be fun ; )
>
> -- Jeff
>
> At 01:44 PM 12/14/2001, you wrote:
> >FWIW, this is the problem I was having when running under inetd. Thus the
> >"netcat" line I sent the other week:
> >
> > nc -l 14237 | /usr/local/bin/coldsync -t net -md -
> >
> >-s.
> >
> >On Fri, Dec 14, 2001 at 12:39:22PM -0500, Andrew Arensburger wrote:
> > > On Fri, Dec 14, 2001 at 09:06:41AM -0500, Jeff Hoover wrote:
> > > > bind: Address already in use
> > > > recvfrom() returned -1
> > > > recvfrom: Bad file descriptor
> > > >
> > > > The last 2 lines keep repeating over and over again until I kill the
> > process.
> > >
> > > This means that ColdSync can't bind() to either the
> > > "hotsync-wakeup" or "hotsync" port (14237 and 14238, respectively).
> > > Make sure you don't already have something listening on those ports.
> > >
> > > --
> > > Andrew Arensburger This message *does* represent the
> > > arensb@ooblick.com views of ooblick.com
> > > Time stands still! Film at 11:00, or whenever.
> > > This message was sent through the coldsync-hackers mailing list. To remove
> > > yourself from this mailing list, send a message to majordomo@thedotin.net
> > > with the words "unsubscribe coldsync-hackers" in the message body. For
> > more
> > > information on Coldsync, send mail to coldsync-hackers-owner@thedotin.net.
> > >
> >
> >--
> >Scott Hepler
> >System Administration and Security
> >Web Development
> >(802) 457-3796
> >This message was sent through the coldsync-hackers mailing list. To remove
> >yourself from this mailing list, send a message to majordomo@thedotin.net
> >with the words "unsubscribe coldsync-hackers" in the message body. For more
> >information on Coldsync, send mail to coldsync-hackers-owner@thedotin.net.
>
> This message was sent through the coldsync-hackers mailing list. To remove
> yourself from this mailing list, send a message to majordomo@thedotin.net
> with the words "unsubscribe coldsync-hackers" in the message body. For more
> information on Coldsync, send mail to coldsync-hackers-owner@thedotin.net.
>
--
Scott Hepler
System Administration and Security
Web Development
(802) 457-3796
This message was sent through the coldsync-hackers mailing list. To remove
yourself from this mailing list, send a message to majordomo@thedotin.net
with the words "unsubscribe coldsync-hackers" in the message body. For more
information on Coldsync, send mail to coldsync-hackers-owner@thedotin.net.