2017-10-06 1 views
0

エラーが発生しました:開始nagios:エラー:「/usr/local/nagios/var/nagios.configtest」を作成または更新できませんでした。/usr/local/nagiosへの読み取り/書き込み/実行の許可。また、私がconfigテストを実行すると、正常に渡されます。nagiosサービスの開始時にnagiosのコア発行のバージョン4.3.4

+0

:あなたのOS、あなたはNagiosの?ATD ... – Rohlik

+0

OSをインストールする方法:Ubuntuの14.04を。ソースコードでインストールしてください。リンクをたどっている:https://support.nagios.com/kb/article/nagios-core-installing-nagios-core-from-source.html#Ubuntu –

答えて

0

REF:doc-760

Resolution The resolution to this problem is to remove the /usr/sbin/nologin directive from the passwd file, or to define it as a valid shell. The following examples should resolve the problem (depending on your operating system):

No shell defined:

nagios:x:1001:1001::/home/nagios:  

Bash shell defined:

nagios:x:500:500::/home/nagios:/bin/bash

Once you have updated the passwd file you will be able to successfully start the nagios service.

指定し、Nagiosが右起動して、私は/ etc/passwdファイルの更新。もともと

:今

nagios:x:110:116::/var/lib/nagios:/bin/false 

私は例えば、いくつかの重要な事実をmeantion忘れ
$ grep nagios /etc/passwd 
nagios:x:110:116::/var/lib/nagios:/bin/bash 
関連する問題