directory index of “/usr/local/psa/admin/htdocs/” is forbidden

After upgrading from php5.4 to php5.6 in plesk panel with centos 6.8. I noticed I have uninstalled plesk core files. I checked in following location and there were either no files at all or some files/folders only: /usr/local/psa/admin/bin/ /etc/sw-cp-server/conf.d/ Error log: # tailf /var/log/sw-cp-server/error_log 2015/12/31 02:53:37 [error] 8788#0: *3 directory index of “/usr/local/psa/admin/htdocs/” is forbidden, […]

vsftpd Error: 500 Illegal PORT command. ftp: bind: Address already in use

ftp 127.0.0.1 21 Connected to 127.0.0.1. 220 (vsFTPd 2.2.2) Name (127.0.0.1:prakash): prakash 331 Please specify the password. Password: 230 Login successful. Remote system type is UNIX. Using binary mode to transfer files. ftp> ls 500 Illegal PORT command. ftp: bind: Address already in use To solve this, Method #1. Change mode to passive by typing […]

Your PHP installation appears to be missing the MySQL extension which is required by WordPress.

You will get above error message if you are using suPHP_ConfigPath inside your .htaccess file in cpanel. This error was encountered in easyapache4 where there are multiple php available. In this post I am referring to php56. Similar config can be done to other versions too. When we use suPHP_ConfigPath inside our .htaccess this tells […]

Securing Your Magento Store Admin with HTTP Basic Auth on Nginx

Make sure to install apache2-utils in your Ubuntu Server. $ sudo apt-get install apache2-utils Then set user and password for HTTP Basic Auth $ htpasswd -c /var/www/.htpasswd username Open your nginx conf file and insert following location ~* ^/(index.php/)?admin { auth_basic “Restricted”; auth_basic_user_file /var/www/.htpasswd; location ~* .(php) { include fastcgi_params; } try_files $uri $uri/ /index.php?$args; […]

How to remove rkhunter attachment called “noname”

If you have followed some tutorials and set rkhunter.sh as cronjob and ran it, you will get an email from rkhunter with an attachment named “noname”. To solve the problem change your script as follows: #!/bin/sh ( /usr/local/bin/rkhunter –versioncheck –nocolors /usr/local/bin/rkhunter –update –nocolors /usr/local/bin/rkhunter –cronjob –report-warnings-only –nosummary –nocolors ) | /bin/mail -s “rkhunter Daily Run […]

Icinga2 : DISK CRITICAL – /sys/kernel/security is not accessible: Permission denied

First, I tried to run check_disk command with root user. It worked great. But when I tried to run check_disk command with nobody user, I got following. # su -s /bin/bash nobody bash-4.2$ /usr/lib64/nagios/plugins/check_disk -w 70% -c 80% DISK CRITICAL – /sys/kernel/security is not accessible: Permission denied Then, I checked permission of /sys/kernel/security folder # […]

How to enable autossl feature and lets encrypt plugin in WHM?

Autossl feature is one of the great feature now available in WHM. AutoSSL helped many cPanel and WHM users who had issues with SSL installation and renewal. cPanel & WHM ships with the cPanel (powered by Comodo) provider. To install the Let’s Encrypt AutoSSL provider plugin we have to install it with scripts provided in […]

Starting RDP service in windows server 2008 R2 remotely

windows server 2008 r2

What to do if RDP (Remote Desktop) services stops and you are logged out from server? Solution: download pstools. PsTools is a set of utilities to perform all sorts of administration tasks both locally, and on remote computers as well. In this case we are going to start RDP service in remote windows server. In […]