I distinctly see the pgsql subdirectory in your listing. Usually that is given a mode 700, although that isn't actually necessary if the actual data is in the subdirectory under that. So, you're saying then that you cannot 'cd' into this pgsql subdirectory? And that is a mounted filesystem?
On Wed, Mar 22, 2017 at 1:50 PM, srilinux <srilinux09@xxxxxxxxx> wrote:
Hi
ls -la /var/lib
total 24
drwxr-xr-x. 41 root root 4096 Mar 20 13:44 .
drwxr-xr-x. 23 root root 4096 Mar 20 13:44 ..
drwxr-xr-x. 2 root root 4096 Mar 20 12:25 alternatives
drwx------. 3 root root 17 Sep 1 2016 authconfig
drwxr-xr-x. 2 chrony chrony 18 Mar 22 11:51 chrony
drwxr-xr-x. 2 root root 6 Sep 12 2016 dbus
drwxr-xr-x. 2 root root 6 Mar 20 13:44 dhclient
drwxr-xr-x. 2 root root 6 Sep 13 2016 dnsmasq
drwxr-xr-x. 2 root root 6 May 12 2014 fprint
drwxr-xr-x. 2 root root 6 Mar 10 2016 games
drwxr-xr-x. 4 root root 52 Mar 20 13:45 gssproxy
drwxr-xr-x. 2 root root 27 Aug 26 2015 inital-setup
drwxr-xr-x. 2 root root 6 Oct 5 10:45 initramfs
drwxr-xr-x. 8 root root 84 Aug 18 2016 iscsi
drwxr-xr-x. 3 root root 39 Dec 23 00:48 kpatch
drwxr-xr-x. 2 root root 6 Jul 6 2016 lldpad
drwxr-xr-x. 2 root root 29 Mar 22 03:44 logrotate
-rw-r--r--. 1 root root 763 Nov 12 03:35 logrotate.status.rpmsave
drwx------. 2 root root 6 Jan 16 2016 machines
drwxr-xr-x. 2 root root 36 Mar 10 2016 misc
drwxr-x---. 2 root slocate 23 Mar 22 03:44 mlocate
drwxr-xr-x. 4 root root 60 Mar 20 13:45 net-snmp
drwx------. 2 root root 83 Mar 20 13:45 NetworkManager
drwxr-xr-x. 5 root root 4096 Mar 18 06:03 nfs
drwxr-xr-x. 2 root root 6 Sep 15 2016 os-prober
drwxr-xr-x. 6 root root 52 Aug 26 2016 pcp
drwxr-xr-x. 4 postgres postgres 73 Mar 21 10:10 pgsql
drwxr-xr-x. 2 root root 26 Jul 1 2016 plymouth
drwxr-x---. 3 root polkitd 27 Aug 26 2015 polkit-1
drwx------. 2 postfix root 24 Aug 26 2015 postfix
drwxr-xr-x. 2 root root 49 Nov 12 08:21 redhat_access_insights
drwxr-x---. 5 root root 64 Sep 13 2016 rhsm
drwx------. 2 rpc rpc 6 Aug 2 2016 rpcbind
drwxr-xr-x. 2 root root 4096 Mar 20 19:05 rpm
drwxr-xr-x. 2 root root 6 Mar 10 2016 rpm-state
drwx------. 2 root root 84 Mar 22 12:45 rsyslog
drwxr-xr-x. 3 root root 20 Nov 15 05:23 samba
drwxr-xr-x. 4 root root 33 Sep 12 2016 stateless
drwxr-xr-x. 4 root root 53 Nov 29 08:55 systemd
drwx------. 2 tss tss 6 May 24 2015 tpm
drwxr-xr-x. 2 root root 24 Jul 25 2016 up2date
drwxr-xr-x. 6 root root 75 Mar 18 06:04 yum
--
View this message in context: http://www.postgresql-archive.org/unable-to-find-data- folder-postgres9-4- tp5951044p5951333.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