Advertisement
fedorm

Untitled

Oct 15th, 2019
371
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 7.75 KB | None | 0 0
  1. Oct 14 12:05:52 of-sls-test-1 systemd[1]: Started Runners to orchestrate a high-availability PostgreSQL.
  2. Oct 14 12:05:53 of-sls-test-1 patroni[7885]: 2019-10-14 12:05:53,245 INFO: Deregister service postgres-test/postgres-production-node4
  3. Oct 14 12:05:53 of-sls-test-1 patroni[7885]: 2019-10-14 12:05:53,248 INFO: Lock owner: None; I am postgres-production-node4
  4. Oct 14 12:05:53 of-sls-test-1 patroni[7885]: 2019-10-14 12:05:53,253 INFO: Deregister service postgres-test/postgres-production-node4
  5. Oct 14 12:05:53 of-sls-test-1 patroni[7885]: 2019-10-14 12:05:53,255 INFO: trying to bootstrap a new cluster
  6. Oct 14 12:05:53 of-sls-test-1 patroni[7885]: 2019-10-14 12:05:53,257 INFO: Lock owner: None; I am postgres-production-node4
  7. Oct 14 12:05:53 of-sls-test-1 patroni[7885]: 2019-10-14 12:05:53,258 INFO: not healthy enough for leader race
  8. Oct 14 12:05:53 of-sls-test-1 patroni[7885]: 2019-10-14 12:05:53,265 WARNING: Could not register service: unknown role type uninitialized
  9. Oct 14 12:05:53 of-sls-test-1 patroni[7885]: 2019-10-14 12:05:53,265 INFO: bootstrap in progress
  10. Oct 14 12:05:53 of-sls-test-1 patroni[7885]: The files belonging to this database system will be owned by user "postgres".
  11. Oct 14 12:05:53 of-sls-test-1 patroni[7885]: This user must also own the server process.
  12. Oct 14 12:05:53 of-sls-test-1 patroni[7885]: The database cluster will be initialized with locale "en_US.UTF-8".
  13. Oct 14 12:05:53 of-sls-test-1 patroni[7885]: The default text search configuration will be set to "english".
  14. Oct 14 12:05:53 of-sls-test-1 patroni[7885]: Data page checksums are enabled.
  15. Oct 14 12:05:53 of-sls-test-1 patroni[7885]: fixing permissions on existing directory /home/postgres/data_postgres-production-node4 ... ok
  16. Oct 14 12:05:53 of-sls-test-1 patroni[7885]: creating subdirectories ... ok
  17. Oct 14 12:05:53 of-sls-test-1 patroni[7885]: selecting default max_connections ... 100
  18. Oct 14 12:05:53 of-sls-test-1 patroni[7885]: selecting default shared_buffers ... 128MB
  19. Oct 14 12:05:53 of-sls-test-1 patroni[7885]: selecting default timezone ... Europe/Moscow
  20. Oct 14 12:05:53 of-sls-test-1 patroni[7885]: selecting dynamic shared memory implementation ... posix
  21. Oct 14 12:05:53 of-sls-test-1 patroni[7885]: creating configuration files ... ok
  22. Oct 14 12:05:53 of-sls-test-1 patroni[7885]: running bootstrap script ... ok
  23. Oct 14 12:05:55 of-sls-test-1 patroni[7885]: performing post-bootstrap initialization ... ok
  24. Oct 14 12:05:55 of-sls-test-1 patroni[7885]: syncing data to disk ... ok
  25. Oct 14 12:05:55 of-sls-test-1 patroni[7885]: WARNING: enabling "trust" authentication for local connections
  26. Oct 14 12:05:55 of-sls-test-1 patroni[7885]: You can change this by editing pg_hba.conf or using the option -A, or
  27. Oct 14 12:05:55 of-sls-test-1 patroni[7885]: --auth-local and --auth-host, the next time you run initdb.
  28. Oct 14 12:05:55 of-sls-test-1 patroni[7885]: Success. You can now start the database server using:
  29. Oct 14 12:05:55 of-sls-test-1 patroni[7885]: /usr/pgsql-11/bin/pg_ctl -D /home/postgres/data_postgres-production-node4 -l logfile start
  30. Oct 14 12:05:56 of-sls-test-1 patroni[7885]: 2019-10-14 12:05:56.142 MSK [7951] LOG:  listening on IPv4 address "0.0.0.0", port 5432
  31. Oct 14 12:05:56 of-sls-test-1 patroni[7885]: 2019-10-14 12:05:56.144 MSK [7951] LOG:  listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
  32. Oct 14 12:05:56 of-sls-test-1 patroni[7885]: 2019-10-14 12:05:56.146 MSK [7951] LOG:  listening on Unix socket "/tmp/.s.PGSQL.5432"
  33. Oct 14 12:05:56 of-sls-test-1 patroni[7885]: 2019-10-14 12:05:56,146 INFO: postmaster pid=7951
  34. Oct 14 12:05:56 of-sls-test-1 patroni[7885]: 2019-10-14 12:05:56.451 MSK [7951] LOG:  redirecting log output to logging collector process
  35. Oct 14 12:05:56 of-sls-test-1 patroni[7885]: 2019-10-14 12:05:56.451 MSK [7951] HINT:  Future log output will appear in directory "log".
  36. Oct 14 12:05:56 of-sls-test-1 patroni[7885]: localhost:5432 - rejecting connections
  37. Oct 14 12:05:56 of-sls-test-1 patroni[7885]: localhost:5432 - accepting connections
  38. Oct 14 12:05:56 of-sls-test-1 patroni[7885]: 2019-10-14 12:05:56,496 INFO: establishing a new patroni connection to the postgres cluster
  39. Oct 14 12:05:56 of-sls-test-1 patroni[7885]: 2019-10-14 12:05:56,513 WARNING: Could not register service: unknown role type promoted
  40. Oct 14 12:05:56 of-sls-test-1 patroni[7885]: 2019-10-14 12:05:56,513 INFO: running post_bootstrap
  41. Oct 14 12:05:56 of-sls-test-1 patroni[7885]: 2019-10-14 12:05:56,535 WARNING: Could not activate Linux watchdog device: "Can't open watchdog device: [Errno 2] No such file or directory: '/dev/watchdog'"
  42. Oct 14 12:05:56 of-sls-test-1 patroni[7885]: 2019-10-14 12:05:56,547 INFO: Register service postgres-test, params {'check': {'DeregisterCriticalServiceAfter': '150.0s', 'interval': '5s', 'http': 'http://127.0.0.1:8008/master'}, 'service_id': 'postgres-test/postgres-produc
  43. Oct 14 12:05:56 of-sls-test-1 patroni[7885]: 2019-10-14 12:05:56,552 INFO: initialized a new cluster
  44. Oct 14 12:06:03 of-sls-test-1 systemd[1]: Reloading Runners to orchestrate a high-availability PostgreSQL.
  45. Oct 14 12:06:03 of-sls-test-1 systemd[1]: Reloaded Runners to orchestrate a high-availability PostgreSQL.
  46. Oct 14 12:06:06 of-sls-test-1 patroni[7885]: 2019-10-14 12:06:06,556 INFO: No configuration items changed, nothing to reload.
  47. Oct 14 12:06:06 of-sls-test-1 patroni[7885]: 2019-10-14 12:06:06,561 INFO: Lock owner: postgres-production-node4; I am postgres-production-node4
  48. Oct 14 12:06:06 of-sls-test-1 patroni[7885]: 2019-10-14 12:06:06,565 INFO: Lock owner: postgres-production-node4; I am postgres-production-node4
  49. Oct 14 12:06:06 of-sls-test-1 patroni[7885]: 2019-10-14 12:06:06,570 INFO: no action.  i am the leader with the lock
  50. Oct 14 12:06:16 of-sls-test-1 patroni[7885]: 2019-10-14 12:06:16,534 INFO: Lock owner: postgres-production-node4; I am postgres-production-node4
  51. Oct 14 12:06:16 of-sls-test-1 patroni[7885]: 2019-10-14 12:06:16,544 INFO: no action.  i am the leader with the lock
  52. Oct 14 12:06:26 of-sls-test-1 patroni[7885]: 2019-10-14 12:06:26,536 INFO: Lock owner: postgres-production-node4; I am postgres-production-node4
  53. Oct 14 12:06:26 of-sls-test-1 patroni[7885]: 2019-10-14 12:06:26,539 INFO: no action.  i am the leader with the lock
  54. Oct 14 12:06:36 of-sls-test-1 patroni[7885]: 2019-10-14 12:06:36,534 INFO: Lock owner: postgres-production-node4; I am postgres-production-node4
  55. Oct 14 12:06:36 of-sls-test-1 patroni[7885]: 2019-10-14 12:06:36,538 INFO: no action.  i am the leader with the lock
  56. Oct 14 12:06:46 of-sls-test-1 patroni[7885]: 2019-10-14 12:06:46,534 INFO: Lock owner: postgres-production-node4; I am postgres-production-node4
  57. Oct 14 12:06:46 of-sls-test-1 patroni[7885]: 2019-10-14 12:06:46,537 INFO: no action.  i am the leader with the lock
  58. Oct 14 12:06:56 of-sls-test-1 patroni[7885]: 2019-10-14 12:06:56,535 INFO: Lock owner: postgres-production-node4; I am postgres-production-node4
  59. Oct 14 12:06:56 of-sls-test-1 patroni[7885]: 2019-10-14 12:06:56,538 INFO: no action.  i am the leader with the lock
  60. Oct 14 12:07:06 of-sls-test-1 patroni[7885]: 2019-10-14 12:07:06,534 INFO: Lock owner: postgres-production-node4; I am postgres-production-node4
  61. Oct 14 12:07:06 of-sls-test-1 patroni[7885]: 2019-10-14 12:07:06,542 INFO: no action.  i am the leader with the lock
  62. Oct 14 12:07:16 of-sls-test-1 patroni[7885]: 2019-10-14 12:07:16,534 INFO: Lock owner: postgres-production-node4; I am postgres-production-node4
  63. Oct 14 12:07:16 of-sls-test-1 patroni[7885]: 2019-10-14 12:07:16,537 INFO: no action.  i am the leader with the lock
  64. Oct 14 12:07:26 of-sls-test-1 patroni[7885]: 2019-10-14 12:07:26,534 INFO: Lock owner: postgres-production-node4; I am postgres-production-node4
  65. Oct 14 12:07:26 of-sls-test-1 patroni[7885]: 2019-10-14 12:07:26,541 INFO: no action.  i am the leader with the lock
  66. Oct 14 12:07:36 of-sls-test-1 patroni[7885]: 2019-10-14 12:07:36,535 INFO: Lock owner: postgres-production-node4; I am postgres-production-node4
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement