Wrong permissions when uploaded over SFTP ?
When uploading files / folders via SFTP, do you get the wrong / unintended permissions ? This might be evident when you get the permission of a file as 664 when uploaded via FileZilla over SFTP, and you get 644 when the same file is done over FTP. This is due to the...
Blocking all mails originating from a domain in your cPanel server !
Basically, there are times when a particular domain in your server is involved in spamming or excessive mail delivery and you just want to block that domain alone from sending mails. With the current setup with cPanel, it is not straightforward to establish this. We...
Clicking on email accounts from cPanel throwing an error ?
When you click on email accounts from cPanel, do you face this error ? A fatal error or timeout occurred while processing this directive. Undefined subroutine &Cpanel::ExpVar::expand_and_detaint called at cpanel.pl line 963.main::real_cpexectag("<?cp...
404 Not found error along with the original 404 error_document !
When trying to access a non-existent page / file in a domain, do you get an additional 404 Not Found error which should actually be redirected to an ErrorDocument ? For Eg, when I try to access a non-existent file within my account I get the following : Not Found...
cPanel account restore issue – a mysql user with the name ” already exists
When trying to restore an account from a backup file from WHM, do you face this error ? Account Restore Failed: “Account failure: Failed to create the account: The system could not create the user “xxx” because it conflicts with an unmanaged MySQL database user.” If...
Issue with cPanel upgrade – giflib, libxslt, libxslt-devel dependency errors !
When trying to upgrade cPanel to a latest version, do you find this error ? You could try using --skip-broken to work around the problem You could try running: package-cleanup --problems The program package-cleanup is found in the yum-utils package. The system failed...
cPanel scripts returning a Perl error !
There might be many situations in which you need to run some default cPanel scripts in the server. Recently i found an issue when running the script : # /usr/local/cpanel/scripts/check_cpanel_rpms --fix The error returned was something like : #...
cPanel / WHM upgrade failure !
When trying to upgrade cPanel /WHM version, do you face the following error : Switching to 11.46.2.4 to determine if we can reach that version without failure. FATAL: Could not figure out RPM distribution version The Administrator will be notified to review this...
Hiding PHP extension in IIS using URL rewrite module
We have some situations in which we need to hide the extension of a webpage to the end users. Mostly this is concerned with the server security. Here we discuss about hiding the PHP extension of a wepage deployed in an IIS server . We can easily implement this in...
Installing a Perl module using CPAN
In this short post, we will discuss on how to install a perl module using CPAN. First, login to the CPAN interactive shell using the command: # cpan Once, you are in, install a module using the syntax, cpan> install package:function eg, to install the...
No backupset selected to be restored – error in SQL 2012/14 !
Sometimes we get a message like “No backupset selected to be restored” while trying to restore a Database into SQL server 2012 or SQL Server 2014 using SQL Management Studio. There are various reasons for this to happen, such as : If we are trying to restore the...
mod_ruid2 – Issues in mutual exclusion ?
The mod_ruid2 Apache module changes the permissions of all of the HTTP requests for a domain to the permissions of the owner of that domain. This is just like suexec or the module mod_suphp ! If you have enabled mod_ruid2 in your server and if there are any scripts...
The Ghost vulnerability – CVE-2015-0235
So there we have another vulnerability affecting the world of opensource. Nick-named as GHOST Vulnerability, it affects the glibc library shipped along with the linux systems. It has been assigned CVE-2015-0235 As per redhat, GHOST is a 'buffer overflow' bug...
Turning off mod_gzip using .htaccess rules !
You an read this to find out about mod_gzip, an external module for Apache. There can be an issue with mod_gzip, when your website is hit with lots of users, attempting to complete some form-submission and if they do not allow enough time for mod_gzip to send the...
Configuring mail server locally when ‘A’ record points to remote server !
This post will discuss on how to configure the mail service for a domain locally, when the domain's A record points to an external server. This includes changing the MX records for the domain from WHM or cPanel interface of the domain. Edit the DNS zone of the domain...
Disabling email alerts from LFD !
LFD ( login failure daemon ) which comes along with the firewall CSF, is a process which runs in the background and that scans for the server logs periodically to find any suspicious activities, process, login attempts etc. You might receive Lfd excessive resource...
Running your commands/scripts in background – screen !
At times, it is required to run your scripts or commands in the background rather than doing it directly over SSH. There can be a situation when your internet connection can get unstable and things get shaky. Every important stuffs you execute in your server is...
Unable to retrieve license keys in Plesk ?
When trying to retrieve license keys from Plesk panel, are you getting an error : Licensing Server Unreachable: Unable to connect with licensing server. Please make sure that your network allows communication to ka.parallels.com:5224. Login to your server via SSH and...
WHM showing wrong disk quota for an account !
Is WHM showing wrong disk usage for any accounts or the corresponding packages ? Usually when this issue pops up, we run the following command via back-end : # /scripts/fixquotas Did this give rise to another error ? Something like, Reading package package_name...
Disable CGI scripting in your cPanel server !
We might decide to disable CGI on the server because of the consequences that weak CGI scripts can have on our server security. If any vulnerable holes are found and the hacker uploads and runs a CGI script, they can get even root access to the server. Well then, how...

