Created
November 13, 2017 20:22
-
-
Save shalako/7cd886afdb6ac9f8924e60f253553b78 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
==> postgres_ctl.err.log <== | |
[2017-11-13 20:18:58+0000] + main start | |
==> postgres_ctl.log <== | |
[2017-11-13 20:18:58+0000] ------------ STARTING postgres_ctl at Mon Nov 13 20:18:58 UTC 2017 -------------- | |
==> postgres_ctl.err.log <== | |
[2017-11-13 20:18:58+0000] + local action | |
[2017-11-13 20:18:58+0000] + action=start | |
[2017-11-13 20:18:58+0000] + source /var/vcap/jobs/postgres/bin/pgconfig.sh | |
==> postgres_ctl.log <== | |
[2017-11-13 20:18:58+0000] Removing PostgreSQL stale pidfile | |
==> postgres_ctl.err.log <== | |
[2017-11-13 20:18:58+0000] ++ current_version=9.6.4 | |
[2017-11-13 20:18:58+0000] ++ pgversion_current=postgres-9.6.4 | |
[2017-11-13 20:18:58+0000] ++ pgversion_old=postgres-9.6.3 | |
[2017-11-13 20:18:58+0000] ++ pgversion_older=postgres-9.6.2 | |
[2017-11-13 20:18:58+0000] ++ JOB_DIR=/var/vcap/jobs/postgres | |
==> postgres_ctl.log <== | |
[2017-11-13 20:18:58+0000] Starting PostgreSQL: | |
==> postgres_ctl.err.log <== | |
[2017-11-13 20:18:58+0000] ++ PACKAGE_DIR=/var/vcap/packages/postgres-9.6.4 | |
[2017-11-13 20:18:58+0000] ++ STORE_DIR=/var/vcap/store | |
[2017-11-13 20:18:58+0000] ++ PG_STORE_DIR=/var/vcap/store/postgres | |
[2017-11-13 20:18:58+0000] ++ DATA_DIR=/var/vcap/store/postgres/postgres-9.6.4 | |
[2017-11-13 20:18:58+0000] ++ DATA_DIR_PREVIOUS=/var/vcap/store/postgres/postgres-previous | |
[2017-11-13 20:18:58+0000] ++ DATA_DIR_OLD=/var/vcap/store/postgres/postgres-unknown | |
[2017-11-13 20:18:58+0000] ++ PACKAGE_DIR_OLD=/var/vcap/packages/postgres-unknown | |
[2017-11-13 20:18:58+0000] ++ POSTGRES_UPGRADE_LOCK=/var/vcap/store/postgres/POSTGRES_UPGRADE_LOCK | |
[2017-11-13 20:18:58+0000] ++ pgversion_upgrade_from=postgres-unknown | |
[2017-11-13 20:18:58+0000] ++ '[' -d /var/vcap/store/postgres/postgres-9.6.3 -a -f /var/vcap/store/postgres/postgres-9.6.3/postgresql.conf ']' | |
[2017-11-13 20:18:58+0000] ++ '[' -d /var/vcap/store/postgres/postgres-9.6.2 -a -f /var/vcap/store/postgres/postgres-9.6.2/postgresql.conf ']' | |
[2017-11-13 20:18:58+0000] ++ RUN_DIR=/var/vcap/sys/run/postgres | |
[2017-11-13 20:18:58+0000] ++ LOG_DIR=/var/vcap/sys/log/postgres | |
[2017-11-13 20:18:58+0000] ++ PIDFILE=/var/vcap/sys/run/postgres/postgres.pid | |
[2017-11-13 20:18:58+0000] ++ CONTROL_JOB_PIDFILE=/var/vcap/sys/run/postgres/postgresctl.pid | |
[2017-11-13 20:18:58+0000] ++ HOST=0.0.0.0 | |
[2017-11-13 20:18:58+0000] ++ PORT=5524 | |
[2017-11-13 20:18:58+0000] ++ [[ -n '' ]] | |
[2017-11-13 20:18:58+0000] ++ LD_LIBRARY_PATH=/var/vcap/packages/postgres-9.6.4/lib | |
[2017-11-13 20:18:58+0000] + set +u | |
[2017-11-13 20:18:58+0000] + source /var/vcap/packages/postgres-common/utils.sh | |
[2017-11-13 20:18:58+0000] + set -u | |
[2017-11-13 20:18:58+0000] + case "${action}" in | |
[2017-11-13 20:18:58+0000] + pid_guard /var/vcap/sys/run/postgres/postgresctl.pid 'Postgres control job' false | |
[2017-11-13 20:18:58+0000] + local pidfile=/var/vcap/sys/run/postgres/postgresctl.pid | |
[2017-11-13 20:18:58+0000] + local 'name=Postgres control job' | |
[2017-11-13 20:18:58+0000] + local logall=false | |
[2017-11-13 20:18:58+0000] + '[' false == true ']' | |
[2017-11-13 20:18:58+0000] + '[' -f /var/vcap/sys/run/postgres/postgresctl.pid ']' | |
[2017-11-13 20:18:58+0000] ++ head -1 /var/vcap/sys/run/postgres/postgresctl.pid | |
[2017-11-13 20:18:58+0000] + pid=25351 | |
[2017-11-13 20:18:58+0000] + '[' -n 25351 ']' | |
[2017-11-13 20:18:58+0000] + '[' -e /proc/25351 ']' | |
[2017-11-13 20:18:58+0000] + echo 'Removing Postgres control job stale pidfile' | |
[2017-11-13 20:18:58+0000] + rm /var/vcap/sys/run/postgres/postgresctl.pid | |
[2017-11-13 20:18:58+0000] + echo 25854 | |
[2017-11-13 20:18:58+0000] + '[' -d /var/vcap/store/postgres/postgres-9.6.4 -a -f /var/vcap/store/postgres/POSTGRES_UPGRADE_LOCK ']' | |
[2017-11-13 20:18:58+0000] + '[' -d /var/vcap/store/postgres/postgres-unknown -a -f /var/vcap/store/postgres/postgres-unknown/postgresql.conf ']' | |
[2017-11-13 20:18:58+0000] + pid_guard /var/vcap/sys/run/postgres/postgres.pid PostgreSQL | |
[2017-11-13 20:18:58+0000] + local pidfile=/var/vcap/sys/run/postgres/postgres.pid | |
[2017-11-13 20:18:58+0000] + local name=PostgreSQL | |
[2017-11-13 20:18:58+0000] + local logall=true | |
[2017-11-13 20:18:58+0000] + '[' true == true ']' | |
[2017-11-13 20:18:58+0000] + tee /dev/stderr | |
[2017-11-13 20:18:58+0000] ++ basename /var/vcap/jobs/postgres/bin/postgres_ctl | |
[2017-11-13 20:18:58+0000] ++ date | |
[2017-11-13 20:18:58+0000] + echo '------------ STARTING postgres_ctl at Mon Nov 13 20:18:58 UTC 2017 --------------' | |
[2017-11-13 20:18:58+0000] ------------ STARTING postgres_ctl at Mon Nov 13 20:18:58 UTC 2017 -------------- | |
[2017-11-13 20:18:58+0000] + '[' -f /var/vcap/sys/run/postgres/postgres.pid ']' | |
[2017-11-13 20:18:58+0000] ++ head -1 /var/vcap/sys/run/postgres/postgres.pid | |
[2017-11-13 20:18:58+0000] + pid= | |
[2017-11-13 20:18:58+0000] + '[' -n '' ']' | |
[2017-11-13 20:18:58+0000] + echo 'Removing PostgreSQL stale pidfile' | |
[2017-11-13 20:18:58+0000] + rm /var/vcap/sys/run/postgres/postgres.pid | |
[2017-11-13 20:18:58+0000] + mkdir -p /var/vcap/sys/run/postgres | |
[2017-11-13 20:18:58+0000] + echo '' | |
[2017-11-13 20:18:58+0000] + exec /var/vcap/jobs/postgres/bin/postgres_start.sh | |
[2017-11-13 20:18:58+0000] + main | |
[2017-11-13 20:18:58+0000] + source /var/vcap/jobs/postgres/bin/pgconfig.sh | |
[2017-11-13 20:18:58+0000] ++ current_version=9.6.4 | |
[2017-11-13 20:18:58+0000] ++ pgversion_current=postgres-9.6.4 | |
[2017-11-13 20:18:58+0000] ++ pgversion_old=postgres-9.6.3 | |
[2017-11-13 20:18:58+0000] ++ pgversion_older=postgres-9.6.2 | |
[2017-11-13 20:18:58+0000] ++ JOB_DIR=/var/vcap/jobs/postgres | |
[2017-11-13 20:18:58+0000] ++ PACKAGE_DIR=/var/vcap/packages/postgres-9.6.4 | |
[2017-11-13 20:18:58+0000] ++ STORE_DIR=/var/vcap/store | |
[2017-11-13 20:18:58+0000] ++ PG_STORE_DIR=/var/vcap/store/postgres | |
[2017-11-13 20:18:58+0000] ++ DATA_DIR=/var/vcap/store/postgres/postgres-9.6.4 | |
[2017-11-13 20:18:58+0000] ++ DATA_DIR_PREVIOUS=/var/vcap/store/postgres/postgres-previous | |
[2017-11-13 20:18:58+0000] ++ DATA_DIR_OLD=/var/vcap/store/postgres/postgres-unknown | |
[2017-11-13 20:18:58+0000] ++ PACKAGE_DIR_OLD=/var/vcap/packages/postgres-unknown | |
[2017-11-13 20:18:58+0000] ++ POSTGRES_UPGRADE_LOCK=/var/vcap/store/postgres/POSTGRES_UPGRADE_LOCK | |
[2017-11-13 20:18:58+0000] ++ pgversion_upgrade_from=postgres-unknown | |
[2017-11-13 20:18:58+0000] ++ '[' -d /var/vcap/store/postgres/postgres-9.6.3 -a -f /var/vcap/store/postgres/postgres-9.6.3/postgresql.conf ']' | |
[2017-11-13 20:18:58+0000] ++ '[' -d /var/vcap/store/postgres/postgres-9.6.2 -a -f /var/vcap/store/postgres/postgres-9.6.2/postgresql.conf ']' | |
[2017-11-13 20:18:58+0000] ++ RUN_DIR=/var/vcap/sys/run/postgres | |
[2017-11-13 20:18:58+0000] ++ LOG_DIR=/var/vcap/sys/log/postgres | |
[2017-11-13 20:18:58+0000] ++ PIDFILE=/var/vcap/sys/run/postgres/postgres.pid | |
[2017-11-13 20:18:58+0000] ++ CONTROL_JOB_PIDFILE=/var/vcap/sys/run/postgres/postgresctl.pid | |
[2017-11-13 20:18:58+0000] ++ HOST=0.0.0.0 | |
[2017-11-13 20:18:58+0000] ++ PORT=5524 | |
[2017-11-13 20:18:58+0000] ++ [[ -n '' ]] | |
[2017-11-13 20:18:58+0000] ++ LD_LIBRARY_PATH=/var/vcap/packages/postgres-9.6.4/lib | |
[2017-11-13 20:18:58+0000] + source /var/vcap/jobs/postgres/bin/utils.sh | |
[2017-11-13 20:18:58+0000] ++ source /var/vcap/jobs/postgres/bin/pgconfig.sh | |
[2017-11-13 20:18:58+0000] +++ current_version=9.6.4 | |
[2017-11-13 20:18:58+0000] +++ pgversion_current=postgres-9.6.4 | |
[2017-11-13 20:18:58+0000] +++ pgversion_old=postgres-9.6.3 | |
[2017-11-13 20:18:58+0000] +++ pgversion_older=postgres-9.6.2 | |
[2017-11-13 20:18:58+0000] +++ JOB_DIR=/var/vcap/jobs/postgres | |
[2017-11-13 20:18:58+0000] +++ PACKAGE_DIR=/var/vcap/packages/postgres-9.6.4 | |
[2017-11-13 20:18:58+0000] +++ STORE_DIR=/var/vcap/store | |
[2017-11-13 20:18:58+0000] +++ PG_STORE_DIR=/var/vcap/store/postgres | |
[2017-11-13 20:18:58+0000] +++ DATA_DIR=/var/vcap/store/postgres/postgres-9.6.4 | |
[2017-11-13 20:18:58+0000] +++ DATA_DIR_PREVIOUS=/var/vcap/store/postgres/postgres-previous | |
[2017-11-13 20:18:58+0000] +++ DATA_DIR_OLD=/var/vcap/store/postgres/postgres-unknown | |
[2017-11-13 20:18:58+0000] +++ PACKAGE_DIR_OLD=/var/vcap/packages/postgres-unknown | |
[2017-11-13 20:18:58+0000] +++ POSTGRES_UPGRADE_LOCK=/var/vcap/store/postgres/POSTGRES_UPGRADE_LOCK | |
[2017-11-13 20:18:58+0000] +++ pgversion_upgrade_from=postgres-unknown | |
[2017-11-13 20:18:58+0000] +++ '[' -d /var/vcap/store/postgres/postgres-9.6.3 -a -f /var/vcap/store/postgres/postgres-9.6.3/postgresql.conf ']' | |
[2017-11-13 20:18:58+0000] +++ '[' -d /var/vcap/store/postgres/postgres-9.6.2 -a -f /var/vcap/store/postgres/postgres-9.6.2/postgresql.conf ']' | |
[2017-11-13 20:18:58+0000] +++ RUN_DIR=/var/vcap/sys/run/postgres | |
[2017-11-13 20:18:58+0000] +++ LOG_DIR=/var/vcap/sys/log/postgres | |
[2017-11-13 20:18:58+0000] +++ PIDFILE=/var/vcap/sys/run/postgres/postgres.pid | |
[2017-11-13 20:18:58+0000] +++ CONTROL_JOB_PIDFILE=/var/vcap/sys/run/postgres/postgresctl.pid | |
[2017-11-13 20:18:58+0000] +++ HOST=0.0.0.0 | |
[2017-11-13 20:18:58+0000] +++ PORT=5524 | |
[2017-11-13 20:18:58+0000] +++ [[ -n /var/vcap/packages/postgres-9.6.4/lib ]] | |
[2017-11-13 20:18:58+0000] +++ LD_LIBRARY_PATH=/var/vcap/packages/postgres-9.6.4/lib:/var/vcap/packages/postgres-9.6.4/lib | |
[2017-11-13 20:18:58+0000] + '[' '!' -d /var/vcap/store ']' | |
[2017-11-13 20:18:58+0000] + '[' -d /var/vcap/store/postgres/postgres-9.6.4 -a -f /var/vcap/store/postgres/POSTGRES_UPGRADE_LOCK ']' | |
[2017-11-13 20:18:58+0000] + '[' '!' -f /var/vcap/store/postgres/postgres-9.6.4/postgresql.conf ']' | |
[2017-11-13 20:18:58+0000] + '[' -d /var/vcap/store/postgres/postgres-unknown -a -f /var/vcap/store/postgres/postgres-unknown/postgresql.conf ']' | |
[2017-11-13 20:18:58+0000] + cp /var/vcap/jobs/postgres/config/postgresql.conf /var/vcap/jobs/postgres/config/pg_hba.conf /var/vcap/jobs/postgres/config/pg_ident.conf /var/vcap/store/postgres/postgres-9.6.4 | |
[2017-11-13 20:18:58+0000] + echo 'Starting PostgreSQL: ' | |
[2017-11-13 20:18:58+0000] + /var/vcap/packages/postgres-9.6.4/bin/pg_ctl -o '-h 0.0.0.0 -p 5524' -w start -D /var/vcap/store/postgres/postgres-9.6.4 -l /var/vcap/store/postgres/postgres-9.6.4/pg_log/startup.log | |
[2017-11-13 20:18:59+0000] pg_ctl: could not start server | |
==> postgres_ctl.log <== | |
[2017-11-13 20:18:59+0000] waiting for server to start.... stopped waiting | |
==> postgres_ctl.err.log <== | |
[2017-11-13 20:18:59+0000] Examine the log output. | |
==> postgres_ctl.log <== | |
[2017-11-13 20:20:38+0000] Removing Postgres control job stale pidfile | |
==> postgres_ctl.err.log <== | |
[2017-11-13 20:20:38+0000] + main start | |
[2017-11-13 20:20:38+0000] + local action | |
==> postgres_ctl.log <== | |
[2017-11-13 20:20:38+0000] ------------ STARTING postgres_ctl at Mon Nov 13 20:20:38 UTC 2017 -------------- | |
==> postgres_ctl.err.log <== | |
[2017-11-13 20:20:38+0000] + action=start | |
[2017-11-13 20:20:38+0000] + source /var/vcap/jobs/postgres/bin/pgconfig.sh | |
[2017-11-13 20:20:38+0000] ++ current_version=9.6.4 | |
[2017-11-13 20:20:38+0000] ++ pgversion_current=postgres-9.6.4 | |
[2017-11-13 20:20:38+0000] ++ pgversion_old=postgres-9.6.3 | |
[2017-11-13 20:20:38+0000] ++ pgversion_older=postgres-9.6.2 | |
[2017-11-13 20:20:38+0000] ++ JOB_DIR=/var/vcap/jobs/postgres | |
==> postgres_ctl.log <== | |
[2017-11-13 20:20:38+0000] Removing PostgreSQL stale pidfile | |
==> postgres_ctl.err.log <== | |
[2017-11-13 20:20:38+0000] ++ PACKAGE_DIR=/var/vcap/packages/postgres-9.6.4 | |
[2017-11-13 20:20:38+0000] ++ STORE_DIR=/var/vcap/store | |
==> postgres_ctl.log <== | |
[2017-11-13 20:20:38+0000] Starting PostgreSQL: | |
==> postgres_ctl.err.log <== | |
[2017-11-13 20:20:38+0000] ++ PG_STORE_DIR=/var/vcap/store/postgres | |
[2017-11-13 20:20:38+0000] ++ DATA_DIR=/var/vcap/store/postgres/postgres-9.6.4 | |
[2017-11-13 20:20:38+0000] ++ DATA_DIR_PREVIOUS=/var/vcap/store/postgres/postgres-previous | |
[2017-11-13 20:20:38+0000] ++ DATA_DIR_OLD=/var/vcap/store/postgres/postgres-unknown | |
[2017-11-13 20:20:38+0000] ++ PACKAGE_DIR_OLD=/var/vcap/packages/postgres-unknown | |
[2017-11-13 20:20:38+0000] ++ POSTGRES_UPGRADE_LOCK=/var/vcap/store/postgres/POSTGRES_UPGRADE_LOCK | |
[2017-11-13 20:20:38+0000] ++ pgversion_upgrade_from=postgres-unknown | |
[2017-11-13 20:20:38+0000] ++ '[' -d /var/vcap/store/postgres/postgres-9.6.3 -a -f /var/vcap/store/postgres/postgres-9.6.3/postgresql.conf ']' | |
[2017-11-13 20:20:38+0000] ++ '[' -d /var/vcap/store/postgres/postgres-9.6.2 -a -f /var/vcap/store/postgres/postgres-9.6.2/postgresql.conf ']' | |
[2017-11-13 20:20:38+0000] ++ RUN_DIR=/var/vcap/sys/run/postgres | |
[2017-11-13 20:20:38+0000] ++ LOG_DIR=/var/vcap/sys/log/postgres | |
[2017-11-13 20:20:38+0000] ++ PIDFILE=/var/vcap/sys/run/postgres/postgres.pid | |
[2017-11-13 20:20:38+0000] ++ CONTROL_JOB_PIDFILE=/var/vcap/sys/run/postgres/postgresctl.pid | |
[2017-11-13 20:20:38+0000] ++ HOST=0.0.0.0 | |
[2017-11-13 20:20:38+0000] ++ PORT=5524 | |
[2017-11-13 20:20:38+0000] ++ [[ -n '' ]] | |
[2017-11-13 20:20:38+0000] ++ LD_LIBRARY_PATH=/var/vcap/packages/postgres-9.6.4/lib | |
[2017-11-13 20:20:38+0000] + set +u | |
[2017-11-13 20:20:38+0000] + source /var/vcap/packages/postgres-common/utils.sh | |
[2017-11-13 20:20:38+0000] + set -u | |
[2017-11-13 20:20:38+0000] + case "${action}" in | |
[2017-11-13 20:20:38+0000] + pid_guard /var/vcap/sys/run/postgres/postgresctl.pid 'Postgres control job' false | |
[2017-11-13 20:20:38+0000] + local pidfile=/var/vcap/sys/run/postgres/postgresctl.pid | |
[2017-11-13 20:20:38+0000] + local 'name=Postgres control job' | |
[2017-11-13 20:20:38+0000] + local logall=false | |
[2017-11-13 20:20:38+0000] + '[' false == true ']' | |
[2017-11-13 20:20:38+0000] + '[' -f /var/vcap/sys/run/postgres/postgresctl.pid ']' | |
[2017-11-13 20:20:38+0000] ++ head -1 /var/vcap/sys/run/postgres/postgresctl.pid | |
[2017-11-13 20:20:38+0000] + pid=25854 | |
[2017-11-13 20:20:38+0000] + '[' -n 25854 ']' | |
[2017-11-13 20:20:38+0000] + '[' -e /proc/25854 ']' | |
[2017-11-13 20:20:38+0000] + echo 'Removing Postgres control job stale pidfile' | |
[2017-11-13 20:20:38+0000] + rm /var/vcap/sys/run/postgres/postgresctl.pid | |
[2017-11-13 20:20:38+0000] + echo 26356 | |
[2017-11-13 20:20:38+0000] + '[' -d /var/vcap/store/postgres/postgres-9.6.4 -a -f /var/vcap/store/postgres/POSTGRES_UPGRADE_LOCK ']' | |
[2017-11-13 20:20:38+0000] + '[' -d /var/vcap/store/postgres/postgres-unknown -a -f /var/vcap/store/postgres/postgres-unknown/postgresql.conf ']' | |
[2017-11-13 20:20:38+0000] + pid_guard /var/vcap/sys/run/postgres/postgres.pid PostgreSQL | |
[2017-11-13 20:20:38+0000] + local pidfile=/var/vcap/sys/run/postgres/postgres.pid | |
[2017-11-13 20:20:38+0000] + local name=PostgreSQL | |
[2017-11-13 20:20:38+0000] + local logall=true | |
[2017-11-13 20:20:38+0000] + '[' true == true ']' | |
[2017-11-13 20:20:38+0000] + tee /dev/stderr | |
[2017-11-13 20:20:38+0000] ++ basename /var/vcap/jobs/postgres/bin/postgres_ctl | |
[2017-11-13 20:20:38+0000] ++ date | |
[2017-11-13 20:20:38+0000] + echo '------------ STARTING postgres_ctl at Mon Nov 13 20:20:38 UTC 2017 --------------' | |
[2017-11-13 20:20:38+0000] ------------ STARTING postgres_ctl at Mon Nov 13 20:20:38 UTC 2017 -------------- | |
[2017-11-13 20:20:38+0000] + '[' -f /var/vcap/sys/run/postgres/postgres.pid ']' | |
[2017-11-13 20:20:38+0000] ++ head -1 /var/vcap/sys/run/postgres/postgres.pid | |
[2017-11-13 20:20:38+0000] + pid= | |
[2017-11-13 20:20:38+0000] + '[' -n '' ']' | |
[2017-11-13 20:20:38+0000] + echo 'Removing PostgreSQL stale pidfile' | |
[2017-11-13 20:20:38+0000] + rm /var/vcap/sys/run/postgres/postgres.pid | |
[2017-11-13 20:20:38+0000] + mkdir -p /var/vcap/sys/run/postgres | |
[2017-11-13 20:20:38+0000] + echo '' | |
[2017-11-13 20:20:38+0000] + exec /var/vcap/jobs/postgres/bin/postgres_start.sh | |
[2017-11-13 20:20:38+0000] + main | |
[2017-11-13 20:20:38+0000] + source /var/vcap/jobs/postgres/bin/pgconfig.sh | |
[2017-11-13 20:20:38+0000] ++ current_version=9.6.4 | |
[2017-11-13 20:20:38+0000] ++ pgversion_current=postgres-9.6.4 | |
[2017-11-13 20:20:38+0000] ++ pgversion_old=postgres-9.6.3 | |
[2017-11-13 20:20:38+0000] ++ pgversion_older=postgres-9.6.2 | |
[2017-11-13 20:20:38+0000] ++ JOB_DIR=/var/vcap/jobs/postgres | |
[2017-11-13 20:20:38+0000] ++ PACKAGE_DIR=/var/vcap/packages/postgres-9.6.4 | |
[2017-11-13 20:20:38+0000] ++ STORE_DIR=/var/vcap/store | |
[2017-11-13 20:20:38+0000] ++ PG_STORE_DIR=/var/vcap/store/postgres | |
[2017-11-13 20:20:38+0000] ++ DATA_DIR=/var/vcap/store/postgres/postgres-9.6.4 | |
[2017-11-13 20:20:38+0000] ++ DATA_DIR_PREVIOUS=/var/vcap/store/postgres/postgres-previous | |
[2017-11-13 20:20:38+0000] ++ DATA_DIR_OLD=/var/vcap/store/postgres/postgres-unknown | |
[2017-11-13 20:20:38+0000] ++ PACKAGE_DIR_OLD=/var/vcap/packages/postgres-unknown | |
[2017-11-13 20:20:38+0000] ++ POSTGRES_UPGRADE_LOCK=/var/vcap/store/postgres/POSTGRES_UPGRADE_LOCK | |
[2017-11-13 20:20:38+0000] ++ pgversion_upgrade_from=postgres-unknown | |
[2017-11-13 20:20:38+0000] ++ '[' -d /var/vcap/store/postgres/postgres-9.6.3 -a -f /var/vcap/store/postgres/postgres-9.6.3/postgresql.conf ']' | |
[2017-11-13 20:20:38+0000] ++ '[' -d /var/vcap/store/postgres/postgres-9.6.2 -a -f /var/vcap/store/postgres/postgres-9.6.2/postgresql.conf ']' | |
[2017-11-13 20:20:38+0000] ++ RUN_DIR=/var/vcap/sys/run/postgres | |
[2017-11-13 20:20:38+0000] ++ LOG_DIR=/var/vcap/sys/log/postgres | |
[2017-11-13 20:20:38+0000] ++ PIDFILE=/var/vcap/sys/run/postgres/postgres.pid | |
[2017-11-13 20:20:38+0000] ++ CONTROL_JOB_PIDFILE=/var/vcap/sys/run/postgres/postgresctl.pid | |
[2017-11-13 20:20:38+0000] ++ HOST=0.0.0.0 | |
[2017-11-13 20:20:38+0000] ++ PORT=5524 | |
[2017-11-13 20:20:38+0000] ++ [[ -n '' ]] | |
[2017-11-13 20:20:38+0000] ++ LD_LIBRARY_PATH=/var/vcap/packages/postgres-9.6.4/lib | |
[2017-11-13 20:20:38+0000] + source /var/vcap/jobs/postgres/bin/utils.sh | |
[2017-11-13 20:20:38+0000] ++ source /var/vcap/jobs/postgres/bin/pgconfig.sh | |
[2017-11-13 20:20:38+0000] +++ current_version=9.6.4 | |
[2017-11-13 20:20:38+0000] +++ pgversion_current=postgres-9.6.4 | |
[2017-11-13 20:20:38+0000] +++ pgversion_old=postgres-9.6.3 | |
[2017-11-13 20:20:38+0000] +++ pgversion_older=postgres-9.6.2 | |
[2017-11-13 20:20:38+0000] +++ JOB_DIR=/var/vcap/jobs/postgres | |
[2017-11-13 20:20:38+0000] +++ PACKAGE_DIR=/var/vcap/packages/postgres-9.6.4 | |
[2017-11-13 20:20:38+0000] +++ STORE_DIR=/var/vcap/store | |
[2017-11-13 20:20:38+0000] +++ PG_STORE_DIR=/var/vcap/store/postgres | |
[2017-11-13 20:20:38+0000] +++ DATA_DIR=/var/vcap/store/postgres/postgres-9.6.4 | |
[2017-11-13 20:20:38+0000] +++ DATA_DIR_PREVIOUS=/var/vcap/store/postgres/postgres-previous | |
[2017-11-13 20:20:38+0000] +++ DATA_DIR_OLD=/var/vcap/store/postgres/postgres-unknown | |
[2017-11-13 20:20:38+0000] +++ PACKAGE_DIR_OLD=/var/vcap/packages/postgres-unknown | |
[2017-11-13 20:20:38+0000] +++ POSTGRES_UPGRADE_LOCK=/var/vcap/store/postgres/POSTGRES_UPGRADE_LOCK | |
[2017-11-13 20:20:38+0000] +++ pgversion_upgrade_from=postgres-unknown | |
[2017-11-13 20:20:38+0000] +++ '[' -d /var/vcap/store/postgres/postgres-9.6.3 -a -f /var/vcap/store/postgres/postgres-9.6.3/postgresql.conf ']' | |
[2017-11-13 20:20:38+0000] +++ '[' -d /var/vcap/store/postgres/postgres-9.6.2 -a -f /var/vcap/store/postgres/postgres-9.6.2/postgresql.conf ']' | |
[2017-11-13 20:20:38+0000] +++ RUN_DIR=/var/vcap/sys/run/postgres | |
[2017-11-13 20:20:38+0000] +++ LOG_DIR=/var/vcap/sys/log/postgres | |
[2017-11-13 20:20:38+0000] +++ PIDFILE=/var/vcap/sys/run/postgres/postgres.pid | |
[2017-11-13 20:20:38+0000] +++ CONTROL_JOB_PIDFILE=/var/vcap/sys/run/postgres/postgresctl.pid | |
[2017-11-13 20:20:38+0000] +++ HOST=0.0.0.0 | |
[2017-11-13 20:20:38+0000] +++ PORT=5524 | |
[2017-11-13 20:20:38+0000] +++ [[ -n /var/vcap/packages/postgres-9.6.4/lib ]] | |
[2017-11-13 20:20:38+0000] +++ LD_LIBRARY_PATH=/var/vcap/packages/postgres-9.6.4/lib:/var/vcap/packages/postgres-9.6.4/lib | |
[2017-11-13 20:20:38+0000] + '[' '!' -d /var/vcap/store ']' | |
[2017-11-13 20:20:38+0000] + '[' -d /var/vcap/store/postgres/postgres-9.6.4 -a -f /var/vcap/store/postgres/POSTGRES_UPGRADE_LOCK ']' | |
[2017-11-13 20:20:38+0000] + '[' '!' -f /var/vcap/store/postgres/postgres-9.6.4/postgresql.conf ']' | |
[2017-11-13 20:20:38+0000] + '[' -d /var/vcap/store/postgres/postgres-unknown -a -f /var/vcap/store/postgres/postgres-unknown/postgresql.conf ']' | |
[2017-11-13 20:20:38+0000] + cp /var/vcap/jobs/postgres/config/postgresql.conf /var/vcap/jobs/postgres/config/pg_hba.conf /var/vcap/jobs/postgres/config/pg_ident.conf /var/vcap/store/postgres/postgres-9.6.4 | |
[2017-11-13 20:20:38+0000] + echo 'Starting PostgreSQL: ' | |
[2017-11-13 20:20:38+0000] + /var/vcap/packages/postgres-9.6.4/bin/pg_ctl -o '-h 0.0.0.0 -p 5524' -w start -D /var/vcap/store/postgres/postgres-9.6.4 -l /var/vcap/store/postgres/postgres-9.6.4/pg_log/startup.log | |
==> postgres_ctl.log <== | |
[2017-11-13 20:20:39+0000] waiting for server to start.... stopped waiting | |
==> postgres_ctl.err.log <== | |
[2017-11-13 20:20:39+0000] pg_ctl: could not start server | |
[2017-11-13 20:20:39+0000] Examine the log output. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment