|
@@ -490,7 +490,7 @@ class Init:
|
|
|
self.log_starting("b10-msgq")
|
|
|
msgq_proc = self._make_process_info("b10-msgq", ["b10-msgq"],
|
|
|
self.c_channel_env,
|
|
|
- True, not self.verbose)
|
|
|
+ not self.verbose, not self.verbose)
|
|
|
msgq_proc.spawn()
|
|
|
self.log_started(msgq_proc.pid)
|
|
|
|
|
@@ -741,8 +741,12 @@ class Init:
|
|
|
try:
|
|
|
self.cc_session = isc.cc.Session(self.msgq_socket_file)
|
|
|
logger.fatal(BIND10_MSGQ_ALREADY_RUNNING)
|
|
|
- return "b10-msgq already running, or socket file not cleaned , " +\
|
|
|
- "cannot start"
|
|
|
+ if self.msgq_socket_file is not None:
|
|
|
+ socket_name = "socket file '" + self.msg_socket_file + "'"
|
|
|
+ else:
|
|
|
+ socket_name = "default socket file"
|
|
|
+ return "b10-msgq already running, or " + socket_name +\
|
|
|
+ " not cleaned - cannot start"
|
|
|
except isc.cc.session.SessionError:
|
|
|
# this is the case we want, where the msgq is not running
|
|
|
pass
|