BIND 10 #1703: add second b10-auth component crashes bind10

BIND 10 Development do-not-reply at isc.org
Wed Feb 22 16:18:25 UTC 2012


#1703: add second b10-auth component crashes bind10
-------------------------------------+-------------------------------------
            Reporter:  jreed         |                        Owner:
                Type:  defect        |                       Status:  new
            Priority:  major         |                    Milestone:  New
           Component:  Unclassified  |  Tasks
           Sensitive:  0             |                     Keywords:
         Sub-Project:  DNS           |              Defect Severity:  N/A
Estimated Difficulty:  0             |  Feature Depending on Ticket:
         Total Hours:  0             |          Add Hours to Ticket:  0
                                     |                    Internal?:  0
-------------------------------------+-------------------------------------
 I did:

 {{{

 > config add Boss/components b10-auth-2
 > config set Boss/components/b10-auth-2/special auth
 > config set Boss/components/b10-auth-2/kind needed
 > config commit

 Failed to send request, the connection is closed

 }}}

 Logging showed:

 {{{

 2012-02-22 11:11:58.208 INFO  [b10-boss.boss]
 BIND10_CONFIGURATOR_RECONFIGURE reconfiguring running components
 2012-02-22 11:11:58.208 INFO  [b10-boss.boss] BIND10_COMPONENT_START
 component b10-auth-2 is starting
 2012-02-22 11:11:58.208 INFO  [b10-boss.boss] BIND10_STARTING_PROCESS
 starting process b10-auth
 > 2012-02-22 11:11:58.219 INFO  [b10-auth.datasrc] DATASRC_CACHE_ENABLE
 enabling the hotspot cache
 2012-02-22 11:11:58.220 INFO  [b10-auth.auth] AUTH_SERVER_CREATED server
 created
 2012-02-22 11:11:58.235 FATAL [b10-auth.server_common]
 SRVCOMM_EXCEPTION_ALLOC exception when allocating a socket: File exists
 2012-02-22 11:11:58.235 INFO  [b10-boss.boss] BIND10_LOST_SOCKET_CONSUMER
 consumer 22 of sockets disconnected, considering all its sockets closed
 2012-02-22 11:11:58.236 INFO  [b10-boss.boss] BIND10_PROCESS_ENDED process
 23261 of b10-auth-2 ended with status 6
 2012-02-22 11:11:58.236 ERROR [b10-boss.boss] BIND10_COMPONENT_FAILED
 component b10-auth-2 (pid 23261) failed with 6 exit status
 2012-02-22 11:11:58.236 FATAL [b10-boss.boss] BIND10_COMPONENT_UNSATISFIED
 component b10-auth-2 is required to run and failed
 2012-02-22 11:11:58.236 INFO  [b10-boss.boss] BIND10_SHUTDOWN stopping the
 server
 2012-02-22 11:11:58.236 INFO  [b10-boss.boss] BIND10_CONFIGURATOR_STOP
 bind10 component configurator is shutting down
 2012-02-22 11:11:58.237 INFO  [b10-boss.boss] BIND10_COMPONENT_STOP
 component Socket creator is being stopped
 2012-02-22 11:11:58.237 INFO  [b10-boss.boss] BIND10_SOCKCREATOR_TERMINATE
 terminating socket creator
 2012-02-22 11:11:58.237 INFO  [b10-boss.boss] BIND10_COMPONENT_STOP
 component msgq is being stopped
 2012-02-22 11:11:58.237 INFO  [b10-boss.boss] BIND10_COMPONENT_STOP
 component b10-xfrin is being stopped
 2012-02-22 11:11:58.237 INFO  [b10-boss.boss] BIND10_STOP_PROCESS asking
 b10-xfrin to shut down
 2012-02-22 11:11:58.237 INFO  [b10-boss.boss] BIND10_COMPONENT_STOP
 component b10-cmdctl is being stopped
 2012-02-22 11:11:58.237 INFO  [b10-boss.boss] BIND10_STOP_PROCESS asking
 b10-cmdctl to shut down
 2012-02-22 11:11:58.237 INFO  [b10-boss.boss] BIND10_COMPONENT_STOP
 component b10-xfrout is being stopped
 2012-02-22 11:11:58.238 INFO  [b10-boss.boss] BIND10_STOP_PROCESS asking
 b10-xfrout to shut down
 2012-02-22 11:11:58.238 INFO  [b10-boss.boss] BIND10_COMPONENT_STOP
 component b10-auth is being stopped
 2012-02-22 11:11:58.238 INFO  [b10-boss.boss] BIND10_STOP_PROCESS asking
 b10-auth to shut down
 2012-02-22 11:11:58.238 INFO  [b10-boss.boss] BIND10_COMPONENT_STOP
 component cfgmgr is being stopped
 2012-02-22 11:11:58.238 INFO  [b10-boss.boss] BIND10_STOP_PROCESS asking
 cfgmgr to shut down
 2012-02-22 11:11:58.238 INFO  [2012-02-22 11:11:58.238b10-xfrout.xfrout ]
 INFOXFROUT_RECEIVED_SHUTDOWN_COMMAND shutdown command received
  [b10-boss.boss] BIND10_COMPONENT_STOP component b10-zonemgr is being
 stopped

 ***** unrelated but see the log output is unparsable above ****

 2012-02-22 11:11:58.238 INFO  [b10-boss.boss] BIND10_STOP_PROCESS asking
 b10-zonemgr to shut down
 2012-02-22 11:11:58.239 INFO  [b10-boss.boss] BIND10_COMPONENT_STOP
 component b10-stats is being stopped
 2012-02-22 11:11:58.239 INFO  [b10-boss.boss] BIND10_STOP_PROCESS asking
 b10-stats to shut down
 2012-02-22 11:11:58.239 INFO  [b10-boss.boss] BIND10_COMPONENT_STOP
 component b10-stats-httpd is being stopped
 2012-02-22 11:11:58.239 INFO  [b10-boss.boss] BIND10_STOP_PROCESS asking
 b10-stats-httpd to shut down
 2012-02-22 11:11:58.243 INFO  [b10-stats.stats]
 STATS_RECEIVED_SHUTDOWN_COMMAND shutdown command received
 2012-02-22 11:11:58.244 INFO  [b10-stats-httpd.stats-httpd]
 STATHTTPD_SHUTDOWN shutting down
 2012-02-22 11:11:58.244 INFO  [b10-stats-httpd.stats-httpd]
 STATHTTPD_CLOSING closing 127.0.0.1#8000
 2012-02-22 11:11:59.239 INFO  [b10-boss.boss] BIND10_PROCESS_ENDED process
 23222 of Socket creator ended with status 0
 2012-02-22 11:11:59.239 INFO  [b10-boss.boss] BIND10_PROCESS_ENDED process
 23224 of cfgmgr ended with status 0
 2012-02-22 11:11:59.239 INFO  [b10-boss.boss] BIND10_PROCESS_ENDED process
 23225 of b10-zonemgr ended with status 0
 2012-02-22 11:11:59.240 INFO  [b10-boss.boss] BIND10_PROCESS_ENDED process
 23226 of b10-stats ended with status 0
 2012-02-22 11:11:59.240 INFO  [b10-boss.boss] BIND10_PROCESS_ENDED process
 23227 of b10-xfrin ended with status 0
 2012-02-22 11:11:59.240 INFO  [b10-boss.boss] BIND10_PROCESS_ENDED process
 23228 of b10-cmdctl ended with status 0
 2012-02-22 11:11:59.240 INFO  [b10-boss.boss] BIND10_PROCESS_ENDED process
 23229 of b10-xfrout ended with status 0
 2012-02-22 11:11:59.240 INFO  [b10-boss.boss] BIND10_PROCESS_ENDED process
 23230 of b10-stats-httpd ended with status 0
 2012-02-22 11:11:59.241 INFO  [b10-boss.boss] BIND10_PROCESS_ENDED process
 23231 of b10-auth ended with status 0
 2012-02-22 11:11:59.241 INFO  [b10-boss.boss] BIND10_SEND_SIGTERM sending
 SIGTERM to msgq (PID 23223)
 2012-02-22 11:11:59.340 INFO  [b10-boss.boss] BIND10_PROCESS_ENDED process
 23223 of msgq ended with status 0
 2012-02-22 11:11:59.340 INFO  [b10-boss.boss] BIND10_SHUTDOWN_COMPLETE all
 processes ended, shutdown complete

 }}}

 Probably I shouldn't have used "kind needed" since a second auth server is
 probably not needed by default. (I got that idea from guide.)

 I don't know why it didn't start.

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


More information about the bind10-tickets mailing list