msgq_messages.mes 6.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135
  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_HDR_DECODE_ERR Error decoding header received from socket %1: %2
  54. The socket with mentioned file descriptor sent a packet. However, it was not
  55. possible to decode the routing header of the packet. The packet is ignored.
  56. This may be caused by a programmer error (one of the components sending invalid
  57. data) or possibly by incompatible version of msgq and the component (but that's
  58. unlikely, as the protocol is not changed often).
  59. % MSGQ_INVALID_CMD Received invalid command: %1
  60. An unknown command listed in the log has been received. It is ignored. This
  61. indicates either a programmer error (eg. a typo in the command name) or
  62. incompatible version of a module and message queue daemon.
  63. % MSGQ_LISTENER_FAILED Failed to initialize listener on socket file '%1': %2
  64. The message queue daemon tried to listen on a file socket (the path is in the
  65. message), but it failed. The error from the operating system is logged.
  66. % MSGQ_LISTENER_SETUP Starting to listen on socket file '%1'
  67. Debug message. The listener is trying to open a listening socket.
  68. % MSGQ_LISTENER_STARTED Successfully started to listen
  69. Debug message. The message queue successfully opened a listening socket and
  70. waits for incoming connections.
  71. % MSGQ_POLL_ERR Error while polling for events: %1
  72. A low-level error happened when waiting for events, the error is logged. The
  73. reason for this varies, but it usually means the system is short on some
  74. resources.
  75. % MSGQ_POLL_UNKNOWN_EVENT Got an unknown event from the poller for fd %1: %2
  76. An unknown event got out from the poll() system call. This should generally not
  77. happen and it is either a programmer error or OS bug. The event is ignored. The
  78. number noted as the event is the raw encoded value, which might be useful to
  79. the authors when figuring the problem out.
  80. % MSGQ_RECV_ERR Error reading from socket %1: %2
  81. There was a low-level error when reading from a socket. The error is logged and
  82. the corresponding socket is dropped. The errors include receiving
  83. broken or (non empty but) incomplete data. In either case it suggests
  84. something unexpected happens within the BIND 10 system; it's probably
  85. better to restart the system, and if it continues it should be
  86. reported as a bug.
  87. % MSGQ_RECV_HDR Received header: %1
  88. Debug message. This message includes the whole routing header of a packet.
  89. % MSGQ_SEND_ERR Error while sending to socket %1: %2
  90. There was a low-level error when sending data to a socket. The error is logged
  91. and the corresponding socket is dropped.
  92. % MSGQ_SHUTDOWN Stopping Msgq
  93. Debug message. The message queue is shutting down.
  94. % MSGQ_SOCKET_REGISTERED Registered a socket descriptor %1 with lname %2
  95. Debug message. The msgq daemon accepted a session request on the
  96. shown descriptor of socket and assigned a unique identifier (lname)
  97. for the client on that socket.
  98. % MSGQ_SOCK_CLOSE Closing socket fd %1
  99. Debug message. Closing the mentioned socket.
  100. % MSGQ_START Msgq version %1 starting
  101. Debug message. The message queue is starting up.
  102. % MSGQ_START_FAIL Error during startup: %1
  103. There was an error during early startup of the daemon. More concrete error is
  104. in the log. The daemon terminates as a result.
  105. % MSGQ_SUBS_APPEND_TARGET Appending to existing target for subscription to group '%1' for instance '%2'
  106. Debug message. Creating a new subscription by appending it to already existing
  107. data structure.
  108. % MSGQ_SUBS_NEW_TARGET Creating new target for subscription to group '%1' for instance '%2'
  109. Debug message. Creating a new subscription. Also creating a new data structure
  110. to hold it.