[bind10-dev] noisy failure of bind10
Likun Zhang
zlkzhy at gmail.com
Tue Apr 12 15:39:44 UTC 2011
Jeremy,
I didn't try to reproduce the problem, just have the idea from the log message.
It's easy to reproduce the nossy failure of bind10, when we start bind10 in verbose mode and input "ctrl + c" to terminate bind10 immediately, since some process has not finished starting(I have no idea about how to fix it now).
>From the log message, " [b10-cmdctl] Error creating server, because: [Errno 48] Address already in use", I guess there is another b10-cmdctl process running, or the port 8080 is used by other process.
Did you start bind10 process with "brittle" mode? If true, I think it's the reason. B10-cmdctl can't be started properly, then bind10 try to kill all the other processes which are starting, then noisy come.
Thanks
Likun
> -----Original Message-----
> From: bind10-dev-bounces+zlkzhy=gmail.com at lists.isc.org
> [mailto:bind10-dev-bounces+zlkzhy=gmail.com at lists.isc.org] On Behalf Of
> Jeremy C. Reed
> Sent: Tuesday, April 12, 2011 10:53 PM
> To: bind10-dev at isc.org
> Subject: [bind10-dev] noisy failure of bind10
>
> I didn't create a ticket since I couldn't reproduce:
>
> t1:bind10$ ./bind10 --config-file foo --brittle
> [b10-auth] Server created.
> 12-Apr-2011 09:46:22.786 Xfrout: INFO: update config data start.
> [bind10] BIND 10 started
> [b10-auth] DNSServices created.
> 12-Apr-2011 09:46:23.097 Xfrout: INFO: max transfer out : 10
> 12-Apr-2011 09:46:23.140 Xfrout: INFO: update config data complete.
> [b10-auth] Configuration session channel created.
> [b10-cmdctl] Error creating server, because: [Errno 48] Address already
> in use
>
> [bind10] Process b10-cmdctl (PID 16424) terminated, exit status = 256
> [b10-xfrin] Read of 0 bytes: connection closed
> [b10-zonemgr] Error creating zonemgr, is the command channel daemon
> running?
> [b10-auth] Server failed: ASIO write failed: Broken pipe
> Traceback (most recent call last):
> File "/home/reed/opt/bind10/libexec/bind10-devel/b10-xfrout", line
> 604, in <module>
> xfrout_server.run()
> File "/home/reed/opt/bind10/libexec/bind10-devel/b10-xfrout", line
> 577, in run
> self._cc.check_command(False)
> File
> "/home/reed/opt/bind10/lib/python3.1/site-packages/isc/config/ccsession.py",
> line 194, in check_command
> msg, env = self._session.group_recvmsg(nonblock)
> File
> "/home/reed/opt/bind10/lib/python3.1/site-packages/isc/cc/session.py",
> line 247, in group_recvmsg
> env, msg = self.recvmsg(nonblock, seq)
>
> File
> "/home/reed/opt/bind10/lib/python3.1/site-packages/isc/cc/session.py",
> line 108, in recvmsg
> data = self._receive_full_buffer(nonblock)
> File
> "/home/reed/opt/bind10/lib/python3.1/site-packages/isc/cc/session.py",
> line 184, in _receive_full_buffer
> self._receive_len_data()
> File
> "/home/reed/opt/bind10/lib/python3.1/site-packages/isc/cc/session.py",
> line 144, in _receive_len_data
> new_data = self._receive_bytes(self._recv_len_size)
> File
> "/home/reed/opt/bind10/lib/python3.1/site-packages/isc/cc/session.py",
> line 132, in _receive_bytes
> raise ProtocolError("Read of 0 bytes: connection closed")
> isc.cc.session.ProtocolError: Read of 0 bytes: connection closed
> [b10-stats] Error creating Stats module, is the command channel daemon
> running?
> Exception AttributeError: "'ModuleCCSession' object has no attribute
> '_session'" in <bound method ModuleCCSession.__del__ of
> <isc.config.ccsession.ModuleCCSession object at 0x7f7ff9e3e490>> ignored
> Exception in thread Thread-2:
> Traceback (most recent call last):
> File
> "/home/reed/opt/bind10/lib/python3.1/site-packages/isc/notify/notify_out.py"
> ,
> line 301, in _wait_for_notify_reply
> r_fds, w, e = select.select(valid_socks, [], [], block_timeout)
> select.error: (4, 'Interrupted system call')
>
> During handling of the above exception, another exception occurred:
>
> Traceback (most recent call last):
> File "/usr/pkg/lib/python3.1/threading.py", line 509, in
> _bootstrap_inner
> self.run()
> File "/usr/pkg/lib/python3.1/threading.py", line 462, in run
> self._target(*self._args, **self._kwargs)
> File
> "/home/reed/opt/bind10/lib/python3.1/site-packages/isc/notify/notify_out.py"
> ,
> line 157, in _dispatcher
> replied_zones, not_replied_zones = self._wait_for_notify_reply()
> File
> "/home/reed/opt/bind10/lib/python3.1/site-packages/isc/notify/notify_out.py"
> ,
> line 303, in _wait_for_notify_reply
> if err.args[0] != EINTR:
> NameError: global name 'EINTR' is not defined
>
> [bind10] BIND 10 exiting
>
>
> I know why it failed but I don't know why I got all that noise.
> _______________________________________________
> bind10-dev mailing list
> bind10-dev at lists.isc.org
> https://lists.isc.org/mailman/listinfo/bind10-dev
More information about the bind10-dev
mailing list