bind10_messages.mes 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334
  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 xfrin messages python module.
  16. % BIND10_CHECK_MSGQ_ALREADY_RUNNING checking if msgq is already running
  17. The boss process is starting up and will now check if the message bus
  18. daemon is already running. If so, it will not be able to start, as it
  19. needs a dedicated message bus.
  20. % BIND10_COMPONENT_FAILED component %1 (pid %2) failed: %3
  21. The process terminated, but the bind10 boss didn't expect it to, which means
  22. it must have failed.
  23. % BIND10_COMPONENT_RESTART component %1 is about to restart
  24. The named component failed previously and we will try to restart it to provide
  25. as flawless service as possible, but it should be investigated what happened,
  26. as it could happen again.
  27. % BIND10_COMPONENT_START component %1 is starting
  28. The named component is about to be started by the boss process.
  29. % BIND10_COMPONENT_START_EXCEPTION component %1 failed to start: %2
  30. An exception (mentioned in the message) happened during the startup of the
  31. named component. The componet is not considered started and further actions
  32. will be taken about it.
  33. % BIND10_COMPONENT_STOP component %1 is being stopped
  34. A component is about to be asked to stop willingly by the boss.
  35. % BIND10_COMPONENT_UNSATISFIED component %1 is required to run and failed
  36. A component failed for some reason (see previous messages). It is either a core
  37. component or needed component that was just started. In any case, the system
  38. can't continue without it and will terminate.
  39. % BIND10_CONFIGURATOR_BUILD building plan '%1' -> '%2'
  40. A debug message. This indicates that the configurator is building a plan
  41. how to change configuration from the older one to newer one. This does no
  42. real work yet, it just does the planning what needs to be done.
  43. % BIND10_CONFIGURATOR_PLAN_INTERRUPTED configurator plan interrupted, only %1 of %2 done
  44. There was an exception during some planned task. The plan will not continue and
  45. only some tasks of the plan were completed. The rest is aborted. The exception
  46. will be propagated.
  47. % BIND10_CONFIGURATOR_RECONFIGURE reconfiguring running components
  48. A different configuration of which components should be running is being
  49. installed. All components that are no longer needed will be stopped and
  50. newly introduced ones started. This happens at startup, when the configuration
  51. is read the first time, or when an operator changes configuration of the boss.
  52. % BIND10_CONFIGURATOR_RUN running plan of %1 tasks
  53. A debug message. The configurator is about to execute a plan of actions it
  54. computed previously.
  55. % BIND10_CONFIGURATOR_START bind10 component configurator is starting up
  56. The part that cares about starting and stopping the right component from the
  57. boss process is starting up. This happens only once at the startup of the
  58. boss process. It will start the basic set of processes now (the ones boss
  59. needs to read the configuration), the rest will be started after the
  60. configuration is known.
  61. % BIND10_CONFIGURATOR_STOP bind10 component configurator is shutting down
  62. The part that cares about starting and stopping processes in the boss is
  63. shutting down. All started components will be shut down now (more precisely,
  64. asked to terminate by their own, if they fail to comply, other parts of
  65. the boss process will try to force them).
  66. % BIND10_CONFIGURATOR_TASK performing task %1 on %2
  67. A debug message. The configurator is about to perform one task of the plan it
  68. is currently executing on the named component.
  69. % BIND10_CONNECTING_TO_CC_FAIL failed to connect to configuration/command channel; try -v to see output from msgq
  70. The boss process tried to connect to the communication channel for
  71. commands and configuration updates during initialization, but it
  72. failed. This is a fatal startup error, and process will soon
  73. terminate after some cleanup. There can be several reasons for the
  74. failure, but the most likely cause is that the msgq daemon failed to
  75. start, and the most likely cause of the msgq failure is that it
  76. doesn't have a permission to create a socket file for the
  77. communication. To confirm that, you can see debug messages from msgq
  78. by starting BIND 10 with the -v command line option. If it indicates
  79. permission problem for msgq, make sure the directory where the socket
  80. file is to be created is writable for the msgq process. Note that if
  81. you specify the -u option to change process users, the directory must
  82. be writable for that user.
  83. % BIND10_INVALID_STATISTICS_DATA invalid specification of statistics data specified
  84. An error was encountered when the boss module specified
  85. statistics data which is invalid for the boss specification file.
  86. % BIND10_INVALID_USER invalid user: %1
  87. The boss process was started with the -u option, to drop root privileges
  88. and continue running as the specified user, but the user is unknown.
  89. % BIND10_KILLING_ALL_PROCESSES killing all started processes
  90. The boss module was not able to start every process it needed to start
  91. during startup, and will now kill the processes that did get started.
  92. % BIND10_LOST_SOCKET_CONSUMER consumer %1 of sockets disconnected, considering all its sockets closed
  93. A connection from one of the applications which requested a socket was
  94. closed. This means the application has terminated, so all the sockets it was
  95. using are now closed and bind10 process can release them as well, unless the
  96. same sockets are used by yet another application.
  97. % BIND10_MSGQ_ALREADY_RUNNING msgq daemon already running, cannot start
  98. There already appears to be a message bus daemon running. Either an
  99. old process was not shut down correctly, and needs to be killed, or
  100. another instance of BIND10, with the same msgq domain socket, is
  101. running, which needs to be stopped.
  102. % BIND10_MSGQ_DISAPPEARED msgq channel disappeared
  103. While listening on the message bus channel for messages, it suddenly
  104. disappeared. The msgq daemon may have died. This might lead to an
  105. inconsistent state of the system, and BIND 10 will now shut down.
  106. % BIND10_NO_SOCKET couldn't send a socket for token %1 because of error: %2
  107. An error occurred when the bind10 process was asked to send a socket file
  108. descriptor. The error is mentioned, most common reason is that the request
  109. is invalid and may not come from bind10 process at all.
  110. % BIND10_PROCESS_ENDED process %2 of %1 ended with status %3
  111. This indicates a process started previously terminated. The process id
  112. and component owning the process are indicated, as well as the exit code.
  113. This doesn't distinguish if the process was supposed to terminate or not.
  114. % BIND10_READING_BOSS_CONFIGURATION reading boss configuration
  115. The boss process is starting up, and will now process the initial
  116. configuration, as received from the configuration manager.
  117. % BIND10_RECEIVED_COMMAND received command: %1
  118. The boss module received a command and shall now process it. The command
  119. is printed.
  120. % BIND10_RECEIVED_NEW_CONFIGURATION received new configuration: %1
  121. The boss module received a configuration update and is going to apply
  122. it now. The new configuration is printed.
  123. % BIND10_RECEIVED_SIGNAL received signal %1
  124. The boss module received the given signal.
  125. % BIND10_RESTART_COMPONENT_SKIPPED Skipped restarting a component %1
  126. The boss module tried to restart a component after it failed (crashed)
  127. unexpectedly, but the boss then found that the component had been removed
  128. from its local configuration of components to run. This is an unusal
  129. situation but can happen if the administrator removes the component from
  130. the configuration after the component's crash and before the restart time.
  131. The boss module simply skipped restarting that module, and the whole system
  132. went back to the expected state (except that the crash itself is likely
  133. to be a bug).
  134. % BIND10_RESURRECTED_PROCESS resurrected %1 (PID %2)
  135. The given process has been restarted successfully, and is now running
  136. with the given process id.
  137. % BIND10_RESURRECTING_PROCESS resurrecting dead %1 process...
  138. The given process has ended unexpectedly, and is now restarted.
  139. % BIND10_SELECT_ERROR error in select() call: %1
  140. There was a fatal error in the call to select(), used to see if a child
  141. process has ended or if there is a message on the message bus. This
  142. should not happen under normal circumstances and is considered fatal,
  143. so BIND 10 will now shut down. The specific error is printed.
  144. % BIND10_SEND_SIGKILL sending SIGKILL to %1 (PID %2)
  145. The boss module is sending a SIGKILL signal to the given process.
  146. % BIND10_SEND_SIGNAL_FAIL sending %1 to %2 (PID %3) failed: %4
  147. The boss module sent a single (either SIGTERM or SIGKILL) to a process,
  148. but it failed due to some system level error. There are two major cases:
  149. the target process has already terminated but the boss module had sent
  150. the signal before it noticed the termination. In this case an error
  151. message should indicate something like "no such process". This can be
  152. safely ignored. The other case is that the boss module doesn't have
  153. the privilege to send a signal to the process. It can typically
  154. happen when the boss module started as a privileged process, spawned a
  155. subprocess, and then dropped the privilege. It includes the case for
  156. the socket creator when the boss process runs with the -u command line
  157. option. In this case, the boss module simply gives up to terminate
  158. the process explicitly because it's unlikely to succeed by keeping
  159. sending the signal. Although the socket creator is implemented so
  160. that it will terminate automatically when the boss process exits
  161. (and that should be the case for any other future process running with
  162. a higher privilege), but it's recommended to check if there's any
  163. remaining BIND 10 process if this message is logged. For all other
  164. cases, the boss module will keep sending the signal until it confirms
  165. all child processes terminate. Although unlikely, this could prevent
  166. the boss module from exiting, just keeping sending the signals. So,
  167. again, it's advisable to check if it really terminates when this
  168. message is logged.
  169. % BIND10_SEND_SIGTERM sending SIGTERM to %1 (PID %2)
  170. The boss module is sending a SIGTERM signal to the given process.
  171. % BIND10_SETGID setting GID to %1
  172. The boss switches the process group ID to the given value. This happens
  173. when BIND 10 starts with the -u option, and the group ID will be set to
  174. that of the specified user.
  175. % BIND10_SETUID setting UID to %1
  176. The boss switches the user it runs as to the given UID.
  177. % BIND10_SHUTDOWN stopping the server
  178. The boss process received a command or signal telling it to shut down.
  179. It will send a shutdown command to each process. The processes that do
  180. not shut down will then receive a SIGTERM signal. If that doesn't work,
  181. it shall send SIGKILL signals to the processes still alive.
  182. % BIND10_SHUTDOWN_COMPLETE all processes ended, shutdown complete
  183. All child processes have been stopped, and the boss process will now
  184. stop itself.
  185. % BIND10_SOCKCREATOR_BAD_CAUSE unknown error cause from socket creator: %1
  186. The socket creator reported an error when creating a socket. But the function
  187. which failed is unknown (not one of 'S' for socket or 'B' for bind).
  188. % BIND10_SOCKCREATOR_BAD_RESPONSE unknown response for socket request: %1
  189. The boss requested a socket from the creator, but the answer is unknown. This
  190. looks like a programmer error.
  191. % BIND10_SOCKCREATOR_EOF eof while expecting data from socket creator
  192. There should be more data from the socket creator, but it closed the socket.
  193. It probably crashed.
  194. % BIND10_SOCKCREATOR_INIT initializing socket creator parser
  195. The boss module initializes routines for parsing the socket creator
  196. protocol.
  197. % BIND10_SOCKCREATOR_KILL killing the socket creator
  198. The socket creator is being terminated the aggressive way, by sending it
  199. sigkill. This should not happen usually.
  200. % BIND10_SOCKCREATOR_TERMINATE terminating socket creator
  201. The boss module sends a request to terminate to the socket creator.
  202. % BIND10_SOCKCREATOR_TRANSPORT_ERROR transport error when talking to the socket creator: %1
  203. Either sending or receiving data from the socket creator failed with the given
  204. error. The creator probably crashed or some serious OS-level problem happened,
  205. as the communication happens only on local host.
  206. % BIND10_SOCKET_CREATED successfully created socket %1
  207. The socket creator successfully created and sent a requested socket, it has
  208. the given file number.
  209. % BIND10_SOCKET_ERROR error on %1 call in the creator: %2/%3
  210. The socket creator failed to create the requested socket. It failed on the
  211. indicated OS API function with given error.
  212. % BIND10_SOCKET_GET requesting socket [%1]:%2 of type %3 from the creator
  213. The boss forwards a request for a socket to the socket creator.
  214. % BIND10_STARTED_CC started configuration/command session
  215. Debug message given when BIND 10 has successfull started the object that
  216. handles configuration and commands.
  217. % BIND10_STARTED_PROCESS started %1
  218. The given process has successfully been started.
  219. % BIND10_STARTED_PROCESS_PID started %1 (PID %2)
  220. The given process has successfully been started, and has the given PID.
  221. % BIND10_STARTING starting BIND10: %1
  222. Informational message on startup that shows the full version.
  223. % BIND10_STARTING_CC starting configuration/command session
  224. Informational message given when BIND 10 is starting the session object
  225. that handles configuration and commands.
  226. % BIND10_STARTING_PROCESS starting process %1
  227. The boss module is starting the given process.
  228. % BIND10_STARTING_PROCESS_PORT starting process %1 (to listen on port %2)
  229. The boss module is starting the given process, which will listen on the
  230. given port number.
  231. % BIND10_STARTING_PROCESS_PORT_ADDRESS starting process %1 (to listen on %2#%3)
  232. The boss module is starting the given process, which will listen on the
  233. given address and port number (written as <address>#<port>).
  234. % BIND10_STARTUP_COMPLETE BIND 10 started
  235. All modules have been successfully started, and BIND 10 is now running.
  236. % BIND10_STARTUP_ERROR error during startup: %1
  237. There was a fatal error when BIND10 was trying to start. The error is
  238. shown, and BIND10 will now shut down.
  239. % BIND10_STARTUP_UNEXPECTED_MESSAGE unrecognised startup message %1
  240. During the startup process, a number of messages are exchanged between the
  241. Boss process and the processes it starts. This error is output when a
  242. message received by the Boss process is recognised as being of the
  243. correct format but is unexpected. It may be that processes are starting
  244. of sequence.
  245. % BIND10_STARTUP_UNRECOGNISED_MESSAGE unrecognised startup message %1
  246. During the startup process, a number of messages are exchanged between the
  247. Boss process and the processes it starts. This error is output when a
  248. message received by the Boss process is not recognised.
  249. % BIND10_START_AS_NON_ROOT_RESOLVER starting b10-resolver as a user, not root. This might fail.
  250. The resolver is being started or restarted without root privileges.
  251. If the module needs these privileges, it may have problems starting.
  252. Note that this issue should be resolved by the pending 'socket-creator'
  253. process; once that has been implemented, modules should not need root
  254. privileges anymore. See tickets #800 and #801 for more information.
  255. % BIND10_STOP_PROCESS asking %1 to shut down
  256. The boss module is sending a shutdown command to the given module over
  257. the message channel.
  258. % BIND10_UNKNOWN_CHILD_PROCESS_ENDED unknown child pid %1 exited
  259. An unknown child process has exited. The PID is printed, but no further
  260. action will be taken by the boss process.
  261. % BIND10_WAIT_CFGMGR waiting for configuration manager process to initialize
  262. The configuration manager process is so critical to operation of BIND 10
  263. that after starting it, the Boss module will wait for it to initialize
  264. itself before continuing. This debug message is produced during the
  265. wait and may be output zero or more times depending on how long it takes
  266. the configuration manager to start up. The total length of time Boss
  267. will wait for the configuration manager before reporting an error is
  268. set with the command line --wait switch, which has a default value of
  269. ten seconds.