-
Notifications
You must be signed in to change notification settings - Fork 30
Open
Description
Works pretty fine with psql 9.4 on CentOS 7.2, but not with 9.5
Following error while running the playbook:
RUNNING HANDLER [patrik.uytterhoeven.PostgreSQL-For-RHEL6x : restart postgresql] ***
fatal: [localhost]: FAILED! => {"changed": false, "failed": true, "msg": "Job for postgresql-9.5.service failed because the control process exited with error code. See \"systemctl status postgresql-9.5.service\" and \"journalctl -xe\" for details.\n"}
to retry, use: --limit @playbooks/database/main.retry
PLAY RECAP *********************************************************************
localhost : ok=23 changed=15 unreachable=0 failed=1
systemctl status postgresql-9.5.service
● postgresql-9.5.service - PostgreSQL 9.5 database server
Loaded: loaded (/etc/systemd/system/postgresql-9.5.service; disabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Wed 2016-04-13 07:51:19 CEST; 14s ago
Process: 6342 ExecStart=/usr/pgsql-9.5/bin/pg_ctl start -D ${PGDATA} -s -w -t 300 (code=exited, status=1/FAILURE)
Process: 6336 ExecStartPre=/usr/pgsql-9.5/bin/postgresql95-check-db-dir ${PGDATA} (code=exited, status=0/SUCCESS)
Apr 13 07:51:18 nlihmoodle01.hosting.local systemd[1]: Starting PostgreSQL 9.5 database server...
Apr 13 07:51:18 nlihmoodle01.hosting.local pg_ctl[6342]: **LOG: unrecognized configuration parameter "checkpoint_segments" in file "/var/lib/pgsql/9.5/data/postgresql.conf" line 161**
Apr 13 07:51:18 nlihmoodle01.hosting.local pg_ctl[6342]: **FATAL: configuration file "/var/lib/pgsql/9.5/data/postgresql.conf" contains errors**
Apr 13 07:51:19 nlihmoodle01.hosting.local pg_ctl[6342]: pg_ctl: could not start server
Apr 13 07:51:19 nlihmoodle01.hosting.local pg_ctl[6342]: Examine the log output.
Apr 13 07:51:19 nlihmoodle01.hosting.local systemd[1]: postgresql-9.5.service: control process exited, code=exited status=1
Apr 13 07:51:19 nlihmoodle01.hosting.local systemd[1]: Failed to start PostgreSQL 9.5 database server.
Apr 13 07:51:19 nlihmoodle01.hosting.local systemd[1]: Unit postgresql-9.5.service entered failed state.
Apr 13 07:51:19 nlihmoodle01.hosting.local systemd[1]: postgresql-9.5.service failed.
Playbook:
roles:
- patrik.uytterhoeven.PostgreSQL-For-RHEL6x
vars:
postgresql_version: 9.5
postgresql_admin_user: "postgres"
postgresql_default_auth_method: "trust"
Metadata
Metadata
Assignees
Labels
No labels