Resize root LVM partition on CentOS

I installed my server using the default partition sizes recommended during installation. Over time, I realized that I used more space of other partitions than /home. After much searching around, this is what I did to get my server’s partition resized. “WARNING! THE FOLLOWING STEPS MAY CAUSE DAMAGED TO YOUR PARTITION AND IRRECOVERABLE DATA LOSS. … Read more

‘Afsql’ error on syslog-ng resolved

I encountered the `module=’afsql’` error after the installation of syslog-ng on CentOS 6.5. The error is as below:- Plugin module not found in ‘module-path’; module-path=’/lib64/syslog-ng’, module=’afsql’ I’ve resolved the problem based on this forum discussion. [thanks] The solution is to install syslog-ng-libdbi using the following command. yum install syslog-ng-libdbi

LC_TYPE: cannot change locale

Each time when I install a fresh CentOS 6.x server, I will get the following error when I ssh into the server. Last login: Mon Jul 21 05:30:39 2014 -bash: warning: setlocale: LC_CTYPE: cannot change locale (UTF-8): No such file or directory After searching and found the reason was because my server’s environment was no … Read more

Drop SMTP connection at HELO/EHLO matching machine name

Recently there has been many rogue incoming SMTP connections from different IP addresses with the same machine name – “ylmf-pc“. My guess is that these different machines were infected with malware and this malware is utilizing the machine to perform brute force password attack to gain authorization. My server is hosting cPanel and thus using … Read more

capicom.dll is not properly installed or registered

As I loaded up the link to use the HP Quality Center 10, an error message greeted me. CAPICOM:DLL is not properly installed or registered. Please install CAPICOM.DLL and restart your browser. As with other DLLs in Windows XP, some may not have registered properly. I used the following command to re-register the DLL. regsvr32 … Read more

Null characters in file

Some program could not handle interfacing files which contains null characters and has often causes support people lots of run around to find the cause. A simple way to identify the locations of null characters in a flat file is by using the following command. Works well each time for me. 🙂   tr ‘\0’ … Read more