Bugs item #2171063, was opened at 2008-10-16 11:26
Message generated for change (Comment added) made by sjoerd
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=482468&aid=2171063&group_id=56967
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Core
Group: MonetDB Common CVS Head
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Stefan de Konink (skinkie)
Assigned to: Nobody/Anonymous (nobody)
Summary: Daemon mode broken
Initial Comment:
As mentioned before there are several things broken related to the daemon mode
mentioned in the documentation.
--daemon=yes ; does not work at all, it does not remove the shell, nor does it
make mserver5 go to the background
--set monet_daemon; actually removes the shell from the operation, but still a
& is needed to make it go to the background.
The easy work around seem to use merovingian, but this would still not solve
the commandline issues.
The feature request would be to support automatic backgrounding, without
console output.
----------------------------------------------------------------------
Comment By: Sjoerd Mullender (sjoerd)
Date: 2008-10-20 10:55
Message:
The help message now says:
--daemon=yes|no Do not read commands from standard input
[no]
which is exactly what the option does.
----------------------------------------------------------------------
Comment By: Stefan de Konink (skinkie)
Date: 2008-10-16 12:47
Message:
[EMAIL PROTECTED] ~ $ /opt/cherokee/bin/mserver5 --help
Usage: /opt/cherokee/bin/mserver5 [options] [scripts]
--dbname=<database_name>
--dbfarm=<directory>
--dbinit=<stmt> Server prepare statement
--config=<config_file>
*** --daemon=yes|no run in background [no] ***
I think background is very clear, hence not disabling the input only and
keep hanging on the console.
----------------------------------------------------------------------
Comment By: Sjoerd Mullender (sjoerd)
Date: 2008-10-16 12:37
Message:
Could you please point out where in the documentation you read about daemon
mode?
Normally, Mserver and mserver5 both read commands from stdin. The daemon
flag tells the server to not do that. That's it. That is a requirement if
you want to be able to run the server as a daemon. If the documentation
says otherwise, there is a bug in the documentation. If you think that it
should do more (such as if (fork() > 0) exit(0);), it is a feature request.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=482468&aid=2171063&group_id=56967
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Monetdb-bugs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-bugs