Skip to content

Instantly share code, notes, and snippets.

@raner
Created November 30, 2017 00:36
Show Gist options
  • Save raner/80d19bd2954ac4abd2416444cc6f4f9c to your computer and use it in GitHub Desktop.
Save raner/80d19bd2954ac4abd2416444cc6f4f9c to your computer and use it in GitHub Desktop.
Docker log for Sonar DB container
[ec2-user@ip-172-31-38-83 sonar]$ docker logs 80ee9ba519c4
The files belonging to this database system will be owned by user "postgres".
This user must also own the server process.
The database cluster will be initialized with locale "en_US.utf8".
The default database encoding has accordingly been set to "UTF8".
The default text search configuration will be set to "english".
Data page checksums are disabled.
fixing permissions on existing directory /var/lib/postgresql/data ... ok
creating subdirectories ... ok
selecting default max_connections ... 100
selecting default shared_buffers ... 128MB
selecting dynamic shared memory implementation ... posix
creating configuration files ... ok
running bootstrap script ... ok
performing post-bootstrap initialization ... ok
syncing data to disk ... ok
Success. You can now start the database server using:
pg_ctl -D /var/lib/postgresql/data -l logfile start
WARNING: enabling "trust" authentication for local connections
You can change this by editing pg_hba.conf or using the option -A, or
--auth-local and --auth-host, the next time you run initdb.
waiting for server to start....2017-11-29 22:50:00.602 UTC [40] LOG: listening on IPv4 address "127.0.0.1", port 5432
2017-11-29 22:50:00.602 UTC [40] LOG: could not bind IPv6 address "::1": Cannot assign requested address
2017-11-29 22:50:00.602 UTC [40] HINT: Is another postmaster already running on port 5432? If not, wait a few seconds and retry.
2017-11-29 22:50:00.606 UTC [40] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
2017-11-29 22:50:00.622 UTC [41] LOG: database system was shut down at 2017-11-29 22:50:00 UTC
2017-11-29 22:50:00.629 UTC [40] LOG: database system is ready to accept connections
done
server started
CREATE DATABASE
CREATE ROLE
/usr/local/bin/docker-entrypoint.sh: ignoring /docker-entrypoint-initdb.d/*
2017-11-29 22:50:01.171 UTC [40] LOG: received fast shutdown request
waiting for server to shut down....2017-11-29 22:50:01.174 UTC [40] LOG: aborting any active transactions
2017-11-29 22:50:01.177 UTC [40] LOG: worker process: logical replication launcher (PID 47) exited with exit code 1
2017-11-29 22:50:01.181 UTC [42] LOG: shutting down
2017-11-29 22:50:01.204 UTC [40] LOG: database system is shut down
done
server stopped
PostgreSQL init process complete; ready for start up.
2017-11-29 22:50:01.284 UTC [1] LOG: listening on IPv4 address "0.0.0.0", port 5432
2017-11-29 22:50:01.284 UTC [1] LOG: listening on IPv6 address "::", port 5432
2017-11-29 22:50:01.288 UTC [1] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
2017-11-29 22:50:01.301 UTC [67] LOG: database system was shut down at 2017-11-29 22:50:01 UTC
2017-11-29 22:50:01.306 UTC [1] LOG: database system is ready to accept connections
2017-11-29 22:50:13.040 UTC [75] ERROR: relation "schema_migrations" does not exist at character 15
2017-11-29 22:50:13.040 UTC [75] STATEMENT: select * from schema_migrations
2017-11-29 22:50:14.316 UTC [75] ERROR: relation "schema_migrations" does not exist at character 15
2017-11-29 22:50:14.316 UTC [75] STATEMENT: select * from schema_migrations
2017-11-29 22:50:14.611 UTC [75] ERROR: relation "schema_migrations" does not exist at character 15
2017-11-29 22:50:14.611 UTC [75] STATEMENT: select * from schema_migrations
2017-11-29 22:50:26.002 UTC [75] ERROR: relation "schema_info" does not exist at character 15
2017-11-29 22:50:26.002 UTC [75] STATEMENT: SELECT * FROM "schema_info" LIMIT 1
2017-11-29 22:56:45.749 UTC [1] LOG: received smart shutdown request
2017-11-29 22:56:45.752 UTC [1] LOG: worker process: logical replication launcher (PID 73) exited with exit code 1
2017-11-29 22:56:45.753 UTC [68] LOG: shutting down
2017-11-29 22:56:45.765 UTC [1] LOG: database system is shut down
2017-11-29 22:56:56.364 UTC [1] LOG: listening on IPv4 address "0.0.0.0", port 5432
2017-11-29 22:56:56.364 UTC [1] LOG: listening on IPv6 address "::", port 5432
2017-11-29 22:56:56.370 UTC [1] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
2017-11-29 22:56:56.396 UTC [24] LOG: database system was shut down at 2017-11-29 22:56:45 UTC
2017-11-29 22:56:56.402 UTC [1] LOG: database system is ready to accept connections
2017-11-29 22:58:18.710 UTC [1] LOG: received smart shutdown request
2017-11-29 22:58:18.713 UTC [1] LOG: worker process: logical replication launcher (PID 30) exited with exit code 1
2017-11-29 22:58:18.714 UTC [25] LOG: shutting down
2017-11-29 22:58:18.732 UTC [1] LOG: database system is shut down
2017-11-29 23:01:54.622 UTC [1] LOG: listening on IPv4 address "0.0.0.0", port 5432
2017-11-29 23:01:54.622 UTC [1] LOG: listening on IPv6 address "::", port 5432
2017-11-29 23:01:54.625 UTC [1] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
2017-11-29 23:01:54.663 UTC [22] LOG: database system was shut down at 2017-11-29 22:58:18 UTC
2017-11-29 23:01:54.667 UTC [1] LOG: database system is ready to accept connections
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment