91超碰碰碰碰久久久久久综合_超碰av人澡人澡人澡人澡人掠_国产黄大片在线观看画质优化_txt小说免费全本

溫馨提示×

溫馨提示×

您好,登錄后才能下訂單哦!

密碼登錄×
登錄注冊×
其他方式登錄
點擊 登錄注冊 即表示同意《億速云用戶服務條款》

nagios+cacti+nrpe+nconf整合最后報錯解決

發布時間:2020-08-16 14:55:50 來源:網絡 閱讀:961 作者:上官戰 欄目:移動開發

在web頁面點擊Generate Nagios config后出現了這個錯誤提示

Generating config:
[ Initializing NConf perl-API (library version 0.2, written by A. Gargiulo) ]
[ Copyright (c) 2006-2009 Sunrise Communications AG, Zurich, Switzerland   ]


Running syntax check:

  Default_collector: Error generating config
--------------------------------------------------------------------------------
Nagios Core 3.2.1
Copyright (c) 2009-2010 Nagios Core Development Team and Community Contributors
Copyright (c) 1999-2009 Ethan Galstad
Last Modified: 03-09-2010
License: GPL

Website: http://www.nagios.org
Reading configuration data...
Error: Cannot open main configuration file '/usr/local/apache/htdocs/nconf/temp/test/Default_collector.cfg' for reading!
  Error processing main config file!



***> The name of the main configuration file looks suspicious...

  Make sure you are specifying the name of the MAIN configuration file on
  the command line and not the name of another configuration file. The
  main configuration file is typically '/usr/local/nagios/etc/nagios.cfg'

***> One or more problems was encountered while processing the config files...

  Check your configuration file(s) to ensure that they contain valid
  directives and data defintions. If you are upgrading from a previous
  version of Nagios, you should be aware that some variables/definitions
  may have been removed or modified in this version. Make sure to read
  the HTML documentation regarding the config files, as well as the
  'Whats New' section to find out what has changed.



Deployment not possible due to errors in configuration.

 

 

 

筆者的環境,使用的rhel5.8 32,及光盤源安裝的 http和php,

但是mysql卻是編譯安裝的最新版,

因此nconf的腳本使用的perl無法和mysql交互導致,

因此安裝 perl-DBD-MySQL 即可解決: # yum install perl-DBD-MySQL -y

向AI問一下細節

免責聲明:本站發布的內容(圖片、視頻和文字)以原創、轉載和分享為主,文章觀點不代表本網站立場,如果涉及侵權請聯系站長郵箱:is@yisu.com進行舉報,并提供相關證據,一經查實,將立刻刪除涉嫌侵權內容。

AI

乳山市| 西盟| 镇江市| 东乡| 普宁市| 沭阳县| 英超| 遵义县| 蓬莱市| 穆棱市| 阿克| 平南县| 禄劝| 西峡县| 连南| 资溪县| 宜宾县| 元氏县| 光泽县| 米林县| 姜堰市| 双城市| 醴陵市| 屯昌县| 南京市| 崇义县| 南平市| 马鞍山市| 沾化县| 汉川市| 宁远县| 利辛县| 彰武县| 青浦区| 阿合奇县| 普兰县| 象州县| 揭西县| 博乐市| 鄄城县| 离岛区|