/etc/init.d/vpostgres status
/etc/init.d/vpostgres restart
pg_ctl: directory "/db/data" is not a database cluster directory
VMware Identity Manager (vIDM, WSA, Workspace One Access) 3.3.7
There can be numerous causes. This article provides two possible issues and we can search for both:
These two issues can be checked for in either order:
If the password for psql users 'repl' or 'postgres' do not match these files, then it will need to be updated:
If either login is not successful then that password needs to be updated in the PSQL prompt on the master DB, with this query:
ALTER USER repl PASSWORD '<new password>'
or
ALTER USER postgres PASSWORD '<new password>'
The /db/data directory is not a place to leave files manually. It is for the postreSQL DB data only.
ls -Al /db/data
ls -Al /db/data
there and compare the listingsls -Al /db/data/pg_xlog
root somegroup
should have their owner changed:
chown postgres:users pg_standard_file
mv /db/data/strangefile.txt /root/