在Centos系統下安裝nagios最後http訪問可能出現這種報錯:“You don't have permission to access /nagios/ on this server”,如下:
這種錯誤就是提示你沒有權限訪問nagios這項服務
造成這種報錯的原因有多種:
1.可能是文件權限你沒有改成777
2.可能是你httpd.conf這個配置文件有問題等
3.就是系統環境,注意訪問nagios頁面,這個nagios頁面需要php支持。如果你沒有安裝php也會提
示:You don't have permission to access /nagios/ on this server這個錯誤的。
我這裏就是因爲沒有安裝php導致的,yum安裝一下php就行了。
yum -y install php
OK,這樣就能訪問nagios頁面了