我目前紅帽企業Linux服務器上運行的Zend服務器5.6.0(PHP 5.3)釋放6.4(聖地亞哥)嘗試升級到Zend服務器6.0.1
我希望升級到Zend服務器6.0 .1但我是否自動嘗試(通過install_zs文件)或手動(編輯/etc/yum.repos.d/zend.repo)我得到相同的消息。
# yum update
...
Error: Package: zend-server-php-5.3-6.0.1-662.x86_64 (Zend)
Requires: /usr/sbin/semanage
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
我不願意使用--skip-broken,因爲我覺得它會導致問題。
我會指出SELinux安裝在服務器上,但被禁用。我通過編輯/ etc/selinux/config文件來驗證這一點。
# This file controls the state of SELinux on the system.
# SELINUX= can take one of these three values:
# enforcing - SELinux security policy is enforced.
# permissive - SELinux prints warnings instead of enforcing.
# disabled - SELinux is fully disabled.
SELINUX=disabled
# SELINUXTYPE= type of policy in use. Possible values are:
# targeted - Only targeted network daemons are protected.
# strict - Full SELinux protection.
SELINUXTYPE=targeted
文件/ usr/sbin/semanage不存在。我已經做了很多工作來找出爲什麼導致我安裝SELinux,但它已安裝並且是最新版本。
有沒有其他人有這個問題?
我編輯了/ etc/selinux/config並設置了SELINUX = permissive然後重啓了服務器,但是我收到了同樣的錯誤。 –