[Csync2] csync2 init.d script

Lars Ellenberg lars.ellenberg at linbit.com
Sun Dec 2 14:07:19 CET 2007


On Sat, Dec 01, 2007 at 09:44:54AM +0000, Marcus Bointon wrote:
> On 1 Dec 2007, at 00:43, Michael Mansour wrote:
> 
> >I've been running csync2 for many years and have only ever used it  
> >by cron'ing
> >the "csync2 -x blah".
> 
> 
> Yes, that's all you need to do on each node, but they need to talk to  
> something at the other end. With inetd/xinetd, the daemon is fired up  
> on demand as a new connection comes in (probably what you're using, as  
> it's what the docs suggest), but that's not working for me, so I fix  
> that by running the daemon explicitly, and control it from init.d  
> using this script.

maybe, just maybe...
does your inetd know about the csync2 port?
 # grep csync2 /etc/services
 # /etc/init.d/inetd restart
 # netstat -tnlp
ever looked int the logs of inetd?

-- 
: Lars Ellenberg                            Tel +43-1-8178292-55 :
: LINBIT Information Technologies GmbH      Fax +43-1-8178292-82 :
: Vivenotgasse 48, A-1120 Vienna/Europe    http://www.linbit.com :


More information about the Csync2 mailing list