Month: December 2012

Installation of GNUPG and GNUPG-PHP extension

GNU Privacy Guard (GnuPG or GPG) is a GPL Licensed alternative to the PGP suite of cryptographic software and in this post I am going to explain how you can install GNUPG and GNUPG PHP extensions on your Server. Step 1: Go to download Directory cd /usr/local/src/ Step 2: Download Required Modules Download GNUPG, libgpg-error
Read More »

Enkompass Error: Method ‘GetSessionTimeout’ from contract ‘IServerAdministratorService’ failed.

After installation of Enkompass while configuring the server at “Initial Setup Wizard” when you press Next on Second Step it throws following Error Problem Code: Unknown Type: WebAppAPIException Exception of type ‘cPanel.Web.Exceptions.WebAppAPIException’ was thrown. Method ‘GetServerSmtp Could not connect to net.tcp://127.0.0.1:2098/ServerAdministratorInterface. The connection attempt lasted for a time span of 00:00:01.0153305. TCP error code 10061:
Read More »

FIX:- Memory Leakage issue Perl Socket Programming

Today through this Article I am going to share a fix for memory leakage in Perl Socket Programming. Many times we use IO::Socket module to establish sockets in code and while creating a object using following code snippet:- my $socket = IO::Socket::INET->new (PeerAddr=>$remote_ip,PeerPort=>$port,Proto=>’tcp’); my $output=<$socket> ; This all was done using multi threading in a
Read More »

Enable Iptables/Firewall Modules for a VPS

Default firewall for Linux i.e. iptables is depends upon many kernel modules without which a server can’t be secured properly. Also the firewall configurations will give many errors while configuring it. So, it is required to have proper kernel modules enabled for a Server. In case of a VPS, Virtually Hosted server which shared resources
Read More »