使用logstash 运行配置文件,出现you must change the "path.data" setting
2017-12-21 15:05
537 查看
Logstash could not be started because there is already another instance using the configured data directory. If you wish to run multiple instances, you must change the "path.data" setting
将原先的命令:
/bin/logstash -f 010.conf
改为:
/bin/logstash -f 010.conf --path.data=/root/
其中,--path.data是指存放数据的路径
将原先的命令:
/bin/logstash -f 010.conf
改为:
/bin/logstash -f 010.conf --path.data=/root/
其中,--path.data是指存放数据的路径
相关文章推荐
- mybatis的xml配置文件出现The content of elements must consist of well-formed character data or markup.
- 配置文件中出现 The reference to entity "XX" must end with the ';' delimiter. 错误提示
- 动态的使用Fragment,出现异常The specified child already has a parent. You must call removeView"
- Ubuntu安装VMware-tools时出现the path "" is not a valid path would you like to change it-完美解决方案
- jsp文件头部出现红叉解决方法The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build Path
- [置顶] Android无法启动AVD解决方法出现"The connection to adb is down...You must restart adb and Eclipse."
- 【原创】mybatis配置文件报错:The content of element type "configuration" must match "(properties>settings>typeAliases>typeHa...
- mybatis配置文件,注意标签配置顺序。否则报错The content of element type "configuration" must match "(properties?,settin
- .NET中使用GridView控件输入数据时出现“ Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index"的问题
- VS Code打开使用IDEA搭建的Spring Boot项目运行提示"snakeyaml was not found on the classpath"错误
- 使用ec编译cocos项目是出现Android.mk文件报错Are you sure your NDK_MODULE_PATH variable is properly defined 的解决办法
- struts2框架校验文件配置提示The content of element type "validators" must match "(validator)+".
- 运行phpmyadmin的时候下方总是出现“wapm您配置文件中的设置 (空密码的 root) 与 MySQL 默认管理员账户对应。您的 MySQL 服务器使用默认值运行
- Fragment使用时出现错误:he specified child already has a parent. You must call removeView() on the child's p
- 安卓运行时出现“The connection to adb is down, and a severe error has occured.”“You must restart adb and Eclipse. ”“Please ensure that a
- xml文件中配置JDBC源遇到问题 : The reference to entity "characterEncoding" must end with the ';' delimiter
- Hibernate配置文件报错:The content of element type "session-factory" must match "(property*,mapping*,(c
- 运行SQL server2005 配置管理工具出现“Cannot connect to WMI provider. You do not have permmission or the server”
- win 7 删除了用户文件夹后出现的"你已使用临时配置文件登录"提示的解决方法
- mybatis配置文件,注意标签配置顺序。否则报错The content of element type "configuration" must match "(properties?,settings?,...怎么解决