From: Ledion B. <lbi...@sp...> - 2011-03-08 18:25:30
|
Hmm, interesting! I don't get that - what OS/shell are you using? Can you give this a shot? #!/bin/sh BIN_DIR=$(cd `dirname $0`; pwd) . $BIN_DIR/defineFarragoRuntime.sh # 1. close stdin - LucidDbServer will interpet it as "run in daemon mode" # 2. run LucidDbServer in the background thus making it a real daemon ${JAVA_EXEC} ${JAVA_ARGS} org.luciddb.session.LucidDbServer < /dev/null & Basically, all we need to do to get LucidDbServer in daemon mode is close stdin --- Ledion Bitincka le...@sp... | Director of Engineering, Southern California Regional Operations Splunk > Get your IT together ________________________________________ From: John Sichi [js...@gm...] Sent: Monday, March 07, 2011 11:05 PM To: Mailing list for users of LucidDB Cc: ledion Subject: Re: [luciddb-users] LucidDb as a service(needs Wikifying) Gotta love command lines that look like chat full of emoticons. I gave it a try, and it works, but if I don't exit the shell fast enough, I get all kinds of "Unknown server command: <junk binary characters" spewing out on console. JVS On Sat, Mar 5, 2011 at 11:17 PM, ledion <le...@sp...> wrote: > Here is a simpler way to run luciddb as a daemon. > > (1) create a script called $LUCIDDB_HOME/bin/lucidDbServerDaemon with the > following content: > > #!/bin/sh > > BIN_DIR=$(cd `dirname $0`; pwd) > . $BIN_DIR/defineFarragoRuntime.sh > > > # 1. close stdin - LucidDbServer it will interpet it as "run in daemon mode" > # 2. run LucidDbServer in the background thus making it a real daemon > ${JAVA_EXEC} ${JAVA_ARGS} org.luciddb.session.LucidDbServer 0<&-, <&- & > > > (2) start the server in daemon mode as follows: > $LUCIDDB_HOME/bin/lucidDbServerDaemon > > (3) to stop luciddb server run: kill > > -- > View this message in context: http://luciddb-users.1374590.n2.nabble.com/PG-MySQL-protocol-support-tp4180819p6093725.html > Sent from the luciddb-users mailing list archive at Nabble.com. > > ------------------------------------------------------------------------------ > What You Don't Know About Data Connectivity CAN Hurt You > This paper provides an overview of data connectivity, details > its effect on application quality, and explores various alternative > solutions. http://p.sf.net/sfu/progress-d2d > _______________________________________________ > luciddb-users mailing list > luc...@li... > https://lists.sourceforge.net/lists/listinfo/luciddb-users > |