Created
April 24, 2012 02:48
-
-
Save oranie/2475725 to your computer and use it in GitHub Desktop.
ruby libyaml warnings
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# yum install td-agent | |
Loaded plugins: security | |
Setting up Install Process | |
Resolving Dependencies | |
--> Running transaction check | |
---> Package td-agent.x86_64 0:1.1.4.4-0 will be installed | |
--> Processing Dependency: /usr/bin/ruby for package: td-agent-1.1.4.4-0.x86_64 | |
--> Processing Dependency: td-libyaml for package: td-agent-1.1.4.4-0.x86_64 | |
--> Running transaction check | |
---> Package ruby.x86_64 0:1.8.7.352-4.el6_2 will be installed | |
--> Processing Dependency: ruby-libs = 1.8.7.352-4.el6_2 for package: ruby-1.8.7.352-4.el6_2.x86_64 | |
--> Processing Dependency: libruby.so.1.8()(64bit) for package: ruby-1.8.7.352-4.el6_2.x86_64 | |
---> Package td-libyaml.x86_64 0:0.1.4-1 will be installed | |
--> Running transaction check | |
---> Package ruby-libs.x86_64 0:1.8.7.352-4.el6_2 will be installed | |
--> Finished Dependency Resolution | |
Dependencies Resolved | |
============================================================================================================================================================= | |
Package Arch Version Repository Size | |
============================================================================================================================================================= | |
Installing: | |
td-agent x86_64 1.1.4.4-0 treasuredata 17 M | |
Installing for dependencies: | |
ruby x86_64 1.8.7.352-4.el6_2 sl-security 531 k | |
ruby-libs x86_64 1.8.7.352-4.el6_2 sl-security 1.6 M | |
td-libyaml x86_64 0.1.4-1 treasuredata 125 k | |
Transaction Summary | |
============================================================================================================================================================= | |
Install 4 Package(s) | |
Total download size: 19 M | |
Installed size: 60 M | |
Is this ok [y/N]: y | |
Downloading Packages: | |
(1/4): ruby-1.8.7.352-4.el6_2.x86_64.rpm | 531 kB 00:01 | |
(2/4): ruby-libs-1.8.7.352-4.el6_2.x86_64.rpm | 1.6 MB 00:04 | |
(3/4): td-agent-1.1.4.4-0.x86_64.rpm | 17 MB 00:33 | |
(4/4): td-libyaml-0.1.4-1.x86_64.rpm | 125 kB 00:00 | |
------------------------------------------------------------------------------------------------------------------------------------------------------------- | |
Total 476 kB/s | 19 MB 00:41 | |
Running rpm_check_debug | |
Running Transaction Test | |
Transaction Test Succeeded | |
Running Transaction | |
Installing : ruby-libs-1.8.7.352-4.el6_2.x86_64 1/4 | |
Installing : ruby-1.8.7.352-4.el6_2.x86_64 2/4 | |
Installing : td-libyaml-0.1.4-1.x86_64 3/4 | |
Installing : td-agent-1.1.4.4-0.x86_64 4/4 | |
adding 'td-agent' group... | |
adding 'td-agent' user... | |
prelink detected. Installing /etc/prelink.conf.d/td-agent-ruby.conf ... | |
Configure td-agent to start, when booting up the OS... | |
Installed: | |
td-agent.x86_64 0:1.1.4.4-0 | |
Dependency Installed: | |
ruby.x86_64 0:1.8.7.352-4.el6_2 ruby-libs.x86_64 0:1.8.7.352-4.el6_2 td-libyaml.x86_64 0:0.1.4-1 | |
Complete! | |
[root@virt2-fluentd01 flunet]# | |
[root@virt2-fluentd01 flunet]# | |
[root@virt2-fluentd01 flunet]# | |
[root@virt2-fluentd01 flunet]# /etc/init.d/td-agent restart | |
Shutting down td-agent: [失敗] | |
Starting td-agent: [ OK ] | |
[root@virt2-fluentd01 flunet]# cat /var/log/td-agent/td-agent.log | |
2012-04-23 17:45:32 +0900: starting fluentd-0.10.19 | |
2012-04-23 17:45:32 +0900: reading config file path="/etc/td-agent/td-agent.conf" | |
2012-04-23 17:45:32 +0900: adding source type="forward" | |
2012-04-23 17:45:32 +0900: adding match pattern="apache.access.**" type="copy" | |
2012-04-23 17:45:32 +0900: config error file="/etc/td-agent/td-agent.conf" error="Unknown output plugin 'datacounter'. Run 'gem search -rd fluent-plugin' to find plugins" | |
2012-04-23 17:45:32 +0900: process finished code=256 | |
2012-04-23 17:45:32 +0900: process died within 1 second. exit. | |
2012-04-23 17:51:02 +0900: starting fluentd-0.10.19 | |
2012-04-23 17:51:02 +0900: reading config file path="/etc/td-agent/td-agent.conf" | |
2012-04-23 17:51:02 +0900: adding source type="forward" | |
2012-04-23 17:51:02 +0900: adding match pattern="apache.access.**" type="copy" | |
2012-04-23 17:51:02 +0900: adding match pattern="trade_log.**" type="copy" | |
2012-04-23 17:51:02 +0900: adding match pattern="tomcat_log.**" type="copy" | |
2012-04-23 17:51:02 +0900: adding match pattern="apache.error.**" type="file" | |
2012-04-23 17:51:02 +0900: adding match pattern="apache_result.**" type="file" | |
2012-04-23 17:51:02 +0900: adding match pattern="tomcat_result.**" type="file" | |
2012-04-23 17:51:02 +0900: adding match pattern="trade_result.**" type="file" | |
2012-04-23 17:51:02 +0900: adding match pattern="fluent.**" type="file" | |
2012-04-23 17:51:02 +0900: adding match pattern="*.**" type="file" | |
2012-04-23 17:51:02 +0900: Failed to connect to 'mongod'. Please restart 'fluentd' after 'mongod' started: Failed to connect to a master node at localhost:27017 | |
2012-04-23 17:51:02 +0900: process finished code=256 | |
2012-04-23 17:51:02 +0900: process died within 1 second. exit. | |
2012-04-23 17:51:48 +0900: starting fluentd-0.10.19 | |
2012-04-23 17:51:48 +0900: reading config file path="/etc/td-agent/td-agent.conf" | |
2012-04-23 17:51:49 +0900: adding source type="forward" | |
2012-04-23 17:51:49 +0900: adding match pattern="apache.access.**" type="copy" | |
2012-04-23 17:51:49 +0900: adding match pattern="trade_log.**" type="copy" | |
2012-04-23 17:51:49 +0900: adding match pattern="tomcat_log.**" type="copy" | |
2012-04-23 17:51:49 +0900: adding match pattern="apache.error.**" type="file" | |
2012-04-23 17:51:49 +0900: adding match pattern="apache_result.**" type="file" | |
2012-04-23 17:51:49 +0900: adding match pattern="tomcat_result.**" type="file" | |
2012-04-23 17:51:49 +0900: adding match pattern="trade_result.**" type="file" | |
2012-04-23 17:51:49 +0900: adding match pattern="fluent.**" type="file" | |
2012-04-23 17:51:49 +0900: adding match pattern="*.**" type="file" | |
2012-04-23 17:51:49 +0900: Failed to connect to 'mongod'. Please restart 'fluentd' after 'mongod' started: Failed to connect to a master node at localhost:27017 | |
2012-04-23 17:51:49 +0900: process finished code=256 | |
2012-04-23 17:51:49 +0900: process died within 1 second. exit. | |
2012-04-23 17:54:40 +0900: starting fluentd-0.10.19 | |
2012-04-23 17:54:40 +0900: reading config file path="/etc/td-agent/td-agent.conf" | |
2012-04-23 17:54:41 +0900: adding source type="forward" | |
2012-04-23 17:54:41 +0900: adding match pattern="apache.access.**" type="copy" | |
2012-04-23 17:54:41 +0900: adding match pattern="trade_log.**" type="copy" | |
2012-04-23 17:54:41 +0900: adding match pattern="tomcat_log.**" type="copy" | |
2012-04-23 17:54:41 +0900: adding match pattern="apache.error.**" type="file" | |
2012-04-23 17:54:41 +0900: adding match pattern="apache_result.**" type="file" | |
2012-04-23 17:54:41 +0900: adding match pattern="tomcat_result.**" type="file" | |
2012-04-23 17:54:41 +0900: adding match pattern="trade_result.**" type="file" | |
2012-04-23 17:54:41 +0900: adding match pattern="fluent.**" type="file" | |
2012-04-23 17:54:41 +0900: adding match pattern="*.**" type="file" | |
2012-04-23 17:54:41 +0900: :buffer_chunk_limit(33554432) is large. Reset :buffer_chunk_limit with 10485760 | |
2012-04-23 17:54:41 +0900: :buffer_chunk_limit(33554432) is large. Reset :buffer_chunk_limit with 10485760 | |
2012-04-23 17:54:41 +0900: listening fluent socket on 0.0.0.0:24224 | |
2012-04-24 11:10:14 +0900: shutting down fluentd | |
2012-04-24 11:10:14 +0900: shutting down fluentd | |
2012-04-24 11:10:14 +0900: process finished code=0 | |
2012-04-24 11:12:39 +0900: starting fluentd-0.10.19 | |
2012-04-24 11:12:39 +0900: reading config file path="/etc/td-agent/td-agent.conf" | |
2012-04-24 11:12:39 +0900: adding source type="forward" | |
2012-04-24 11:12:39 +0900: adding match pattern="apache.access.**" type="copy" | |
2012-04-24 11:12:39 +0900: adding match pattern="trade_log.**" type="copy" | |
2012-04-24 11:12:39 +0900: adding match pattern="tomcat_log.**" type="copy" | |
2012-04-24 11:12:39 +0900: adding match pattern="apache.error.**" type="file" | |
2012-04-24 11:12:39 +0900: adding match pattern="apache_result.**" type="file" | |
2012-04-24 11:12:39 +0900: adding match pattern="tomcat_result.**" type="file" | |
2012-04-24 11:12:39 +0900: adding match pattern="trade_result.**" type="file" | |
2012-04-24 11:12:39 +0900: adding match pattern="fluent.**" type="file" | |
2012-04-24 11:12:39 +0900: adding match pattern="*.**" type="file" | |
2012-04-24 11:12:39 +0900: :buffer_chunk_limit(33554432) is large. Reset :buffer_chunk_limit with 10485760 | |
2012-04-24 11:12:39 +0900: :buffer_chunk_limit(33554432) is large. Reset :buffer_chunk_limit with 10485760 | |
2012-04-24 11:12:39 +0900: listening fluent socket on 0.0.0.0:24224 | |
2012-04-24 11:42:16 +0900: shutting down fluentd | |
2012-04-24 11:42:16 +0900: shutting down fluentd | |
2012-04-24 11:42:16 +0900: process finished code=0 | |
2012-04-24 11:43:45 +0900: starting fluentd-0.10.19 | |
2012-04-24 11:43:45 +0900: reading config file path="/etc/td-agent/td-agent.conf" | |
2012-04-24 11:43:45 +0900: adding source type="forward" | |
2012-04-24 11:43:45 +0900: adding match pattern="apache.access.**" type="copy" | |
2012-04-24 11:43:46 +0900: adding match pattern="trade_log.**" type="copy" | |
2012-04-24 11:43:46 +0900: adding match pattern="tomcat_log.**" type="copy" | |
2012-04-24 11:43:46 +0900: adding match pattern="apache.error.**" type="file" | |
2012-04-24 11:43:46 +0900: adding match pattern="apache_result.**" type="file" | |
2012-04-24 11:43:46 +0900: adding match pattern="tomcat_result.**" type="file" | |
2012-04-24 11:43:46 +0900: adding match pattern="trade_result.**" type="file" | |
2012-04-24 11:43:46 +0900: adding match pattern="fluent.**" type="file" | |
2012-04-24 11:43:46 +0900: adding match pattern="*.**" type="file" | |
2012-04-24 11:43:46 +0900: :buffer_chunk_limit(33554432) is large. Reset :buffer_chunk_limit with 10485760 | |
2012-04-24 11:43:46 +0900: :buffer_chunk_limit(33554432) is large. Reset :buffer_chunk_limit with 10485760 | |
2012-04-24 11:43:46 +0900: listening fluent socket on 0.0.0.0:24224 | |
[root@virt2-fluentd01 flunet]# /usr/lib64/fluent/ruby/bin/fluent-gem search -rd fluentd-plugin | |
/usr/lib64/fluent/ruby/lib/ruby/1.9.1/yaml.rb:56:in `<top (required)>': | |
It seems your ruby installation is missing psych (for YAML output). | |
To eliminate this warning, please install libyaml and reinstall your ruby. | |
*** REMOTE GEMS *** | |
^CERROR: Interrupted | |
[root@virt2-fluentd01 flunet]# /usr/lib64/fluent/ruby/bin/fluent-gem search fluentd-plugin | |
/usr/lib64/fluent/ruby/lib/ruby/1.9.1/yaml.rb:56:in `<top (required)>': | |
It seems your ruby installation is missing psych (for YAML output). | |
To eliminate this warning, please install libyaml and reinstall your ruby. | |
*** LOCAL GEMS *** | |
[root@virt2-fluentd01 flunet]# /usr/lib64/fluent/ruby/bin/fluent-gem search | |
/usr/lib64/fluent/ruby/lib/ruby/1.9.1/yaml.rb:56:in `<top (required)>': | |
It seems your ruby installation is missing psych (for YAML output). | |
To eliminate this warning, please install libyaml and reinstall your ruby. | |
*** LOCAL GEMS *** | |
aws-sdk (1.1.4) | |
bigdecimal (1.1.0) | |
bson (1.6.2) | |
bson_ext (1.6.2) | |
bundler (1.1.3) | |
cool.io (1.1.0) | |
fluent-plugin-datacounter (0.2.2) | |
fluent-plugin-mongo (0.6.7) | |
fluent-plugin-s3 (0.2.2) | |
fluent-plugin-scribe (0.10.7) | |
fluent-plugin-td (0.10.6) | |
fluentd (0.10.19) | |
git (1.2.5) | |
http_parser.rb (0.5.1) | |
httparty (0.8.3) | |
io-console (0.3) | |
iobuffer (1.1.2, 0.1.3) | |
jeweler (1.6.2) | |
json (1.5.4, 1.5.2) | |
minitest (2.5.1) | |
mongo (1.6.2) | |
msgpack (0.4.4) | |
multi_json (1.3.2) | |
multi_xml (0.4.4) | |
nokogiri (1.5.2) | |
rake (0.9.2.2) | |
rdoc (3.9.4) | |
td-client (0.8.14) | |
thrift (0.8.0) | |
uuidtools (2.1.2) | |
yajl-ruby (1.0.0) | |
[root@virt2-fluentd01 flunet]# |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment