Subject | replication server does not work in daemon mode |
---|---|
Author | fvbetteraey <fvbetteraey@web.de> |
Post date | 2003-02-11T10:41:32Z |
Hi,
I try to use the replication-Server on Linux an firebird 1.0. I just
want to start the server, do one replication and than stop the server.
When I use the command
$IBPATH/replserver -u SYSDBA -p masterkey -m window
/opt/interbase/db/REPL/REPL_CONF.GDB
the server start's and I can fire the "REPLNOW" event from the
Config-DB by executing next sql-Script via isql
/* DB Connect */
CONNECT '/opt/interbase/db/REPL/REPL_CONF.GDB' USER 'SYSDBA' PASSWORD
'masterkey';
/* start REPLICATION */
EXECUTE PROCEDURE NOTIFYSERVER (2);
/* stop REPLICATION-Server */
EXECUTE PROCEDURE NOTIFYSERVER (4);
So this works fine, but nothing happens when I use replserver in
daemon mode
$IBPATH/replserver -u SYSDBA -p masterkey -m
daemon/opt/interbase/db/REPL/REPL_CONF.GDB
The server just starts but does not respond to any event. I have to
kill the server process to stop it.
Does anyone has an idea how to get replserver work as a daemon? I do
not want to use the windows tools (e.g. scheduler). The replication
should be only done by a Linux-Server!
Thank's in advance.
Best regards
Franz van Betteraey
I try to use the replication-Server on Linux an firebird 1.0. I just
want to start the server, do one replication and than stop the server.
When I use the command
$IBPATH/replserver -u SYSDBA -p masterkey -m window
/opt/interbase/db/REPL/REPL_CONF.GDB
the server start's and I can fire the "REPLNOW" event from the
Config-DB by executing next sql-Script via isql
/* DB Connect */
CONNECT '/opt/interbase/db/REPL/REPL_CONF.GDB' USER 'SYSDBA' PASSWORD
'masterkey';
/* start REPLICATION */
EXECUTE PROCEDURE NOTIFYSERVER (2);
/* stop REPLICATION-Server */
EXECUTE PROCEDURE NOTIFYSERVER (4);
So this works fine, but nothing happens when I use replserver in
daemon mode
$IBPATH/replserver -u SYSDBA -p masterkey -m
daemon/opt/interbase/db/REPL/REPL_CONF.GDB
The server just starts but does not respond to any event. I have to
kill the server process to stop it.
Does anyone has an idea how to get replserver work as a daemon? I do
not want to use the windows tools (e.g. scheduler). The replication
should be only done by a Linux-Server!
Thank's in advance.
Best regards
Franz van Betteraey