Search Posts

Month: September 2013

Trim down load in server without killing your current running process.

It’s a fact that while we initiate some cpu or memory consumable process or job, the load in server goes high and sometimes the server become unresponsive. But what if the situation is same everytime especially in case of shared servers. The processess like pkgacct, copying, moving high sized files/folders can’t be ignored at the event of migration or other instances etc. Suppose if we initiate a pkgacct of one account and certainly the load […]

Nagios : CRITICAL – cannot connect to information_schema. Access denied for user

The error would be as follows while check_nrpe tries to check the mysql service in agent server. ============ CRITICAL – cannot connect to information_schema. Access denied for user nagios@nagiosIP.x.x (using password: YES) ============ The issue because nagios user was lagging access privilege to the DB which needs to be corrected. But please note that we should just give only access privilege to the nagios user for the purpose of checking/monitoring, do not give all other […]

“r1soft-setup –get-key” failed

I tried the command “r1soft-setup –get-key” to fetch the public key from CDP server and it showed up the following error unexpectadly. ==================== root@server [~]# r1soft-setup –get-key http://37.x.x.x Couldnt connect to remote host Unable to get key from remote CDP Server ==================== You can manually configure the key by doing the below steps: 1) Login on to CDP server front end panel 2) Click on “Configuration” on the left-bottom menu 3) Copy the Public Key […]

r1soft | r1soft-setup –get-module failed

Sometimes you may end up with the following error while trying to install CDP agent in the server. ======================== root@server [~]# r1soft-setup –get-module Checking for binary module Waiting | No binary module found Gathering kernel information Gathering kernel information complete. Creating kernel headers package Checking ‘/lib/modules/2.6.32-279.el6.x86_64/source/’ for kernel headers Checking ‘/usr/src/kernels/2.6.32-279.el6.x86_64-x86_64/’ for kernel headers Checking ‘/lib/modules/2.6.32-279.el6.x86_64/build/’ for kernel headers Unable to find a valid source directory. Please install the kernel headers for your operating sy […]

Snoopy logger

Snoopy logger is a powerful utility which makes the admin work more easy by providing a log of commands executed via shell. It logs each and every users shell command executions to “/var/log/secure”. We can later check the log and recognize the user and the command it executed from the uid. I am pasting a portion of snoopy log below: ======================================= Sep 10 05:38:20 serverXXX snoopy[206015]: [uid:0 sid:187552 tty:/dev/pts/2 cwd:/root filename:/usr/bin/tail]: tail -f /var/log/secure Sep […]