在通过RPM(RHEL5.3)安装PostgreSQL之后,我想通过一个
"make check" 根据文档测试/usr/share/doc/postgresql93-9.3.4/README.rpm-dist,在/usr/pgsql-9.3/lib/ ==> /regress中
但是,我得到了以下错误:
rm -rf testtablespace results
mkdir testtablespace results
[ -x /usr/bin/chcon ] && /usr/bin/chcon -u system_u -r object_r -t postgresql_db_t testtablespace results
/usr/bin/chcon: can't apply partial context to unlabeled file testtablespace
/usr/bin/chcon: can't apply partial context to unlabeled file results
make: *** [cleandirs] Erreur 1我想,与其说是PostgreSQL pb,不如说是Selinux的问题。有什么帮助或建议吗?谢谢。
发布于 2014-03-21 17:36:16
好了,我成功了。
我工作操作系统禁用了SELinux (/usr/sbin/sestatus)。
check following the >检查cd /usr/pgsql-9.3/lib/test/regress
=======================
136项测试全部通过。
是的!就是这样!
https://stackoverflow.com/questions/22554180
复制相似问题