fluent / fluentd-docs-gitbook

Fluentd documentation project in Gitbook format
https://docs.fluentd.org
Apache License 2.0
44 stars 130 forks source link

for td-agent 4 installation fails oracle lnx/rhel #222

Closed mayur-oci closed 3 years ago

mayur-oci commented 4 years ago

td-agent 4

$ curl -L https://toolbelt.treasuredata.com/sh/install-redhat-td-agent4.sh | sh

https://docs.fluentd.org/installation/install-by-rpm

cosmo0920 commented 4 years ago

Could you share your error log? Just sharing reproducing step does not help for us.

nmaludy commented 3 years ago

@cosmo0920 i figured out what was going on here because i have the same problem.

You end up getting an error:

http://packages.treasuredata.com/4/redhat/7Server/x86_64/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.

I tried visiting that page and it indeed did fail.

The repo file is setup as:

[treasuredata]
name=TreasureData
baseurl=http://packages.treasuredata.com/4/redhat/\$releasever/\$basearch
gpgcheck=1
gpgkey=https://packages.treasuredata.com/GPG-KEY-td-agent

I figured out what was going wrong by comparing what the v3 agent did and it had a repo setup of

[treasuredata]
name=TreasureData
baseurl=http://packages.treasuredata.com/3/redhat/\$releasever/\$basearch
gpgcheck=1
gpgkey=https://packages.treasuredata.com/GPG-KEY-td-agent

Looks very similar, so i tried going to http://packages.treasuredata.com/3/redhat/7Server/x86_64/repodata/repomd.xml

When going there i noticed it automatically redirected to http://packages.treasuredata.com/3/redhat/7/x86_64/repodata/repomd.xml

It looks like the v4 repos are missing this redirect/symlink.

Any chance you could get it added?

repeatedly commented 3 years ago

Add redirect for 7Server and 8Server. Closed