歡迎您光臨本站 註冊首頁

安裝RRDTOOL后沒有圖片顯示{已經解決}

←手機掃碼閱讀     火星人 @ 2014-03-04 , reply:0

安裝RRDTOOL后沒有圖片顯示{已經解決}

狀態都正常 數據也能取到 可就是顯示不了圖片 鬱悶啊

LOG顯示如下
Sep 20 21:07:45 Monitor kernel: audit(1221916065.622:2723): avc:  denied  { execute } for  pid=26656 comm="sh" name="rrdtool" dev=hda1 ino=2179543 scontext=root:system_r:httpd_sys_script_t tcontext=root:object_r:usr_t tclass=file
Sep 20 21:07:45 Monitor kernel: audit(1221916065.624:2724): avc:  denied  { execute } for  pid=26656 comm="sh" name="rrdtool" dev=hda1 ino=2179543 scontext=root:system_r:httpd_sys_script_t tcontext=root:object_r:usr_t tclass=file
Sep 20 21:07:45 Monitor kernel: audit(1221916065.794:2725): avc:  denied  { execute } for  pid=26657 comm="sh" name="rrdtool" dev=hda1 ino=2179543 scontext=root:system_r:httpd_sys_script_t tcontext=root:object_r:usr_t tclass=file
Sep 20 21:07:45 Monitor kernel: audit(1221916065.796:2726): avc:  denied  { execute } for  pid=26657 comm="sh" name="rrdtool" dev=hda1 ino=2179543 scontext=root:system_r:httpd_sys_script_t tcontext=root:object_r:usr_t tclass=file
Sep 20 21:07:45 Monitor kernel: audit(1221916065.843:2727): avc:  denied  { execute } for  pid=26658 comm="sh" name="rrdtool" dev=hda1 ino=2179543 scontext=root:system_r:httpd_sys_script_t tcontext=root:object_r:usr_t tclass=file
Sep 20 21:07:45 Monitor kernel: audit(1221916065.845:2728): avc:  denied  { execute } for  pid=26658 comm="sh" name="rrdtool" dev=hda1 ino=2179543 scontext=root:system_r:httpd_sys_script_t tcontext=root:object_r:usr_t tclass=file
Sep 20 21:07:45 Monitor kernel: audit(1221916065.858:2729): avc:  denied  { execute } for  pid=26654 comm="sh" name="rrdtool" dev=hda1 ino=2179543 scontext=root:system_r:httpd_sys_script_t tcontext=root:object_r:usr_t tclass=file
Sep 20 21:07:45 Monitor kernel: audit(1221916065.860:2730): avc:  denied  { execute } for  pid=26654 comm="sh" name="rrdtool" dev=hda1 ino=2179543 scontext=root:system_r:httpd_sys_script_t tcontext=root:object_r:usr_t tclass=file
Sep 20 21:07:45 Monitor kernel: audit(1221916065.977:2731): avc:  denied  { execute } for  pid=26660 comm="sh" name="rrdtool" dev=hda1 ino=2179543 scontext=root:system_r:httpd_sys_script_t tcontext=root:object_r:usr_t tclass=file
Sep 20 21:07:45 Monitor kernel: audit(1221916065.979:2732): avc:  denied  { execute } for  pid=26660 comm="sh" name="rrdtool" dev=hda1 ino=2179543 scontext=root:system_r:httpd_sys_script_t tcontext=root:object_r:usr_t tclass=file
Sep 20 21:07:46 Monitor kernel: audit(1221916066.017:2733): avc:  denied  { execute } for  pid=26661 comm="sh" name="rrdtool" dev=hda1 ino=2179543 scontext=root:system_r:httpd_sys_script_t tcontext=root:object_r:usr_t tclass=file
Sep 20 21:07:46 Monitor kernel: audit(1221916066.019:2734): avc:  denied  { execute } for  pid=26661 comm="sh" name="rrdtool" dev=hda1 ino=2179543 scontext=root:system_r:httpd_sys_script_t tcontext=root:object_r:usr_t tclass=file
Sep 20 21:07:46 Monitor kernel: audit(1221916066.048:2735): avc:  denied  { execute } for  pid=26662 comm="sh" name="rrdtool" dev=hda1 ino=2179543 scontext=root:system_r:httpd_sys_script_t tcontext=root:object_r:usr_t tclass=file
Sep 20 21:07:46 Monitor kernel: audit(1221916066.052:2736): avc:  denied  { execute } for  pid=26662 comm="sh" name="rrdtool" dev=hda1 ino=2179543 scontext=root:system_r:httpd_sys_script_t tcontext=root:object_r:usr_t tclass=file
Sep 20 21:07:46 Monitor kernel: audit(1221916066.102:2737): avc:  denied  { execute } for  pid=26663 comm="sh" name="rrdtool" dev=hda1 ino=2179543 scontext=root:system_r:httpd_sys_script_t tcontext=root:object_r:usr_t tclass=file
Sep 20 21:07:46 Monitor kernel: audit(1221916066.105:2738): avc:  denied  { execute } for  pid=26663 comm="sh" name="rrdtool" dev=hda1 ino=2179543 scontext=root:system_r:httpd_sys_script_t tcontext=root:object_r:usr_t tclass=file
Sep 20 21:07:46 Monitor kernel: audit(1221916066.417:2739): avc:  denied  { execute } for  pid=26653 comm="sh" name="rrdtool" dev=hda1 ino=2179543 scontext=root:system_r:httpd_sys_script_t tcontext=root:object_r:usr_t tclass=file
Sep 20 21:07:46 Monitor kernel: audit(1221916066.453:2740): avc:  denied  { execute } for  pid=26659 comm="sh" name="rrdtool" dev=hda1 ino=2179543 scontext=root:system_r:httpd_sys_script_t tcontext=root:object_r:usr_t tclass=file
Sep 20 21:07:46 Monitor kernel: audit(1221916066.455:2741): avc:  denied  { execute } for  pid=26659 comm="sh" name="rrdtool" dev=hda1 ino=2179543 scontext=root:system_r:httpd_sys_script_t tcontext=root:object_r:usr_t tclass=file
Sep 20 21:07:46 Monitor kernel: audit(1221916066.531:2742): avc:  denied  { execute } for  pid=26664 comm="sh" name="rrdtool" dev=hda1 ino=2179543 scontext=root:system_r:httpd_sys_script_t tcontext=root:object_r:usr_t tclass=file
Sep 20 21:07:46 Monitor kernel: audit(1221916066.533:2743): avc:  denied  { execute } for  pid=26664 comm="sh" name="rrdtool" dev=hda1 ino=2179543 scontext=root:system_r:httpd_sys_script_t tcontext=root:object_r:usr_t tclass=file
Sep 20 21:07:46 Monitor kernel: audit(1221916066.571:2744): avc:  denied  { execute } for  pid=26666 comm="sh" name="rrdtool" dev=hda1 ino=2179543 scontext=root:system_r:httpd_sys_script_t tcontext=root:object_r:usr_t tclass=file
Sep 20 21:07:46 Monitor kernel: audit(1221916066.574:2745): avc:  denied  { execute } for  pid=26666 comm="sh" name="rrdtool" dev=hda1 ino=2179543 scontext=root:system_r:httpd_sys_script_t tcontext=root:object_r:usr_t tclass=file
Sep 20 21:07:46 Monitor kernel: audit(1221916066.617:2746): avc:  denied  { execute } for  pid=26665 comm="sh" name="rrdtool" dev=hda1 ino=2179543 scontext=root:system_r:httpd_sys_script_t tcontext=root:object_r:usr_t tclass=file
這裡的denied 是說rrdtool沒有許可權嗎?我把cacti里的所有文件都設置為777都一樣,這樣的錯誤好像不太像版本不兼容。我的rrdtool是最新版本1.3.3
rra目錄下面已經生成 了rrd文件,但是網頁上就是不出圖片,也沒有找X

[ 本帖最後由 kevinadmin 於 2008-9-21 11:39 編輯 ]
《解決方案》

解決了 呵呵  在郵件列表裡找到了答案    需要關閉selinux  關閉后就正常了   還沒有找到不關selinux的解決辦法

[火星人 ] 安裝RRDTOOL后沒有圖片顯示{已經解決}已經有659次圍觀

http://coctec.com/docs/service/show-post-27452.html