【问题标题】:unable to install mysql bulk plugin in fluentd无法在fluentd中安装mysql批量插件
【发布时间】:2018-09-24 13:00:44
【问题描述】:

您好,我最近开始使用 fluent d,我需要安装 此 URL 中指定的 MySQL 批量插件

操作系统:centos 7

https://github.com/toyama0919/fluent-plugin-mysql-bulk 在此 url 中指定 当我运行命令 gem install fluent-plugin-mysql-bulk

得到错误为 错误:找不到有效的 gem 'fluent-plugin-mysql-bulk' (>= 0),原因如下: 无法从 https://rubygems.org/ 下载数据 - 没有这样的名称 (https://rubygems.org/latest_specs.4.8.gz)

也从 sbin 文件夹尝试过

cd /opt/td-agent/usr/sbin/ [root@hyd-cms-camaign-lsrv2 sbin]# td-agent-gem install fluent-plugin-mysql 错误:找不到有效的 gem 'fluent-plugin-mysql' (>= 0),原因如下: 无法从 https://rubygems.org/ 下载数据 - 没有这样的名称 (https://api.rubygems.org/specs.4.8.gz)

尝试使用 URl:

https://github.com/tagomoris/fluent-plugin-mysql

但还是一样的错误

执行了以下命令。 gem install fluent-plugin-mysql

找不到有效的 gem 'fluent-plugin-mysql' (>= 0),原因如下: bash:意外标记'('附近的语法错误 [root@hyd-cms-camaign-lsrv2 appuser]# 无法从https://rubygems.org/ 下载数据 - 没有这样的名称 (https://rubygems.org/latest_specs.4.8.gz)

提前感谢您的帮助

【问题讨论】:

    标签: rubygems fluentd


    【解决方案1】:

    请参阅自述文件。 https://github.com/toyama0919/fluent-plugin-mysql-bulk

    已弃用:此插件已合并到 fluent-plugin-mysql。这个插件不再维护了!!!!!!

    改用 fluent-plugin-mysql。 https://github.com/tagomoris/fluent-plugin-mysql

    【讨论】:

    • 嗨@Toru 感谢您的帮助,但是是否出现相同的错误 gem install fluent-plugin-mysql 错误:找不到有效的 gem 'fluent-plugin-mysql' (>= 0) ,原因如下:无法从 rubygems.org 下载数据 - 没有这样的名称 (rubygems.org/latest_specs.4.8.gz)
    猜你喜欢
    • 1970-01-01
    • 2019-12-18
    • 1970-01-01
    • 2017-03-10
    • 1970-01-01
    • 2018-12-18
    • 1970-01-01
    • 1970-01-01
    • 2012-04-03
    相关资源
    最近更新 更多