欧美一区二区三区老妇人-欧美做爰猛烈大尺度电-99久久夜色精品国产亚洲a-亚洲福利视频一区二区

nagios常見錯誤排查

一、啟動時報錯

盂縣網(wǎng)站建設(shè)公司創(chuàng)新互聯(lián),盂縣網(wǎng)站設(shè)計制作,有大型網(wǎng)站制作公司豐富經(jīng)驗。已為盂縣上1000+提供企業(yè)網(wǎng)站建設(shè)服務(wù)。企業(yè)網(wǎng)站搭建\外貿(mào)網(wǎng)站制作要多少錢,請找那個售后服務(wù)好的盂縣做網(wǎng)站的公司定做!

“Starting nagios:This account is currently not available”

解決方法:

修改/etc/passwd

將/sbin/nologin改成/bin/bash

二、nagios安裝好后,網(wǎng)頁訪問出現(xiàn)如下錯誤:

無權(quán)查看任何主機的信息。

請檢查HTTP服務(wù)器關(guān)于該CGI的訪問權(quán)限設(shè)置。

解決辦法:

vi /usr/local/nagios/etc/cgi.cfg

將use_authentication的值改為0.

use_authentication=0

然后重啟nagios服務(wù)

service nagios restart

還有可能:

配置文件中的hostname和service_description使用了中文。

建議hostname和service_description 不要使用中文

三、訪問時出現(xiàn)亂碼

一般是apache 配置文件的編碼問題

解決方法:

vim /usr/local/apache2/conf/httpd.conf

  最后添加AddDefaultCharset utf-8

四、出現(xiàn)  The requested URL /nagios/cgi-bin/statusmap.cgi was not found on this server錯誤

解決方法:

確定安裝gd-devel包

然后回到解壓目錄,

#make   clean

重新編譯安裝一下

# ./configure --with-gd-lib=/usr/lib --with-gd-inc=/usr/include

接下來

#./configure --with-command-group=nagcmd

#make all;

make install;

make install-init;

make install-config;

make install-commandmode;

makeinstall-webconf

五、查看nagios.log日志出現(xiàn)如下錯誤:

ndomod: Could not open data sink!  I'll keep trying, but some output may get lost...

解決思路:

# vim /usr/local/nagios/etc/ndo2db.cfg

ndo2db_user=nagios

ndo2db_group=nagcmd

注意第二個,ndo2db的所屬組,是nagcmd.因為前面系統(tǒng)加的用戶nagios是nagcmd組的.

分享標(biāo)題:nagios常見錯誤排查
文章起源:http://chinadenli.net/article32/gphspc.html

成都網(wǎng)站建設(shè)公司_創(chuàng)新互聯(lián),為您提供ChatGPT、標(biāo)簽優(yōu)化品牌網(wǎng)站制作、網(wǎng)站內(nèi)鏈商城網(wǎng)站、網(wǎng)站導(dǎo)航

廣告

聲明:本網(wǎng)站發(fā)布的內(nèi)容(圖片、視頻和文字)以用戶投稿、用戶轉(zhuǎn)載內(nèi)容為主,如果涉及侵權(quán)請盡快告知,我們將會在第一時間刪除。文章觀點不代表本網(wǎng)站立場,如需處理請聯(lián)系客服。電話:028-86922220;郵箱:631063699@qq.com。內(nèi)容未經(jīng)允許不得轉(zhuǎn)載,或轉(zhuǎn)載時需注明來源: 創(chuàng)新互聯(lián)

外貿(mào)網(wǎng)站建設(shè)