Skip to main content

Posts

Showing posts from September, 2015

Elasticsearch UnknownHostException and marvel.agent.exporter issue

Solution : /etc/hosts file add  record 127.0.0.1   el-search Error Log : [2015-09-07 14:37:41,372][ERROR][marvel.agent.exporter    ] [Archangel] could not connect to any configured elasticsearch instances: [[0:0:0:0:0:0:0:0]:9200] OR  [2015-09-07 14:30:24,693][WARN ][common.network           ] failed to resolve local host, fallback to loopback java.net.UnknownHostException: el-search: el-search: unknown error         at java.net.InetAddress.getLocalHost(InetAddress.java:1505)         at org.elasticsearch.common.network.NetworkUtils.<clinit>(NetworkUtils.java:55)         at org.elasticsearch.http.netty.NettyHttpServerTransport.<init>(NettyHttpServerTransport.java:165)         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)         at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.j

service monitorix start error

Error Log Starting monitorix: Can't locate HTTP/Server/Simple/CGI.pm in @INC (@INC contains: /usr/bin/lib /usr/lib/monitorix /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at /usr/lib/monitorix/HTTPServer.pm line 27. BEGIN failed--compilation aborted at /usr/lib/monitorix/HTTPServer.pm line 27. Compilation failed in require at /usr/bin/monitorix line 30. BEGIN failed--compilation aborted at /usr/bin/monitorix line 30. Solution cp -r /usr/lib/perl5/vendor_perl/5.12.3/HTTP /usr/lib/monitorix/