You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 5, 2023. It is now read-only.
I am attempting to install td-agent onto a Packer VM and install a prepackaged output plugin as well. Td-agent install fine using the script I
set -e
echo "=============================="
echo " td-agent Installation Script "
echo "=============================="
sudo curl https://packages.treasuredata.com/GPG-KEY-td-agent | sudo apt-key add -
sudo echo "deb http://packages.treasuredata.com/3/ubuntu/xenial/ xenial contrib" | sudo tee -a /etc/apt/sources.list.d/treasure-data.list
sudo apt-get update
sudo apt-get install -y td-agent
if [ $? -eq 0 ]
then
echo "Successfully installed td-agent"
else
echo "Could not install td-agent"
fi.
After td-agent is installed I install the prepackaged gem using "sudo td-agent-gem install ". If I attempt to start td-agent after installing the gem the startup fails with this error:
I noticed that the file mentioned in the error message had permissions 640, which does not grant read access to anyone but the file owner. In this case the file owner was root. I granted read permissions to "other" users for all files in /opt/td-agent/embedded/. After I granted permissions I tried to start up td-agent and it failed with an "unknown plugin" error while parsing the config file. The unknown plugin was the one from the prepackaged gem that had successfully installed before. I successfully reinstalled the prepackaged gem; however, the permissions issue comes back after that. Is there a known issue with prepackaged gem installation in td-agent 3.5.0?
The text was updated successfully, but these errors were encountered:
I am also facing this issue, even after giving permission to /opt/td-agent/embedded/lib/ruby/site_ruby/2.4.0/rubygems/*
i am still getting initialize': Permission denied @ rb_sysopen error.
Can anyone help ?
Thanks
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I am attempting to install td-agent onto a Packer VM and install a prepackaged output plugin as well. Td-agent install fine using the script I
After td-agent is installed I install the prepackaged gem using "sudo td-agent-gem install ". If I attempt to start td-agent after installing the gem the startup fails with this error:
I noticed that the file mentioned in the error message had permissions 640, which does not grant read access to anyone but the file owner. In this case the file owner was root. I granted read permissions to "other" users for all files in /opt/td-agent/embedded/. After I granted permissions I tried to start up td-agent and it failed with an "unknown plugin" error while parsing the config file. The unknown plugin was the one from the prepackaged gem that had successfully installed before. I successfully reinstalled the prepackaged gem; however, the permissions issue comes back after that. Is there a known issue with prepackaged gem installation in td-agent 3.5.0?
The text was updated successfully, but these errors were encountered: