ddns_messages.mes 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266
  1. # Copyright (C) 2011 Internet Systems Consortium, Inc. ("ISC")
  2. #
  3. # Permission to use, copy, modify, and/or distribute this software for any
  4. # purpose with or without fee is hereby granted, provided that the above
  5. # copyright notice and this permission notice appear in all copies.
  6. #
  7. # THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
  8. # REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
  9. # AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
  10. # INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
  11. # LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
  12. # OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
  13. # PERFORMANCE OF THIS SOFTWARE.
  14. # No namespace declaration - these constants go in the global namespace
  15. # of the ddns messages python module.
  16. # When you add a message to this file, it is a good idea to run
  17. # <topsrcdir>/tools/reorder_message_file.py to make sure the
  18. # messages are in the correct order.
  19. % DDNS_ACCEPT_FAILURE error accepting a connection: %1
  20. There was a low-level error when we tried to accept an incoming connection
  21. (probably coming from b10-auth). We continue serving on whatever other
  22. connections we already have, but this connection is dropped. The reason
  23. is logged.
  24. % DDNS_AUTH_DBFILE_UPDATE updated auth DB file to %1
  25. b10-ddns was notified of updates to the SQLite3 DB file that b10-auth
  26. uses for the underlying data source and on which b10-ddns needs to
  27. make updates. b10-ddns then updated its internal setup so further
  28. updates would be made on the new DB.
  29. % DDNS_CC_SESSION_ERROR error reading from cc channel: %1
  30. There was a problem reading from the command and control channel. The
  31. most likely cause is that the msgq process is not running.
  32. % DDNS_CC_SESSION_TIMEOUT_ERROR timeout waiting for cc response
  33. There was a problem reading a response from another module over the
  34. command and control channel. The most likely cause is that the
  35. configuration manager b10-cfgmgr is not running.
  36. % DDNS_CONFIG_ERROR error found in configuration data: %1
  37. The ddns process encountered an error when installing the configuration at
  38. startup time. Details of the error are included in the log message.
  39. % DDNS_CONFIG_HANDLER_ERROR failed to update ddns configuration: %1
  40. An update to b10-ddns configuration was delivered but an error was
  41. found while applying them. None of the delivered updates were applied
  42. to the running b10-ddns system, and the server will keep running with
  43. the existing configuration. If this happened in the initial
  44. configuration setup, the server will be running with the default
  45. configurations.
  46. % DDNS_DROP_CONN dropping connection on file descriptor %1 because of error %2
  47. There was an error on a connection with the b10-auth server (or whatever
  48. connects to the ddns daemon). This might be OK, for example when the
  49. authoritative server shuts down, the connection would get closed. It also
  50. can mean the system is busy and can't keep up or that the other side got
  51. confused and sent bad data.
  52. % DDNS_GET_REMOTE_CONFIG_FAIL failed to get %1 module configuration %2 times: %3
  53. b10-ddns tried to get configuration of some remote modules for its
  54. operation, but it failed. The most likely cause of this is that the
  55. remote module has not fully started up and b10-ddns couldn't get the
  56. configuration in a timely fashion. b10-ddns attempts to retry it a
  57. few times, imposing a short delay, hoping it eventually succeeds if
  58. it's just a timing issue. The number of total failed attempts is also
  59. logged. If it reaches an internal threshold b10-ddns considers it a
  60. fatal error and terminates. Even in that case, if b10-ddns is
  61. configured as a "dispensable" component (which is the default), the
  62. parent ("init") process will restart it, and there will be another
  63. chance of getting the remote configuration successfully. These are
  64. not the optimal behavior, but it's believed to be sufficient in
  65. practice (there would normally be no failure in the first place). If
  66. it really causes an operational trouble other than having a few of
  67. these log messages, please submit a bug report; there can be several
  68. ways to make it more sophisticated. Another, less likely reason for
  69. having this error is because the remote modules are not actually
  70. configured to run. If that's the case fixing the configuration should
  71. solve the problem - either by making sure the remote module will run
  72. or by not running b10-ddns (without these remote modules b10-ddns is
  73. not functional, so there's no point in running it in this case).
  74. % DDNS_MODULECC_SESSION_ERROR error encountered by configuration/command module: %1
  75. There was a problem in the lower level module handling configuration and
  76. control commands. This could happen for various reasons, but the most likely
  77. cause is that the configuration database contains a syntax error and ddns
  78. failed to start at initialization. A detailed error message from the module
  79. will also be displayed.
  80. % DDNS_NEW_CONN new connection on file descriptor %1 from %2
  81. Debug message. We received a connection and we are going to start handling
  82. requests from it. The file descriptor number and the address where the request
  83. comes from is logged. The connection is over a unix domain socket and is likely
  84. coming from a b10-auth process.
  85. % DDNS_RECEIVED_AUTH_UPDATE received configuration updates from auth server
  86. b10-ddns is notified of updates to b10-auth configuration
  87. (including a report of the initial configuration) that b10-ddns might
  88. be interested in.
  89. % DDNS_RECEIVED_SHUTDOWN_COMMAND shutdown command received
  90. The ddns process received a shutdown command from the command channel
  91. and will now shut down.
  92. % DDNS_RECEIVED_ZONEMGR_UPDATE received configuration updates from zonemgr
  93. b10-ddns is notified of updates to b10-zonemgr's configuration
  94. (including a report of the initial configuration). It may possibly
  95. contain changes to the secondary zones, in which case b10-ddns will
  96. update its internal copy of that configuration.
  97. % DDNS_REQUEST_PARSE_FAIL failed to parse update request: %1
  98. b10-ddns received an update request via b10-auth, but the received
  99. data failed to pass minimum validation: it was either broken wire
  100. format data for a valid DNS message (e.g. it's shorter than the
  101. fixed-length header), or the opcode is not update, or TSIG is included
  102. in the request but it fails to validate. Since b10-auth should have
  103. performed this level of checks, such an error shouldn't be detected at
  104. this stage and should rather be considered an internal bug. This
  105. event is therefore logged at the error level, and the request is
  106. simply dropped. Additional information of the error is also logged.
  107. % DDNS_REQUEST_TCP_QUOTA reject TCP update client %1 (%2 running)
  108. b10-ddns received a new update request from a client over TCP, but
  109. the number of TCP clients being handled by the server already reached
  110. the configured quota, so the latest client was rejected by closing
  111. the connection. The administrator may want to check the status of
  112. b10-ddns, and if this happens even if the server is not very busy,
  113. the quota may have to be increased. Or, if it's more likely to be
  114. malicious or simply bogus clients that somehow keep the TCP connection
  115. open for a long period, maybe they should be rejected with an
  116. appropriate ACL configuration or some lower layer filtering. The
  117. number of existing TCP clients are shown in the log, which should be
  118. identical to the current quota.
  119. % DDNS_RESPONSE_SOCKET_SEND_FAILED failed to send update response to %1: %2
  120. Network I/O error happens in sending an update response. The
  121. client's address that caused the error and error details are also
  122. logged.
  123. % DDNS_RESPONSE_TCP_SOCKET_SEND_FAILED failed to complete sending update response to %1 over TCP
  124. b10-ddns had tried to send an update response over TCP, and it hadn't
  125. been completed at that time, and a follow-up attempt to complete the
  126. send operation failed due to some network I/O error. While a network
  127. error can happen any time, this event is quite unexpected for two
  128. reasons. First, since the size of a response to an update request
  129. should be generally small, it's unlikely that the initial attempt
  130. didn't fail but wasn't completed. Second, since the first attempt
  131. succeeded and the TCP connection had been established in the first
  132. place, it's more likely for the subsequent attempt to succeed. In any
  133. case, there may not be able to do anything to fix it at the server
  134. side, but the administrator may want to check the general reachability
  135. with the client address.
  136. % DDNS_SECONDARY_ZONES_UPDATE updated secondary zone list (%1 zones are listed)
  137. b10-ddns has successfully updated the internal copy of secondary zones
  138. obtained from b10-zonemgr, based on a latest update to zonemgr's
  139. configuration. The number of newly configured (unique) secondary
  140. zones is logged.
  141. % DDNS_SECONDARY_ZONES_UPDATE_FAIL failed to update secondary zone list: %1
  142. An error message. b10-ddns was notified of updates to a list of
  143. secondary zones from b10-zonemgr and tried to update its own internal
  144. copy of the list, but it failed. This can happen if the configuration
  145. contains an error, and b10-zonemgr should also reject that update.
  146. Unfortunately, in the current implementation there is no way to ensure
  147. that both zonemgr and ddns have consistent information when an update
  148. contains an error; further, as of this writing zonemgr has a bug that
  149. it could partially update the list of secondary zones if part of the
  150. list has an error (see Trac ticket #2038). b10-ddns still keeps
  151. running with the previous configuration, but it's strongly advisable
  152. to check log messages from zonemgr, and if it indicates there can be
  153. inconsistent state, it's better to restart the entire BIND 10 system
  154. (just restarting b10-ddns wouldn't be enough, because zonemgr can have
  155. partially updated configuration due to bug #2038). The log message
  156. contains an error description, but it's intentionally kept simple as
  157. it's primarily a matter of zonemgr. To know the details of the error,
  158. log messages of zonemgr should be consulted.
  159. % DDNS_SESSION session arrived on file descriptor %1
  160. A debug message, informing there's some activity on the given file descriptor.
  161. It will be either a request or the file descriptor will be closed. See
  162. following log messages to see what of it.
  163. % DDNS_SHUTDOWN ddns server shutting down
  164. The ddns process is shutting down. It will no longer listen for new commands
  165. or updates. Any command or update that is being addressed at this moment will
  166. be completed, after which the process will exit.
  167. % DDNS_STARTED ddns server is running and listening for updates
  168. The ddns process has successfully started and is now ready to receive commands
  169. and updates.
  170. % DDNS_START_FORWARDER_ERROR Error from b10-auth when requesting DDNS UPDATE forwarding: %1
  171. There was an error response from b10-auth to the command to start
  172. forwarding DDNS UPDATE messages to b10-ddns.
  173. It is almost certain that DDNS UPDATE messages are not handled now, and that
  174. they will be responded to with a NOTIMP error code, even though b10-ddns is
  175. running.
  176. The error message is printed, and additional information may be found in
  177. the b10-auth log output. Since this is an error that is sent by the
  178. b10-auth module, it should have more information as to what the actual
  179. problem was.
  180. % DDNS_START_FORWARDER_FAIL Error sending request for DDNS UPDATE forwarding to b10-auth: %1
  181. There was an error when attempting to send b10-auth the request to forward
  182. DDNS UPDATE messages to the b10-ddns module. This points to an internal
  183. problem using the inter-module messaging system.
  184. This needs to be inspected, as it is almost certain that DDNS UPDATE messages
  185. are not handled now.
  186. The specific error is printed in the log message.
  187. % DDNS_STOPPED ddns server has stopped
  188. The ddns process has successfully stopped and is no longer listening for or
  189. handling commands or updates, and will now exit.
  190. % DDNS_STOPPED_BY_KEYBOARD keyboard interrupt, shutting down
  191. There was a keyboard interrupt signal to stop the ddns process. The
  192. process will now shut down.
  193. % DDNS_STOP_FORWARDER_ERROR Error from b10-auth when requesting to stop DDNS UPDATE forwarding: %1
  194. There was an error response from b10-auth to the command to stop
  195. forwarding DDNS UPDATE messages to b10-ddns.
  196. This specific error may not be fatal; instead of returning NOTIMP for future
  197. DDNS UPDATE messages, it will return SERVFAIL. However, this does point to
  198. an underlying problem in the messaging system, and should be inspected.
  199. The error message is printed, and additional information may be found in
  200. the b10-auth log output.
  201. % DDNS_STOP_FORWARDER_FAIL Error sending request to stop DDNS UPDATE forwarding to b10-auth: %1
  202. There was an error when attempting to send b10-auth the request to stop
  203. forwarding DDNS UPDATE messages to the b10-ddns module. This points to an
  204. internal problem using the inter-module messaging system.
  205. This specific error may not be fatal; instead of returning NOTIMP for future
  206. DDNS UPDATE messages, it will return SERVFAIL. However, this does point to
  207. an underlying problem in the messaging system, and should be inspected.
  208. The specific error is printed in the log message.
  209. % DDNS_UPDATE_NOTIFY notified %1 of updates to %2
  210. Debug message. b10-ddns has made updates to a zone based on an update
  211. request and has successfully notified an external module of the updates.
  212. The notified module will use that information for updating its own
  213. state or any necessary protocol action such as zone reloading or sending
  214. notify messages to secondary servers.
  215. % DDNS_UPDATE_NOTIFY_FAIL failed to notify %1 of updates to %2: %3
  216. b10-ddns has made updates to a zone based on an update request and
  217. tried to notify an external component of the updates, but the
  218. notification fails. One possible cause of this is that the external
  219. component is not really running, although it will be less likely to
  220. happen in practice because these components will normally be
  221. configured to run when the server provides the authoritative DNS
  222. service; ddns is rather optional among them. Severity of this error
  223. for the receiving components depends on the type of the component. If
  224. it's b10-xfrout, this means DNS notify messages won't be sent to
  225. secondary servers of the zone. It's suboptimal, but not necessarily
  226. critical as the secondary servers will try to check the zone's status
  227. periodically. If it's b10-auth and the notification was needed to
  228. have it reload the corresponding zone, it's more serious because
  229. b10-auth won't be able to serve the new version of the zone unless
  230. some explicit recovery action is taken. So the administrator needs to
  231. examine this message and takes an appropriate action. In either case,
  232. this notification is generally expected to succeed; so the fact it
  233. fails itself means there's something wrong in the BIND 10 system, and
  234. it would be advisable to check other log messages.