You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
so I removed the .pid and now postgres won't start
TASK: [PostgreSQL | Ensure PostgreSQL is running] *****************************
failed: [postgres_1] => {"failed": true}
msg: * Starting PostgreSQL 9.3 database server
The PostgreSQL server failed to start. Please check the log output:
2015-03-03 05:21:20 UTC FATAL: "/opt/data1/9.3/main" is not a valid data directory
2015-03-03 05:21:20 UTC DETAIL: File "/opt/data1/9.3/main/PG_VERSION" is missing.
...fail!
FATAL: all hosts have already failed -- aborting
I looked at /opt/data1/9.3/main and the directory is empty.
The text was updated successfully, but these errors were encountered:
I am having trouble deploying to a custom directory /opt/data1
$ cat /etc/lsb-release ; uname -a
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=14.04
DISTRIB_CODENAME=trusty
DISTRIB_DESCRIPTION="Ubuntu 14.04.2 LTS"
Linux postgesql-1 3.13.0-45-generic #74-Ubuntu SMP Tue Jan 13 19:36:28 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
TASK: [PostgreSQL | Restart PostgreSQL] ***************************************
failed: [postgres_1] => {"failed": true}
msg: * Stopping PostgreSQL 9.3 database server
...fail!
...fail!
FATAL: all hosts have already failed -- aborting
PLAY RECAP ********************************************************************
to retry, use: --limit @/home/mark/postgres.retry
postgres_1 : ok=9 changed=8 unreachable=0 failed=1
so I removed the .pid and now postgres won't start
TASK: [PostgreSQL | Ensure PostgreSQL is running] *****************************
failed: [postgres_1] => {"failed": true}
msg: * Starting PostgreSQL 9.3 database server
2015-03-03 05:21:20 UTC FATAL: "/opt/data1/9.3/main" is not a valid data directory
2015-03-03 05:21:20 UTC DETAIL: File "/opt/data1/9.3/main/PG_VERSION" is missing.
...fail!
FATAL: all hosts have already failed -- aborting
I looked at /opt/data1/9.3/main and the directory is empty.
The text was updated successfully, but these errors were encountered: