存在しない、私はContextBrokerの新しいバージョンがインストール1026 /バージョンpidファイル '/var/log/contextBroker/contextBroker.pid' は
{
"orion" :
{
"version" : "1.2.1",
"uptime" : "0 d, 0 h, 7 m, 58 s",
"git_hash" : "af44fd1fbdbbfd28d79ef4f929e871e515b5452e",
"compile_time" : "Thu Jun 16 15:46:51 CEST 2016",
"compiled_by" : "fermin",
"compiled_in" : "centollo"
}
}
をそれから私はwatchdogを設置し、ファイル/var/log/contextBroker/monitBROKER.logを検証し、私は次のようなエラーが発生します。
error : 'contextBroker' failed to start (exit status 1) -- /etc/init.d/contextBroker: Starting...
contextBroker está parado
Starting contextBroker... pidfile not found[FALLÓ]
debug : Socket test failed for [::1]:1026 -- HTTP error: Regular expression doesn't match: No match
debug : Socket test failed for [127.0.0.1]:1026 -- HTTP error: Regular expression doesn't match: No match
error : 'localhost' failed protocol test [HTTP] at [localhost]:1026/version [TCP/IP] -- HTTP error: Regular expression doesn't match: No match
info : 'localhost' exec: /etc/init.d/contextBroker
debug : 'monitBROKER.log' file exists
debug : 'monitBROKER.log' is a regular file or socket
debug : 'monitBROKER.log' size check succeeded [current size=19.5 kB]
debug : pidfile '/var/log/contextBroker/contextBroker.pid' does not exist
error : 'contextBroker' process is not running
info : 'contextBroker' trying to restart
debug : pidfile '/var/log/contextBroker/contextBroker.pid' does not exist
debug : pidfile '/var/log/contextBroker/contextBroker.pid' does not exist
info : 'contextBroker' start: /etc/init.d/contextBroker
debug : pidfile '/var/log/contextBroker/contextBroker.pid' does not exist
debug : Starting...
contextBroker está parado
Starting contextBroker... pidfile not found[FALLÓ]
debug : pidfile '/var/log/contextBroker/contextBroker.pid' does not exist
は、ウォッチドッグの動作を防止します。
修正方法を教えてください。
EDIT 1
これです(PIDファイルが作成された大胆なフォルダ内の)コマンド実行contextBroker:
は/ usr/binが/ contextBrokerが-port 1026 -logdirは/ var/log/contextBroker -pidpathは/var/run/contextBroker/contextBroker.pid -dbhost localhostの-dbオリオン-multiservice私はそれはそれが必要PIDファイルを作成するために変更することができますどのように
?
また、フォルダーを指すようにウォッチドッグの設定を変更する必要がありますか?私は、フォルダの/ var/fgalanで示される手順に従いcontextBroker/
/実行を指すようにmonitBROKER.confファイルを変更するウォッチドッグの設定を変更し
EDIT 2
、私は "作られましたフルリセット "を選択します。
info : Starting Monit 5.14 daemon
info : 'ServidorCaptura.guest.domain' Monit 5.14 started
debug : Socket test failed for [::1]:1026 -- Connection refused
debug : Socket test failed for [127.0.0.1]:1026 -- Connection refused
error : 'localhost' failed protocol test [HTTP] at [localhost]:1026/version [TCP/IP] -- Connection refused
debug : 'monitBROKER.log' file exists
debug : 'monitBROKER.log' is a regular file or socket
debug : 'monitBROKER.log' size check succeeded [current size=464 B]
debug : pidfile '/var/run/contextBroker/contextBroker.pid' does not exist
error : 'contextBroker' process is not running
info : 'contextBroker' trying to restart
debug : pidfile '/var/run/contextBroker/contextBroker.pid' does not exist
debug : pidfile '/var/run/contextBroker/contextBroker.pid' does not exist
info : 'contextBroker' start: /etc/init.d/contextBroker
debug : pidfile '/var/run/contextBroker/contextBroker.pid' does not exist
debug : Starting...
contextBroker está parado
Starting contextBroker... [ OK ]
debug : 'contextBroker' started
debug : Socket test failed for [::1]:1026 -- HTTP error: Regular expression doesn't match: No match
debug : Socket test failed for [127.0.0.1]:1026 -- HTTP error: Regular expression doesn't match: No match
error : 'localhost' failed protocol test [HTTP] at [localhost]:1026/version [TCP/IP] -- HTTP error: Regular expression doesn't match: No match
debug : 'monitBROKER.log' file exists
debug : 'monitBROKER.log' is a regular file or socket
debug : 'monitBROKER.log' size check succeeded [current size=1.9 kB]
info : 'contextBroker' process is running with pid 1493
debug : 'contextBroker' zombie check succeeded
debug : 'contextBroker' total mem amount check succeeded [current total mem amount=3.3 MB]
debug : 'contextBroker' cpu usage check succeeded [current cpu usage=0.0%]
debug : 'contextBroker' cpu usage check succeeded [current cpu usage=0.0%]
debug : Socket test failed for [::1]:1026 -- HTTP error: Regular expression doesn't match: No match
debug : Socket test failed for [127.0.0.1]:1026 -- HTTP error: Regular expression doesn't match: No match
error : 'localhost' failed protocol test [HTTP] at [localhost]:1026/version [TCP/IP] -- HTTP error: Regular expression doesn't match: No match
info : 'localhost' exec: /etc/init.d/contextBroker
debug : 'monitBROKER.log' file exists
debug : 'monitBROKER.log' is a regular file or socket
debug : 'monitBROKER.log' size check succeeded [current size=3.1 kB]
debug : 'contextBroker' process is running with pid 1493
debug : 'contextBroker' zombie check succeeded
debug : 'contextBroker' total mem amount check succeeded [current total mem amount=3.8 MB]
debug : 'contextBroker' cpu usage check succeeded [current cpu usage=0.0%]
debug : 'contextBroker' cpu usage check succeeded [current cpu usage=0.0%]
debug : Socket test failed for [::1]:1026 -- HTTP error: Regular expression doesn't match: No match
debug : Socket test failed for [127.0.0.1]:1026 -- HTTP error: Regular expression doesn't match: No match
error : 'localhost' failed protocol test [HTTP] at [localhost]:1026/version [TCP/IP] -- HTTP error: Regular expression doesn't match: No match
info : 'localhost' exec: /etc/init.d/contextBroker
debug : 'monitBROKER.log' file exists
debug : 'monitBROKER.log' is a regular file or socket
debug : 'monitBROKER.log' size check succeeded [current size=4.3 kB]
debug : pidfile '/var/run/contextBroker/contextBroker.pid' does not exist
error : 'contextBroker' process is not running
info : 'contextBroker' trying to restart
debug : pidfile '/var/run/contextBroker/contextBroker.pid' does not exist
debug : pidfile '/var/run/contextBroker/contextBroker.pid' does not exist
info : 'contextBroker' start: /etc/init.d/contextBroker
debug : pidfile '/var/run/contextBroker/contextBroker.pid' does not exist
debug : Starting...
contextBroker está parado
Starting contextBroker... pidfile not found[FALLÓ]
debug : pidfile '/var/run/contextBroker/contextBroker.pid' does not exist
debug : pidfile '/var/run/contextBroker/contextBroker.pid' does not exist
debug : pidfile '/var/run/contextBroker/contextBroker.pid' does not exist
debug : pidfile '/var/run/contextBroker/contextBroker.pid' does not exist
debug : pidfile '/var/run/contextBroker/contextBroker.pid' does not exist
debug : pidfile '/var/run/contextBroker/contextBroker.pid' does not exist
debug : pidfile '/var/run/contextBroker/contextBroker.pid' does not exist
debug : pidfile '/var/run/contextBroker/contextBroker.pid' does not exist
debug : pidfile '/var/run/contextBroker/contextBroker.pid' does not exist
debug : pidfile '/var/run/contextBroker/contextBroker.pid' does not exist
debug : pidfile '/var/run/contextBroker/contextBroker.pid' does not exist
debug : pidfile '/var/run/contextBroker/contextBroker.pid' does not exist
debug : pidfile '/var/run/contextBroker/contextBroker.pid' does not exist
debug : pidfile '/var/run/contextBroker/contextBroker.pid' does not exist
debug : pidfile '/var/run/contextBroker/contextBroker.pid' does not exist
debug : pidfile '/var/run/contextBroker/contextBroker.pid' does not exist
debug : pidfile '/var/run/contextBroker/contextBroker.pid' does not exist
debug : pidfile '/var/run/contextBroker/contextBroker.pid' does not exist
debug : pidfile '/var/run/contextBroker/contextBroker.pid' does not exist
debug : pidfile '/var/run/contextBroker/contextBroker.pid' does not exist
debug : pidfile '/var/run/contextBroker/contextBroker.pid' does not exist
debug : pidfile '/var/run/contextBroker/contextBroker.pid' does not exist
debug : pidfile '/var/run/contextBroker/contextBroker.pid' does not exist
debug : pidfile '/var/run/contextBroker/contextBroker.pid' does not exist
debug : pidfile '/var/run/contextBroker/contextBroker.pid' does not exist
debug : pidfile '/var/run/contextBroker/contextBroker.pid' does not exist
debug : pidfile '/var/run/contextBroker/contextBroker.pid' does not exist
debug : pidfile '/var/run/contextBroker/contextBroker.pid' does not exist
debug : pidfile '/var/run/contextBroker/contextBroker.pid' does not exist
debug : pidfile '/var/run/contextBroker/contextBroker.pid' does not exist
debug : pidfile '/var/run/contextBroker/contextBroker.pid' does not exist
error : 'contextBroker' failed to start (exit status 1) -- /etc/init.d/contextBroker: Starting...
contextBroker está parado
Starting contextBroker... pidfile not found[FALLÓ]
debug : Socket test failed for [::1]:1026 -- HTTP error: Regular expression doesn't match: No match
debug : Socket test failed for [127.0.0.1]:1026 -- HTTP error: Regular expression doesn't match: No match
error : 'localhost' failed protocol test [HTTP] at [localhost]:1026/version [TCP/IP] -- HTTP error: Regular expression doesn't match: No match
info : 'localhost' exec: /etc/init.d/contextBroker
debug : 'monitBROKER.log' file exists
debug : 'monitBROKER.log' is a regular file or socket
debug : 'monitBROKER.log' size check succeeded [current size=9.0 kB]
debug : pidfile '/var/run/contextBroker/contextBroker.pid' does not exist
error : 'contextBroker' process is not running
info : 'contextBroker' trying to restart
debug : pidfile '/var/run/contextBroker/contextBroker.pid' does not exist
debug : pidfile '/var/run/contextBroker/contextBroker.pid' does not exist
info : 'contextBroker' start: /etc/init.d/contextBroker
debug : pidfile '/var/run/contextBroker/contextBroker.pid' does not exist
debug : Starting...
contextBroker está parado
Starting contextBroker... pidfile not found[FALLÓ]
debug : pidfile '/var/run/contextBroker/contextBroker.pid' does not exist
debug : pidfile '/var/run/contextBroker/contextBroker.pid' does not exist
debug : pidfile '/var/run/contextBroker/contextBroker.pid' does not exist
debug : pidfile '/var/run/contextBroker/contextBroker.pid' does not exist
debug : pidfile '/var/run/contextBroker/contextBroker.pid' does not exist
debug : pidfile '/var/run/contextBroker/contextBroker.pid' does not exist
...
それとも、最初のコンテキストブローカーを開始した場合:スタート/etc/init.d/contextBroker、PIDファイルがで作成されたスクリプトウォッチドッグを実行し、そのログを観察する最初の場合
後者のログを観察したフォルダの/ var /実行/ contextBroker /、その後、実行スクリプトのウォッチドッグと:私は「フルリセット」を行うことをお勧めしたい
debug : pidfile '/var/log/contextBroker/monit.pid' does not exist
info : Starting Monit 5.14 daemon
info : 'ServidorCaptura.guest.domain' Monit 5.14 started
debug : Socket test failed for [::1]:1026 -- HTTP error: Regular expression doesn't match: No match
debug : Socket test failed for [127.0.0.1]:1026 -- HTTP error: Regular expression doesn't match: No match
error : 'localhost' failed protocol test [HTTP] at [localhost]:1026/version [TCP/IP] -- HTTP error: Regular expression doesn't match: No match
debug : 'monitBROKER.log' file exists
debug : 'monitBROKER.log' is a regular file or socket
debug : 'monitBROKER.log' size check succeeded [current size=664 B]
debug : 'contextBroker' process is running with pid 2299
debug : 'contextBroker' zombie check succeeded
debug : 'contextBroker' total mem amount check succeeded [current total mem amount=5.3 MB]
debug : 'contextBroker' cpu usage check skipped (initializing)
debug : 'contextBroker' cpu usage check skipped (initializing)
debug : Socket test failed for [::1]:1026 -- HTTP error: Regular expression doesn't match: No match
debug : Socket test failed for [127.0.0.1]:1026 -- HTTP error: Regular expression doesn't match: No match
error : 'localhost' failed protocol test [HTTP] at [localhost]:1026/version [TCP/IP] -- HTTP error: Regular expression doesn't match: No match
debug : 'monitBROKER.log' file exists
debug : 'monitBROKER.log' is a regular file or socket
debug : 'monitBROKER.log' size check succeeded [current size=1.7 kB]
debug : 'contextBroker' process is running with pid 2299
debug : 'contextBroker' zombie check succeeded
debug : 'contextBroker' total mem amount check succeeded [current total mem amount=5.8 MB]
debug : 'contextBroker' cpu usage check succeeded [current cpu usage=0.0%]
debug : 'contextBroker' cpu usage check succeeded [current cpu usage=0.0%]
debug : Socket test failed for [::1]:1026 -- HTTP error: Regular expression doesn't match: No match
debug : Socket test failed for [127.0.0.1]:1026 -- HTTP error: Regular expression doesn't match: No match
error : 'localhost' failed protocol test [HTTP] at [localhost]:1026/version [TCP/IP] -- HTTP error: Regular expression doesn't match: No match
info : 'localhost' exec: /etc/init.d/contextBroker
debug : 'monitBROKER.log' file exists
debug : 'monitBROKER.log' is a regular file or socket
debug : 'monitBROKER.log' size check succeeded [current size=2.9 kB]
debug : 'contextBroker' process is running with pid 2299
debug : 'contextBroker' zombie check succeeded
debug : 'contextBroker' total mem amount check succeeded [current total mem amount=5.9 MB]
debug : 'contextBroker' cpu usage check succeeded [current cpu usage=0.0%]
debug : 'contextBroker' cpu usage check succeeded [current cpu usage=0.0%]
debug : Socket test failed for [::1]:1026 -- Connection refused
debug : Socket test failed for [127.0.0.1]:1026 -- Connection refused
error : 'localhost' failed protocol test [HTTP] at [localhost]:1026/version [TCP/IP] -- Connection refused
info : 'localhost' exec: /etc/init.d/contextBroker
debug : 'monitBROKER.log' file exists
debug : 'monitBROKER.log' is a regular file or socket
debug : 'monitBROKER.log' size check succeeded [current size=4.0 kB]
debug : pidfile '/var/run/contextBroker/contextBroker.pid' does not exist
error : 'contextBroker' process is not running
info : 'contextBroker' trying to restart
debug : pidfile '/var/run/contextBroker/contextBroker.pid' does not exist
debug : pidfile '/var/run/contextBroker/contextBroker.pid' does not exist
info : 'contextBroker' start: /etc/init.d/contextBroker
debug : pidfile '/var/run/contextBroker/contextBroker.pid' does not exist
debug : Starting...
contextBroker está parado
Starting contextBroker... [ OK ]
debug : 'contextBroker' started
debug : Socket test failed for [::1]:1026 -- HTTP error: Regular expression doesn't match: No match
debug : Socket test failed for [127.0.0.1]:1026 -- HTTP error: Regular expression doesn't match: No match
error : 'localhost' failed protocol test [HTTP] at [localhost]:1026/version [TCP/IP] -- HTTP error: Regular expression doesn't match: No match
info : 'localhost' exec: /etc/init.d/contextBroker
debug : 'monitBROKER.log' file exists
debug : 'monitBROKER.log' is a regular file or socket
debug : 'monitBROKER.log' size check succeeded [current size=5.5 kB]
info : 'contextBroker' process is running with pid 2386
debug : 'contextBroker' zombie check succeeded
debug : 'contextBroker' total mem amount check succeeded [current total mem amount=3.3 MB]
debug : 'contextBroker' cpu usage check succeeded [current cpu usage=0.0%]
debug : 'contextBroker' cpu usage check succeeded [current cpu usage=0.0%]
debug : Socket test failed for [::1]:1026 -- HTTP error: Regular expression doesn't match: No match
debug : Socket test failed for [127.0.0.1]:1026 -- HTTP error: Regular expression doesn't match: No match
error : 'localhost' failed protocol test [HTTP] at [localhost]:1026/version [TCP/IP] -- HTTP error: Regular expression doesn't match: No match
info : 'localhost' exec: /etc/init.d/contextBroker
debug : 'monitBROKER.log' file exists
debug : 'monitBROKER.log' is a regular file or socket
debug : 'monitBROKER.log' size check succeeded [current size=6.7 kB]
debug : pidfile '/var/run/contextBroker/contextBroker.pid' does not exist
error : 'contextBroker' process is not running
info : 'contextBroker' trying to restart
debug : pidfile '/var/run/contextBroker/contextBroker.pid' does not exist
debug : pidfile '/var/run/contextBroker/contextBroker.pid' does not exist
info : 'contextBroker' start: /etc/init.d/contextBroker
debug : pidfile '/var/run/contextBroker/contextBroker.pid' does not exist
debug : Starting...
contextBroker está parado
Starting contextBroker... pidfile not found[FALLÓ]
debug : pidfile '/var/run/contextBroker/contextBroker.pid' does not exist
debug : pidfile '/var/run/contextBroker/contextBroker.pid' does not exist
debug : pidfile '/var/run/contextBroker/contextBroker.pid' does not exist
debug : pidfile '/var/run/contextBroker/contextBroker.pid' does not exist
debug : pidfile '/var/run/contextBroker/contextBroker.pid' does not exist
debug : pidfile '/var/run/contextBroker/contextBroker.pid' does not exist
debug : pidfile '/var/run/contextBroker/contextBroker.pid' does not exist
debug : pidfile '/var/run/contextBroker/contextBroker.pid' does not exist
debug : pidfile '/var/run/contextBroker/contextBroker.pid' does not exist
debug : pidfile '/var/run/contextBroker/contextBroker.pid' does not exist
debug : pidfile '/var/run/contextBroker/contextBroker.pid' does not exist
debug : pidfile '/var/run/contextBroker/contextBroker.pid' does not exist
debug : pidfile '/var/run/contextBroker/contextBroker.pid' does not exist
debug : pidfile '/var/run/contextBroker/contextBroker.pid' does not exist
debug : pidfile '/var/run/contextBroker/contextBroker.pid' does not exist
debug : pidfile '/var/run/contextBroker/contextBroker.pid' does not exist
debug : pidfile '/var/run/contextBroker/contextBroker.pid' does not exist
debug : pidfile '/var/run/contextBroker/contextBroker.pid' does not exist
debug : pidfile '/var/run/contextBroker/contextBroker.pid' does not exist
debug : pidfile '/var/run/contextBroker/contextBroker.pid' does not exist
debug : pidfile '/var/run/contextBroker/contextBroker.pid' does not exist
debug : pidfile '/var/run/contextBroker/contextBroker.pid' does not exist
debug : pidfile '/var/run/contextBroker/contextBroker.pid' does not exist
debug : pidfile '/var/run/contextBroker/contextBroker.pid' does not exist
debug : pidfile '/var/run/contextBroker/contextBroker.pid' does not exist
debug : pidfile '/var/run/contextBroker/contextBroker.pid' does not exist
debug : pidfile '/var/run/contextBroker/contextBroker.pid' does not exist
debug : pidfile '/var/run/contextBroker/contextBroker.pid' does not exist
debug : pidfile '/var/run/contextBroker/contextBroker.pid' does not exist
debug : pidfile '/var/run/contextBroker/contextBroker.pid' does not exist
debug : pidfile '/var/run/contextBroker/contextBroker.pid' does not exist
error : 'contextBroker' failed to start (exit status 1) -- /etc/init.d/contextBroker: Starting...
contextBroker está parado
Starting contextBroker... pidfile not found[FALLÓ]
debug : Socket test failed for [::1]:1026 -- HTTP error: Regular expression doesn't match: No match
debug : Socket test failed for [127.0.0.1]:1026 -- HTTP error: Regular expression doesn't match: No match
error : 'localhost' failed protocol test [HTTP] at [localhost]:1026/version [TCP/IP] -- HTTP error: Regular expression doesn't match: No match
info : 'localhost' exec: /etc/init.d/contextBroker
debug : 'monitBROKER.log' file exists
debug : 'monitBROKER.log' is a regular file or socket
debug : 'monitBROKER.log' size check succeeded [current size=11.5 kB]
debug : pidfile '/var/run/contextBroker/contextBroker.pid' does not exist
error : 'contextBroker' process is not running
info : 'contextBroker' trying to restart
debug : pidfile '/var/run/contextBroker/contextBroker.pid' does not exist
debug : pidfile '/var/run/contextBroker/contextBroker.pid' does not exist
info : 'contextBroker' start: /etc/init.d/contextBroker
debug : pidfile '/var/run/contextBroker/contextBroker.pid' does not exist
debug : Starting...
contextBroker está parado
Starting contextBroker... pidfile not found[FALLÓ]
debug : pidfile '/var/run/contextBroker/contextBroker.pid' does not exist
debug : pidfile '/var/run/contextBroker/contextBroker.pid' does not exist
...
答えに追加されたPIDファイルの場所を変更する方法についての情報。 – fgalan