logstash 报错Bad file descriptor - Bad file descriptor
使用bin/logstash -f config/D_HINFO_PDT.conf 启动日志中没有错误;
我使用 nohup bin/logstash -f config/D_HINFO_PDT.conf & 启动时;
每一秒都报如下错误:
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
解决方法:直接bin/logstash 启动的时候,有个plugin要从stdin里面读数据
而一旦用了nohup,表明stdin就是空了,自然会报 bad file descriptor这个错。
解决的方法,一个是把logstash安装成服务,另外一个在启动时加个参数:
nohup bin/logstash -f config/D_HINFO_PDT.conf 0</dev/null &
logstash 报错Bad file descriptor - Bad file descriptor相关推荐
- scp报错:not a regular file
2019独角兽企业重金招聘Python工程师标准>>> linux 本地文件上传到服务器 scp /home/XXX/file.1txt liujia@172.16.252.32: ...
- sudo vi ~/etc/profile 报错E212:Can't open file for writing
linux系统,安装SPARK时, 命令行窗口输入:sudo vi ~/etc/profile 输入: #SPARK_HOME SPARK_HOME=/home/luoji/JAVA/spark-2. ...
- 2021-08-10 HDFS Web报错Couldn‘t preview the file.
在查看文件内容时,在红框位置出现报错"Couldn't preview the file" 解决方法 第一步:修改hdfs-site.xml,添加配置信息 <property ...
- MySQL5.7报错[ERROR] Unix socket lock file is empty /tmp/mysql.sock.lock的解决方法
MySQL5.7报错[ERROR] Unix socket lock file is empty /tmp/mysql.sock.lock的解决方法 参考文章: (1)MySQL5.7报错[ERROR ...
- Android Sutiod报错:Dx unsupported class file version 52.0(解决)
一.Android Stuido报错 其实Dx unsupported class file version 52.0和Conversion to Dalvik format failed with ...
- SVN报错:can't open file db/txn-current-lock:permission denied 解决方法
现象: SVN服务器重启后,重新挂载SVN仓库,可以下载代码,但是上传代码发现报错:can't open file db/txn-current-lock:permission denied 刚开始以 ...
- SVN报错:can‘t open file db/txn-current-lock:permission denied 解决方法
SVN报错:can't open file db/txn-current-lock:permission denied 解决方法 参考文章: (1)SVN报错:can't open file db/t ...
- mysql 1033_mysql报错1033 Incorrect information in file: ''''xxx.frm''''问题的解决方法(图)...
这篇文章主要介绍了关于mysql报错1033 Incorrect information in file: 'xxx.frm'问题的解决方法,文中通过示例代码介绍的很详细,需要的朋友可以参考借鉴,下面 ...
- 下载公司 svn 项目后启动报错之 uniapp no such file or direc
下载公司 svn 项目后安装依赖报错之 uniapp no such file or direc 近期公司开展微信小程序业务,需要用到uniapp开发,当从svn把主包下载下来后发现安装依赖报错,un ...
- springboot文件上传报错:Required request part ‘file‘ is not present
文件上传报错:Required request part 'file' is not present 如下使用CommonsMultipartResolver: @Configuration publ ...
最新文章
- 好玩!PyEcharts 绘制时间轮播图
- dw按钮图片滚动js_使用 React Hooks 实现仿石墨的图片预览插件(巨详细)
- java数组删除数据_Java 数组 之 一维数组 删除 元素
- $routeParams $route.current.params
- 牛客 - 四等分的角度(几何)
- R软件的下载及安装(截图步骤详细)
- 数据状态什么是事务?
- TURBOMAIL邮件服务器功能—邮件归档
- oracle11 分配表权限,Oracle11g权限--角色
- DSP之CCS软件使用一
- 集合之Collection接口AND Iterator迭代器 AND 增强for AND 泛型
- Tomcat-日志格式配置
- 5s管理常用工具汇总
- OpenCV 文字识别(一):图像预处理
- 74HC595 的使用
- 我的世界1.7.10服务器修改器,1.7.10tmi内置修改器
- 由置换反应引发的思考
- Ruby_01_环境安装
- 阅读 redis 源码,学习缓存淘汰算法 W-TinyLFU
- 75个顶级开源安全应用