Error: No CURL Found - Social Networks AutoPoster needs the CURL PHP extension. Please install it or contact your hosting company to install it.

Linux Archives - Page 2 of 3 - ServerTechSupport
30 April 2013
Comments: Comments Off on Change Joomla Administrator folder name

Change Joomla Administrator folder name

This hack works without modifying any joomla code. First of all create a folder name of your choice for e.g myhiddenadmin in the Joomla root directory and create a index.php file in it with below code <?php $joomla_admin_cookie_code=”658971532527″; // some random numbers setcookie(“JoomlaAdministratorSession”,$joomla_admin_cookie_code,0,”/”); header(“Location: /administrator/index.php”); ?> Now go to Joomla administrator directory and add the […]


30 April 2013
Category:
Linux
Security
Comments: Comments Off on Adding SSH Keys for password less login

Adding SSH Keys for password less login

Password less SSH login can be very useful when setting up automated backup via SSH or similar tasks.  First of all generate the RSA ssh key on the server using below commands. Leave the passphrase empty. It will generate the SSH public key in file /root/.ssh/id_rsa.pub root@admin [~]# ssh-keygen -t rsa Generating public/private rsa key […]


30 April 2013
Category:
Linux
Comments: Comments Off on 451-The server has reached its limit for processing requests from your host.

451-The server has reached its limit for processing requests from your host.

Today one of our client complained about receiving below error when he was sending emails from his server1 to server2. SMTP error from remote mail server after initial connection: host domain.com [xx.xx.xx.xx]: 451-The server has reached its limit for processing requests from your host. 451 Please try again later.: retry timeout exceeded   It’s due […]


29 April 2013
Comments: Comments Off on Mitigate Slowloris attack

Mitigate Slowloris attack

Slowloris is a piece of software written by Robert “RSnake” Hansen which allows a single machine to take down another machine’s web server with minimal bandwidth and side effects on unrelated services and ports. Slowloris tries to keep many connections to the target web server open and hold them open as long as possible. It […]


29 April 2013
Category:
cPanel
Linux
Comments: Comments Off on How to fix the missing Databases in cPanel

How to fix the missing Databases in cPanel

Sometimes you may find that the databases are missing in cPanel. But when you check it via shell, you will see that the database are present and it’s working perfectly. It’s just missing is cPanel interface. To fix it, you should run the below two commands /scripts/update_db_cache /usr/local/cpanel/bin/setupdbmap


28 April 2013
Category:
Linux
Comments: Comments Off on Install Nginx PHP-FPM on CentOS

Install Nginx PHP-FPM on CentOS

NGINX (pronounced engine-x) is an open source web server that excels at large scale web integration, application security, web acceleration, content and application delivery and  PHP-FPM (FastCGI Process Manager) is an alternative PHP FastCGI implementation with some additional features useful especially for heavy traffic sites. Below are the steps to install Nginx + PHP-FPM  on […]


27 April 2013
Category:
Linux
Comments: Comments Off on Enable alternate SMTP port in MailEnable

Enable alternate SMTP port in MailEnable

By default MailEnable listens on port 25.  Sometime ISP’s block port 25 and your clients are not able to send emails. Then you may need to add SMTP service listen on some other port too. Follow the below steps to to enable alternate smtp port in MailEnable. RDP to server Open MailEnable Administrator Now go […]


27 April 2013
Category:
Linux
Comments: Comments Off on Magento 503: Service Temporarily Unavailable

Magento 503: Service Temporarily Unavailable

Sometimes Magento shows service temporarily unavailable error after some upgrade or plugin installation etc.  You see this warning because the store went to maintenance mode by creating maintenance.flag file in the sites root folder. Solution: The solution is to delete the maintenance.flag file from the root folder and it’s all done. Your store will start […]


27 April 2013
Category:
Linux
Comments: Comments Off on plesk migration error

plesk migration error

Today I was migrating  accounts from plesk to plesk using plesk migration manager utility. But it was failing repeatedly. On checking the log %PLESK_ROOT%\PMM\msessions\XXXXXXXXXXXXXXX\Migration.log I found the below error ForeignMigratorCore.MigratorException: Unable to download dump files to local store. —> System.Runtime.InteropServices.COMException (0x80070003): The system cannot find the path specified. Server stack trace: at System.DirectoryServices.DirectoryEntry.Bind(Boolean throwIfFail) at […]


27 April 2013
Category:
Apache
Linux
Comments: Comments Off on Redirect www to non www with .htacess

Redirect www to non www with .htacess

Google consider www and non www domain’s as separate. So sometimes you may want to redirect all your www url to non www url i.e http://www.domain.com to http://domain.com You can easily do it by adding the below code to your .htaccess files. RewriteEngine On RewriteCond %{HTTP_HOST} !^yourdomain\.com RewriteRule (.*) http://yourdomain.com/$1 [R=301,L]