Rahul Chopra wrote:
I had a question about using the –daemon option.
If I start mserver5 with –daemon=yes, it seems to stop:
./mserver5 --dbinit="include sql;" --dbname=db1 --daemon=yes & [1] 10038 [monetdb@localhost bin]$ # MonetDB server v5.2.0, based on kernel v1.20.0 # Serving database 'db1' # Compiled for x86_64-redhat-linux-gnu/64bit with 64bit OIDs dynamically linked # Copyright (c) 1993-2007 CWI, all rights reserved # Visit http://monetdb.cwi.nl/ for further information #warning: please don't forget to set your vault key! #(see /home/monetdb/MonetDB/etc/monetdb5.conf) # Listening for connection requests on mapi:monetdb://127.0.0.1:50000/ # MonetDB/SQL module v2.20.0 loaded
[1]+ Stopped ./mserver5 --dbinit="include sql;" --dbname=db1 --daemon=yes
If I leave off “&”, I still get a “>” prompt and can interact with it.
I also tried nohup. I am not sure what I need to do to get the server running in the background and keep it running without it being in the foreground.... nohup mserver5 --set monet_daemon=yes &
If you do like this it will work in background... Regards, Romulo
= nantucket vacation in Nantucket, MA Sanford Real Estate provides professional real estate services in Nantucket, Massachusetts. Visit us today for home buying, selling, rentals and more. Customer satisfaction is our priority. http://a8-asy.a8ww.net/a8-ads/adftrclick?redirectid=751b4f3b7386a2440fa9cc8a...