msgq_messages.mes 7.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150
  1. # Copyright (C) 2012 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. % MSGQ_CFGMGR_SUBSCRIBED The config manager subscribed to message queue
  20. This is a debug message. The message queue has little bit of special handling
  21. for the configuration manager. This special handling is happening now.
  22. % MSGQ_CLOSE_ON_RECV Reading from socket canceled as it's closed: FD=%1
  23. A debug message. The msgq daemon was notified of a read event on a
  24. socket, but its initial read operation failed because the remote
  25. client has closed its socket. This is possible in a normal operation
  26. when a module shuts down.
  27. % MSGQ_CLOSE_ON_SEND Sending to socket failed as already closed (okay to ignore on shutdown): FD=%1
  28. The msgq daemon tries to send some data to a client module, but it
  29. failed because the socket has been closed. This normally means the
  30. client terminates (for some reason - either gracefully or as a crash)
  31. while other modules try to send a message to the terminated module.
  32. Since msgq doesn't keep track of the status of client modules, this
  33. can happen and is not really an error for msgq; however, it can still
  34. be an unexpected event for the BIND 10 system as a whole in that this
  35. particular message is lost, so it's logged as a warning. If this
  36. message is logged for a running BIND 10 system, it's suggested to
  37. check other log messages; there may be an error from other modules
  38. reporting a missing response message. One common, less critical case
  39. where this message is logged is during shutdown. The ordering of
  40. process shutdown is basically arbitrary at this moment, so it's
  41. possible that some module tries to send a "quitting" message to some
  42. other module but the latter has already shut down. Such cases are
  43. generally non critical, but you may want to check other possible error
  44. messages.
  45. % MSGQ_COMMAND Running command %1 with arguments %2
  46. Debug message. The message queue received a command and it is running it.
  47. % MSGQ_COMMAND_UNKNOWN Unknown command '%1'
  48. The message queue received a command from other module, but it doesn't
  49. recognize it. This is probably either a coding error or inconsistency between
  50. the message queue version and version of the module.
  51. % MSGQ_CONFIG_DATA Received configuration update for the msgq: %1
  52. Debug message. The message queue received a configuration update, handling it.
  53. % MSGQ_EXITING exiting
  54. The msgq daemon is exiting.
  55. % MSGQ_HDR_DECODE_ERROR Error decoding header received from socket %1: %2
  56. The socket with mentioned file descriptor sent a packet. However, it was not
  57. possible to decode the routing header of the packet. The packet is ignored.
  58. This may be caused by a programmer error (one of the components sending invalid
  59. data) or possibly by incompatible version of msgq and the component (but that's
  60. unlikely, as the protocol is not changed often).
  61. % MSGQ_INVALID_CMD Received invalid command: %1
  62. An unknown command listed in the log has been received. It is ignored. This
  63. indicates either a programmer error (eg. a typo in the command name) or
  64. incompatible version of a module and message queue daemon.
  65. % MSGQ_LISTENER_FAILED Failed to initialize listener on socket file '%1': %2
  66. The message queue daemon tried to listen on a file socket (the path is in the
  67. message), but it failed. The error from the operating system is logged.
  68. % MSGQ_LISTENER_SETUP Starting to listen on socket file '%1'
  69. Debug message. The listener is trying to open a listening socket.
  70. % MSGQ_LISTENER_STARTED Successfully started to listen
  71. Debug message. The message queue successfully opened a listening socket and
  72. waits for incoming connections.
  73. % MSGQ_RECV_ERROR Error reading from socket %1: %2
  74. There was a low-level error when reading from a socket. The error is logged and
  75. the corresponding socket is dropped. The errors include receiving
  76. broken or (non empty but) incomplete data. In either case it usually suggests
  77. something unexpected happens within the BIND 10 system; it's probably
  78. better to restart the system, and if it continues it should be
  79. reported as a bug. One known, probably non critical case is
  80. the "connection reset by peer" (or its variants) socket error appearing
  81. on shutdown. It's known this happens when the remote client closes the
  82. connection as part of shutdown process. Such cases are normally expected
  83. to be reported as receiving empty data (which we log it at the debug level
  84. as the MSGQ_CLOSE_ON_RECV message), but for some (yet) unknown reason
  85. it can also be reported as the system error. At shutdown time it's expected
  86. that connections are closed, so it's probably safe to ignore these messages
  87. in such a case. We still log them as an error as we've not figured out
  88. how exactly that can happen. In future, we may make the shutdown process
  89. more robust so the msgq daemon can explicitly know when a client shuts down
  90. more reliably. If and when it's implemented this error message won't appear
  91. on shutdown unless there's really something unexpected.
  92. % MSGQ_RECV_HDR Received header: %1
  93. Debug message. This message includes the whole routing header of a packet.
  94. % MSGQ_SELECT_ERROR Error while waiting for events: %1
  95. A low-level error happened when waiting for events, the error is logged. The
  96. reason for this varies, but it usually means the system is short on some
  97. resources.
  98. % MSGQ_SEND_ERROR Error while sending to socket %1: %2
  99. There was a low-level error when sending data to a socket. The error is logged
  100. and the corresponding socket is dropped.
  101. % MSGQ_SHUTDOWN Stopping Msgq
  102. Debug message. The message queue is shutting down.
  103. % MSGQ_SOCKET_REGISTERED Registered a socket descriptor %1 with lname %2
  104. Debug message. The msgq daemon accepted a session request on the
  105. shown descriptor of socket and assigned a unique identifier (lname)
  106. for the client on that socket.
  107. % MSGQ_SOCK_CLOSE Closing socket fd %1
  108. Debug message. Closing the mentioned socket.
  109. % MSGQ_START Msgq version %1 starting
  110. Debug message. The message queue is starting up.
  111. % MSGQ_START_FAIL Error during startup: %1
  112. There was an error during early startup of the daemon. More concrete error is
  113. in the log. The daemon terminates as a result.
  114. % MSGQ_SUBS_APPEND_TARGET Appending to existing target for subscription to group '%1' for instance '%2'
  115. Debug message. Creating a new subscription by appending it to already existing
  116. data structure.
  117. % MSGQ_SUBS_NEW_TARGET Creating new target for subscription to group '%1' for instance '%2'
  118. Debug message. Creating a new subscription. Also creating a new data structure
  119. to hold it.
  120. % MSGQ_SOCKET_TIMEOUT_ERROR Killing socket %1 because timeout exceeded (%2)
  121. Outgoing data was queued up on a socket connected to msgq, but the other
  122. side is not reading it. It could be deadlocked, or may not be monitoring
  123. it. Both cases are programming errors and should be corrected. The socket
  124. is closed on the msgq side.