Guest User

Untitled

a guest
Jun 26th, 2020
106
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.50 KB | None | 0 0
  1. [user@HP-Pavilion-g6 .docker]$ docker-compose up
  2. Creating network "docker_default" with the default driver
  3. Creating docker_db_1 ... done
  4. Creating docker_web_1 ... done
  5. Attaching to docker_db_1, docker_web_1
  6. db_1 | The files belonging to this database system will be owned by user "postgres".
  7. db_1 | This user must also own the server process.
  8. db_1 |
  9. db_1 | The database cluster will be initialized with locale "en_US.utf8".
  10. db_1 | The default database encoding has accordingly been set to "UTF8".
  11. db_1 | The default text search configuration will be set to "english".
  12. db_1 |
  13. db_1 | Data page checksums are disabled.
  14. db_1 |
  15. db_1 | fixing permissions on existing directory /var/lib/postgresql/data ... ok
  16. db_1 | creating subdirectories ... ok
  17. db_1 | selecting default max_connections ... 100
  18. db_1 | selecting default shared_buffers ... 128MB
  19. db_1 | selecting default timezone ... Etc/UTC
  20. db_1 | selecting dynamic shared memory implementation ... posix
  21. db_1 | creating configuration files ... ok
  22. db_1 | running bootstrap script ... ok
  23. db_1 | performing post-bootstrap initialization ... ok
  24. db_1 | syncing data to disk ... ok
  25. db_1 |
  26. db_1 | WARNING: enabling "trust" authentication for local connections
  27. db_1 | You can change this by editing pg_hba.conf or using the option -A, or
  28. db_1 | --auth-local and --auth-host, the next time you run initdb.
  29. db_1 |
  30. db_1 | Success. You can now start the database server using:
  31. db_1 |
  32. db_1 | pg_ctl -D /var/lib/postgresql/data -l logfile start
  33. db_1 |
  34. db_1 | waiting for server to start....2020-06-26 05:21:05.945 UTC [46] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
  35. db_1 | 2020-06-26 05:21:06.091 UTC [47] LOG: database system was shut down at 2020-06-26 05:21:04 UTC
  36. db_1 | 2020-06-26 05:21:06.149 UTC [46] LOG: database system is ready to accept connections
  37. db_1 | done
  38. db_1 | server started
  39. db_1 |
  40. db_1 | /usr/local/bin/docker-entrypoint.sh: ignoring /docker-entrypoint-initdb.d/*
  41. db_1 |
  42. db_1 | waiting for server to shut down....2020-06-26 05:21:06.200 UTC [46] LOG: received fast shutdown request
  43. db_1 | 2020-06-26 05:21:06.299 UTC [46] LOG: aborting any active transactions
  44. db_1 | 2020-06-26 05:21:06.303 UTC [46] LOG: worker process: logical replication launcher (PID 53) exited with exit code 1
  45. db_1 | 2020-06-26 05:21:06.303 UTC [48] LOG: shutting down
  46. db_1 | 2020-06-26 05:21:06.610 UTC [46] LOG: database system is shut down
  47. db_1 | done
  48. db_1 | server stopped
  49. db_1 |
  50. db_1 | PostgreSQL init process complete; ready for start up.
  51. db_1 |
  52. db_1 | 2020-06-26 05:21:06.710 UTC [1] LOG: listening on IPv4 address "0.0.0.0", port 5432
  53. db_1 | 2020-06-26 05:21:06.711 UTC [1] LOG: listening on IPv6 address "::", port 5432
  54. db_1 | 2020-06-26 05:21:06.809 UTC [1] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
  55. db_1 | 2020-06-26 05:21:06.933 UTC [55] LOG: database system was shut down at 2020-06-26 05:21:06 UTC
  56. db_1 | 2020-06-26 05:21:06.983 UTC [1] LOG: database system is ready to accept connections
  57. db_1 | 2020-06-26 05:21:32.299 UTC [67] FATAL: role "root" does not exist
  58. db_1 | 2020-06-26 05:22:03.434 UTC [73] FATAL: role "root" does not exist
  59. web_1 | Database connection failure: could not connect to server: No route to host
  60. web_1 | Is the server running on host "db" (172.19.0.2) and accepting
  61. web_1 | TCP/IP connections on port 5432?
  62. web_1 |
  63. docker_web_1 exited with code 1
Add Comment
Please, Sign In to add comment