no errors in the startup log using bin/logstash-f config/D_HINFO_PDT.conf.
When I use nohup bin/logstash-f config/D_HINFO_PDT.conf & startup.
Every second the following error is reported.
2017-10-30T10:52:13,412][ERROR][logstash.pipeline ] A plugin had an unrecoverable error. Will restart this plugin.
Plugin: <LogStash::Inputs::Stdin id=>”d82cf8f6e66e1ce48c50c9d2d840029f3296238a-1″, enable_metric=>true, codec=><LogStash::Codecs::Line id=>”line_6e3830b8-b4c6-4fb8-b15c-27356ae29021″, enable_metric=>true, charset=>”UTF-8″, delimiter=>”\n”>>
Error: Bad file descriptor – Bad file descriptor
When I use nohup bin/logstash-f config/D_HINFO_PDT.conf & startup.
Every second the following error is reported.
2017-10-30T10:52:13,412][ERROR][logstash.pipeline ] A plugin had an unrecoverable error. Will restart this plugin.
Plugin: <LogStash::Inputs::Stdin id=>”d82cf8f6e66e1ce48c50c9d2d840029f3296238a-1″, enable_metric=>true, codec=><LogStash::Codecs::Line id=>”line_6e3830b8-b4c6-4fb8-b15c-27356ae29021″, enable_metric=>true, charset=>”UTF-8″, delimiter=>”\n”>>
Error: Bad file descriptor – Bad file descriptor
Solution: When bin/logstash is started directly, there is a plugin to read data from stdin.
Once the nohup is used, it means that stdin is empty, so it will naturally report bad file descriptor error.
To solve this, one is to install logstash as a service, and the other is to add a parameter at startup.
nohup bin/logstash -f config/D_HINFO_PDT.conf 0</dev/null &
Read More:
- Bad file descriptor(C:\ci\zeromq 1602704446950\work\src\epoll.cpp:100)
- An error occurs when es logstash is installed and running
- Solve the error of POM file failed to read artifact descriptor for XXX under IntelliJ idea
- R load(xxx.Rdata) Error bad restore file magic number (file may be corrupted) — no data loaded
- Solve syntax error: unexpected end of file or /bin/bash^m: bad interpeneter: no match file or directory
- bad index file sha1 signature fatal
- How to query the production environment logstash report error parsing JSON
- error: invalid compressed data to inflate file #14: bad zipfile offset (local header sig):
- Take over the project, the project path is inconsistent with the native UE4 path and the solution of Failed to open descriptor file ..//..//..//UE4/UE4.uproject
- Failed to read artifact descriptor for com.google.errorprone:javac:jar:9+181-r4173-1
- Failed to read artifact descriptor for * maven
- Failed to read artifact descriptor for xxx:jar Missing
- Deployment project error: Oracle 11g ora-12505, TNS:listener does not currently know of SID given in connect descriptor
- “[warning] failed to retrieve plugin descriptor for caused by Maven security agent settings org.apache.maven . plugins:… “
- device no response, device descriptor read/64, error -71
- TypeError: descriptor ‘__init__‘ of ‘super‘ object needs an argument
- mvn install Error: Failed to read artifact descriptor org.apache.maven.plugins:maven-install-plugin:jar:2
- Solve the problems of (deployment descriptor: project name) and (jax-ws web services) under the new eclipse project
- HTTP 400 error – bad request
- Failed to retrieve plugin descriptor for org.mybatis.generator :mybatis-generator