[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [coldsync-hackers] Problem with coldsync-2.1.3 in daemon mode
On Tue, Jul 31, 2001 at 11:53:34AM +0200, Sebastian Pickerodt wrote:
> I have got a little problem with coldsync-2.1.3 in deamon mode.
> I included it in the /etc/inittab file as described in the doc.
> Everything works fine (indeed, very fine, great software :-) for the
> first time I am syncing after startup of the deamon (usually after
> boot). However, a second sync is not accepted any more. After killing
> the daemon process manually, it gets respawned by init and syncing is
> possible again exactly one time. Is it a bug, or am I doing something
> wrong?
It sounds almost as if coldsync is being run once, and when it
exits, 'init' isn't restarting it. I think your /etc/inittab should
say something like
cs:3:respawn:/usr/local/sbin/coldsync -md ...
(but think about this before you do it). The important part here is
the "respawn".
The name "daemon mode" is a little bit misleading: in daemon
mode, ColdSync accepts one connection, then exits. It needs something
else (inetd, init, getty, whatever) to restart it for the next
connection.
--
Andrew Arensburger This message *does* represent the
arensb@ooblick.com views of ooblick.com
All taglines are currently busy. Please try again later.
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.