search for: do_daemon

Displaying 6 results from an estimated 6 matches for "do_daemon".

Did you mean: am_daemon
2013 Nov 22
4
[PATCH 0/2] libxl/xl: two more coverity related fixes
The first patch is a leftover from the switch to libxl__create_qemu_logfile, and while there it also handles possible errors when opening /dev/null. The second one is a fix for the issues present in do_daemonize. Thanks, Roger.
2009 Jul 07
1
[PATCH] Set up ovirt-agent so it starts as a daemon
...ze(host) + $logfile = '/var/log/ovirt-server/ovirt-agent.log' - ensure_credentials + def initialize() - # FIXME: Use RAILS_DEFAULT_LOGGER - @logger = Logger.new(STDERR) - @logger.level = Logger::DEBUG + ensure_credentials server, port = nil sleepy = 5 + + do_daemon = true + + opts = OptionParser.new do |opts| + opts.on("-h", "--help", "Print help message") do + puts opts + exit + end + opts.on("-n", "--nodaemon", "Run interactively (useful for debugging)") do |n| +...
2009 May 28
0
[PATCH server] Use qpid for migration and add more debugging to taskomatic.
...+-------- 1 files changed, 28 insertions(+), 8 deletions(-) diff --git a/src/task-omatic/taskomatic.rb b/src/task-omatic/taskomatic.rb index 22c3599..da933bf 100755 --- a/src/task-omatic/taskomatic.rb +++ b/src/task-omatic/taskomatic.rb @@ -60,6 +60,7 @@ class TaskOmatic @nth_host = 0 do_daemon = true + do_debug = false opts = OptionParser.new do |opts| opts.on("-h", "--help", "Print help message") do @@ -69,6 +70,9 @@ class TaskOmatic opts.on("-n", "--nodaemon", "Run interactively (useful for debugging)")...
2009 May 19
2
[PATCH server] added ovirt vnc proxy server, to proxy vnc request to managed vms
...def format_message(severity, timestamp, progname, msg) + "#{severity} #{timestamp} (#{$$}) #{msg}\n" + end +end + +$logfile = '/var/log/ovirt-server/vnc-proxy.log' + +########### + + +class VncProxy + + # initialize vnc proxy + def initialize() + super() + do_daemon = true + port = DEFAULT_VNC_PROXY_PORT + + opts = OptionParser.new do |opts| + opts.on("-h", "--help", "Print help message") do + puts opts + exit + end + opts.on("-n", "--nodae...
2015 May 10
2
Bug#784880: xen-utils-4.4: xl segv when it can't rename log files
Package: xen-utils-4.4 Version: 4.4.1-9 Severity: normal # /usr/lib/xen-4.4/bin/xl create -c /etc/xen/katana Parsing config from /etc/xen/katana libxl: error: libxl_utils.c:217:logrename: failed to rotate logfile - could not rename /var/log/xen/qemu-dm-katana.log.6 to /var/log/xen/qemu-dm-katana.log.7: Permission denied Segmentation fault The above happens repeatably when I run xl on a system
2009 Nov 04
4
[PATCH server] Update daemons to use new QMF.
...stable rescue Exception => ex @logger.error "Error in hostregister: #{ex}" @@ -101,6 +114,7 @@ class HostRegister < Qpid::Qmf::Console end end + ###### Utility Methods ###### def debugputs(msg) puts msg if @debug == true and @do_daemon == false end @@ -116,20 +130,66 @@ class HostRegister < Qpid::Qmf::Console end end - def broker_connected(broker) - @logger.info 'Connected to broker.' + ###### QMF Callbacks ###### + def agent_heartbeat(agent, timestamp) + return if agent == n...