td-agent throwing error – (Errno::EACCES), Unknown output plugin ‘gelf’

Fluentd and Graylog2 can be used for End-to-End Log Analysis. Fluentd is free and fully open-source log collector which works on technique ‘Log Everything’ Graylog2 is a powerful and currently most popular log analysis framework powered by Elasticsearch and MongoDB. Fluentd can output data to Graylog2 in the GELF format to take advantage of Graylog2’s analytics and visualization features. Fluentd …

td-agent throwing error – (Errno::EACCES), Unknown output plugin ‘gelf’ Read More »

Puppet Dashboard Error – getaddrinfo: Name or service not known (SocketError)

While configuring the Puppet Dashboard for your Puppet Instance, you might get this kind of error /usr/lib/ruby/1.8/webrick/utils.rb:63:in `getaddrinfo’: getaddrinfo: Name or service not known (SocketError) [2015-05-17 19:48:38] INFO ruby 1.8.7 (2011-06-30) [x86_64-linux] /usr/lib/ruby/1.8/webrick/utils.rb:63:in `getaddrinfo’: getaddrinfo: Name or service not known (SocketError) from /usr/lib/ruby/1.8/webrick/utils.rb:63:in `create_listeners’ from /usr/lib/ruby/1.8/webrick/server.rb:75:in `listen’ from /usr/lib/ruby/1.8/webrick/server.rb:63:in `initialize’ from /usr/lib/ruby/1.8/webrick/httpserver.rb:24:in `initialize’ from /usr/share/puppet-dashboard/script/../config/../vendor/gems/rack-1.1.6/lib/rack/handler/webrick.rb:10:in …

Puppet Dashboard Error – getaddrinfo: Name or service not known (SocketError) Read More »

RPM error: can’t create transaction lock on /var/lib/rpm/__db.000

Sometimes when you are using rpm, it might throws the warning followed by error, like below: [root@scmquest ]# rpm -ivh virt-what-1.11-2.el5.x86_64.rpm warning: virt-what-1.11-2.el5.x86_64.rpm: Header V3 DSA signature: NOKEY, key ID 37017186 warning: waiting for transaction lock on /var/lib/rpm/__db.000 error: can’t create transaction lock on /var/lib/rpm/__db.000 You can try killing the rpm processes [root@scmquest ]# netstat -plan | …

RPM error: can’t create transaction lock on /var/lib/rpm/__db.000 Read More »

Puppet error after Ruby upgrade

As per the thumb rule, all your softwares should be up to date and in-sync with other tools upgrade. But if you are getting Error in puppet after ruby upgrade like : /usr/share/puppet-dashboard/script/../config/../vendor/rails/railties/lib/rails/gem_dependency.rb:23:in `add_frozen_gem_path’: undefined local variable or method `source_index’ for Rails::GemDependency:Class (NameError) from /usr/share/puppet-dashboard/script/../config/boot.rb:47:in `load_initializer’ from /usr/share/puppet-dashboard/script/../config/boot.rb:38:in `run’ from /usr/share/puppet-dashboard/script/../config/boot.rb:11:in `boot!’ from /usr/share/puppet-dashboard/script/../config/boot.rb:110 from /usr/share/puppet-dashboard/script/server:2:in …

Puppet error after Ruby upgrade Read More »

Puppet Error: Could not request certificate: The certificate retrieved from the master does not match the agent’s private key

While configuring the new Puppet agent, sometimes its throwing error like below [root@appvm001 puppet]# puppet agent –verbose –test Info: Creating a new SSL key for appvm001 Info: Caching certificate for ca Info: Caching certificate for appvm001 Error: Could not request certificate: The certificate retrieved from the master does not match the agent’s private key. Certificate …

Puppet Error: Could not request certificate: The certificate retrieved from the master does not match the agent’s private key Read More »

Pass Jenkins Upstream Job Parameter to Downstream Job

When we are implementing CI/CD through Jenkins, sometimes there is a need of passing parameter from one job to another job. Here I am going to demonstrate how to achieve the same. First of all, Install the Jenkins Parameterized Trigger Plugin – Go to Manage Jenkins and then Click on Manage Plugins Once done, go to your Upstream Jenkins Job and add the Post Build Action to send the …

Pass Jenkins Upstream Job Parameter to Downstream Job Read More »