Re: unable to find data folder postgres9.4

From: srilinux <srilinux09(at)gmail(dot)com>
To: pgsql-admin(at)postgresql(dot)org
Subject: Re: unable to find data folder postgres9.4
Date: 2017-03-22 16:15:28
Message-ID: 1490199328781-5951282.post@n3.nabble.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Being root user
[root(at)testserver ~]# ls -al /var/lib/psql/
ls: cannot access /var/lib/psql/: No such file or directory
[root(at)testserver ~]# ls -al /var/lib/psql/9.4/
ls: cannot access /var/lib/psql/9.4/: No such file or directory
[root(at)testserver ~]# ls -al /var/lib/psql/9.4/data
ls: cannot access /var/lib/psql/9.4/data: No such file or directory
[root(at)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.

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Yuri Leme 2017-03-22 16:18:36 Re: unable to find data folder postgres9.4
Previous Message Scott Whitney 2017-03-22 16:10:40 Re: unable to find data folder postgres9.4