[Csync2] "Can't set TCP_NODELAY on TCP socket."

Lars Ellenberg lars.ellenberg at linbit.com
Mon Sep 5 14:40:36 CEST 2011


On Fri, Sep 02, 2011 at 09:54:08PM +0200, Jakob Nyström wrote:
> Hello!
> 
> First of all, thank you for saving the day with this brilliant piece of
> software.
> 
> It is working like a charm for me, how ever, I am not able to get it to run
> under xinet.d
> in CentOS 5.6. I get the following message:
> 
> "Can't set TCP_NODELAY on TCP socket." when running csync2 -iv from the
> shell/console
> and it doesnt start up on boot when running it from xinetd.d (ive tried LOTS
> of configs)
> 
> It works just fine when I run csync2 -ii from the shell
> 
> Now, I´m no linux jedi, but I did figure out as much that the xinetd config
> file has a setting
> for NODELAY, but I don´t get it to work properly, both when adding a csync2
> service
> or when addding nodelay to the master config (for testing it)
> 
> Could anyone of you PLEASE share a working xinetd.conf file csync2 setting
> with me because
> I´m at my wits end right now with this and I would love to run it like
> this...


And your csync2 version is?

BTW, don't use any -v when running under inetd,
it may even be the reason for the breakage.


-- 
: Lars Ellenberg
: LINBIT | Your Way to High Availability
: DRBD/HA support and consulting http://www.linbit.com


More information about the Csync2 mailing list