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 …
Author: Kimmy
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 …
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 …
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’ …
PuttyCM – Object reference not set to an instance of an object error
I was recently introduced to PuttyCM and am hooked to it till now. Just a while ago while I was making some changes to the config and all of a sudden I could not access the software. Unexpected Error “object reference not set to an instance of an object” shows up and I can’t seem …
Extract first 100 lines from a file in UNIX
I was tasked to get first 100 lines of records from a database dump. While searching big brother G, I found the solution here:- how to extract a range of lines from a file provided by zazzybob. Here’s the solutions:- You could also pipe though sed to extract the range – e.g. blah | sed …