0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

filebeat runでエラー error reading existing lockfile

Posted at

filebeatが起動しない

Windowsでfilebeatを動かそうとしたら下記のエラーが出て起動せず。

Exiting: cannot obtain lockfile: error reading existing lockfile: error reading pidfile from path C:\ProgramData\fileのパス\filebeat.lock

恐らくfilebeatを起動した状態でパソコンをシャットダウンしたせいで、
ファイルがロックした状態が残ってしまったと思われる。

ロックを外す

タスクマネージャーでリソースモニターを開く
image.png

リソースモニターでロックされたファイルを検索し該当のロックファイルを右クリックして、
プロセスの終了をします。

image.png

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?