Bugs item #2171063, was opened at 2008-10-16 11:26 Message generated for change (Comment added) made by mr-meltdown 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: Closed Resolution: Fixed Priority: 5 Private: No Submitted By: Stefan de Konink (skinkie) Assigned to: Sjoerd Mullender (sjoerd) 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: Fabian (mr-meltdown) Date: 2008-10-20 12:26 Message: The feature is just misnamed, I think you'll have to live with an mserver that cannot properly be daemonised. ---------------------------------------------------------------------- Comment By: Stefan de Konink (skinkie) Date: 2008-10-20 12:23 Message: So the fix is to just changing documentation, instead of picking it up as a bug in the code? Ignorance is bliss. Maybe you can add the feature request yourself, since your feature request will obviously result in something you know how to describe or was it just out of frustration that you[1] changed the strings instead of fixing the actual feature described by it? [1] http://monetdb.cvs.sourceforge.net/viewvc/monetdb/MonetDB5/src/tools/mserver5.mx?r1=1.51&r2=1.52 ---------------------------------------------------------------------- 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
