BIND 10 #531: msgq not exiting

BIND 10 Development do-not-reply at isc.org
Mon Jan 24 20:51:29 UTC 2011


#531: msgq not exiting
------------------------------+---------------------------------
           Reporter:  jreed   |                      Owner:
               Type:  defect  |                     Status:  new
           Priority:  minor   |                  Milestone:
          Component:  msgq    |                   Keywords:
          Sensitive:  0       |  Estimated Number of Hours:  0
Add Hours to Ticket:  0       |                  Billable?:  1
        Total Hours:  0       |                  Internal?:  0
------------------------------+---------------------------------
 When cfgmgr couldn't access config file,

 {{{

  bind10 20101129 (BIND 10 20110120)
 [bind10] Checking for already running b10-msgq
 [bind10] Starting b10-msgq
 [bind10] Started b10-msgq (PID 26636)
 [bind10] Starting b10-cfgmgr
 [bind10] Started b10-cfgmgr (PID 8593)
 [b10-cfgmgr] Can't read configuration file: [Errno 13] Permission denied:
 '/home/reed/opt/bind10/var/bind10-devel/b10-config.db'
 [b10-msgq] Closing socket fd 5
 [bind10] Starting ccsession
 }}}

 ... instead of waiting for this to timeout, I pressed Ctrl-C, resulting
 in:

 {{{
 [b10-msgq] Receive error: EOF
 ^C[bind10] Received SIGINT.
 [bind10] killing started processes:
 [bind10] - b10-cfgmgr
 Traceback (most recent call last):
   File "/home/reed/opt/bind10/sbin/bind10", line 544, in startup
     self.start_all_processes(c_channel_env)
   File "/home/reed/opt/bind10/sbin/bind10", line 487, in
 start_all_processes
     self.start_ccsession(c_channel_env)
   File "/home/reed/opt/bind10/sbin/bind10", line 378, in start_ccsession
     self.ccs.start()
   File "/home/reed/opt/bind10/lib/python3.1/site-
 packages/isc/config/ccsession.py", line 164, in start
 ^C[bind10] Received SIGINT.
     self.__request_config()
   File "/home/reed/opt/bind10/lib/python3.1/site-
 packages/isc/config/ccsession.py", line 338, in __request_config
     raise ModuleCCSessionError("No answer from configuration manager")
 isc.config.ccsession.ModuleCCSessionError: No answer from configuration
 manager

 During handling of the above exception, another exception occurred:

 Traceback (most recent call last):
   File "/home/reed/opt/bind10/sbin/bind10", line 899, in <module>
     main()
   File "/home/reed/opt/bind10/sbin/bind10", line 838, in main
     startup_result = boss_of_bind.startup()
   File "/home/reed/opt/bind10/sbin/bind10", line 546, in startup
     self.kill_started_processes()
   File "/home/reed/opt/bind10/sbin/bind10", line 263, in
 kill_started_processes
     self.processes[pid].process.kill()
   File "/usr/pkg/lib/python3.1/subprocess.py", line 1337, in kill

    self.send_signal(signal.SIGKILL)
   File "/usr/pkg/lib/python3.1/subprocess.py", line 1327, in send_signal
     os.kill(self.pid, sig)
 OSError: [Errno 3] No such process
 t1:bind10$ [b10-msgq] Closing socket fd 4
 [b10-msgq] Receive error: EOF
 [b10-msgq] Closing socket fd 5
 [b10-msgq] Receive error: EOF

 }}}

 What happened in the above is that everything was exited except msgq, it
 was left running so next time starting bind10 failed due to

 {{{
 [bind10] Checking for already running b10-msgq
 [bind10] Error on startup: b10-msgq already running, or socket file not
 cleaned , cannot start
 }}}

 If I do let it timeout on its own, bind10 just exit everything including
 b10-msgq.

 (Please ignore the permission denied in the above output; that is
 unrelated to my problem.)

 Also why SIGKILL?

-- 
Ticket URL: <https://bind10.isc.org/ticket/531>
BIND 10 Development <http://bind10.isc.org>
BIND 10 Development


More information about the bind10-tickets mailing list