<分区>
我的 postgres 正在使用这个 hba 文件
/var/lib/pgsql/9.1/data/pg_hba.conf
但是我不能进入/var/lib/pgsql/9.1/data
文件夹,它说权限被拒绝,这些是所有文件的权限
total 92
drwx------ 19 postgres postgres 4096 Jan 27 15:05 base
drwx------ 2 postgres postgres 4096 Jan 27 22:42 global
drwx------ 2 postgres postgres 4096 Apr 25 2013 pg_clog
-rw------- 1 postgres postgres 4377 Jan 27 22:57 pg_hba.conf
-rw------- 1 postgres postgres 1636 Apr 25 2013 pg_ident.conf
drwx------ 2 postgres postgres 4096 May 2 2013 pg_log
drwx------ 4 postgres postgres 4096 Apr 25 2013 pg_multixact
drwx------ 2 postgres postgres 4096 Jan 27 17:34 pg_notify
drwx------ 2 postgres postgres 4096 Apr 25 2013 pg_serial
drwx------ 2 postgres postgres 4096 Jan 27 23:01 pg_stat_tmp
drwx------ 2 postgres postgres 4096 Apr 25 2013 pg_subtrans
drwx------ 2 postgres postgres 4096 Apr 25 2013 pg_tblspc
drwx------ 2 postgres postgres 4096 Apr 25 2013 pg_twophase
-rw------- 1 postgres postgres 4 Apr 25 2013 PG_VERSION
drwx------ 3 postgres postgres 4096 Jan 27 15:05 pg_xlog
-rw------- 1 postgres postgres 19136 Apr 27 2013 postgresql.conf
-rw------- 1 postgres postgres 71 Jan 27 17:34 postmaster.opts
-rw------- 1 postgres postgres 72 Jan 27 17:34 postmaster.pid
我想知道这样可以吗。或者我需要改变它们
我正在尝试重新启动
sudo service postgresql start
Starting postgresql service: [FAILED]
我想看看失败的原因,但不知道日志文件在哪里