All your mount points are ok?
On Wed, 22 Mar 2017 at 13:16 srilinux <srilinux09@xxxxxxxxx> wrote:
Being root user
[root@testserver ~]# ls -al /var/lib/psql/
ls: cannot access /var/lib/psql/: No such file or directory
[root@testserver ~]# ls -al /var/lib/psql/9.4/
ls: cannot access /var/lib/psql/9.4/: No such file or directory
[root@testserver ~]# ls -al /var/lib/psql/9.4/data
ls: cannot access /var/lib/psql/9.4/data: No such file or directory
[root@testserver ~]# sudo su - postgres
===============
Being postgress user - output
-bash-4.2$ id
uid=26(postgres)
-bash-4.2$ ls -al /var/lib/psql/
ls: cannot access /var/lib/psql/: No such file or directory
-bash-4.2$ ls -al /var/lib/psql/9.4/
ls: cannot access /var/lib/psql/9.4/: No such file or directory
-bash-4.2$ ls -al /var/lib/psql/9.4/data
ls: cannot access /var/lib/psql/9.4/data: No such file or directory
-bash-4.2$
--
View this message in context: http://www.postgresql-archive.org/unable-to-find-data-folder-postgres9-4-tp5951044p5951282.html
Sent from the PostgreSQL - admin mailing list archive at Nabble.com.
--
Sent via pgsql-admin mailing list (pgsql-admin@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-admin