Plesk MTAs – the Qmail and Postfix Mail Transfer Agents / SMTP mail servers

Plesk usually uses either Postfix (new versions) or Qmail (old ones). To find out which one you’re currently using, run the following command via SSH: # /usr/local/psa/admin/sbin/mailmng –features | grep SMTP_Server A QUICK COMMANDS GUIDE FOR POSTFIX Show the email messages in Queue: # postqueue -p | tail -n 1 | cut -d’ ‘ -f5 List …

The plain HTTP request was sent to HTTPS port nginx

Getting annoyed by the error message displayed each time you forget to use https in your URL when trying to access th Plesk panel? The “400 Bad Request – The plain HTTP request was sent to HTTPS port” error is caused by a bug in the Parallels Plesk panel version 11.5, here is a quick fix for it: create …

Quick commands guide for the vi / vim editor

Vim is a text editor that you can use in Linux environments to create or edit files. There are two working modes in vim. One is the command mode and another is the insert mode. To enter text or edit any line, press the “i” key on your keyboard (the i stands for Insert). Once you’re …

Ubuntu 8.04 alternative repositories – “Failed to fetch” error

Since Ubuntu 8.04 is no longer supported, the original repositories no longer work. Ubuntu users will get an error like: Err http://mirrors.xx.com hardy/universe mc 1:4.6.1-8ubuntu1 404 Not Found [IP: xx.xx.xx.xx] Failed to fetch http://mirrors.xx.com/ubuntu/pool/universe/m/mc/mc_4.6.1-8ubuntu1_amd64.deb 404 Not Found [IP: xx.xx.xx.xx 80] E: Unable to fetch some archives, maybe run apt-get update or try with –fix-missing? Or …

Move a WordPress based website from Shared to VPS

There comes a time when the website you’ve built has grown to big or you’ve added some features to it that a shared type of hosting package simply cannot cope with. The next step in these situations is to have the website moved over to a more powerful platform, in most cases this would be …

Fix WordPress redirect loops in Plesk

Have you just moved a WordPress based website onto your VPS running Plesk and can’t get rid of the redirect loop even after changing everything you can think of both in your WordPress settings and .htaccess? Well worry not my friend because this simple solution will most likely fix your website. 1) From your Plesk …

Plesk failed upgrades

One of the main reasons that can cause upgrades to fail is “named” (the DNS Bind program), having its permissions changed so it cannot run. Check this and correct as below: [root@vps16505916 ~]# ls -la /etc/init.d/named -rwxr-xr-x 1 root root 7478 Jan 7 12:17 /etc/init.d/named [root@vps16505916 ~]# chmod 755 /etc/init.d/named Once done, try and run the …

Plesk Panel for Linux – location of services logs and configuration files

APPLIES TO: Parallels Plesk Panel 11.5 for Linux Services Control Panel Logs Error log: /var/log/sw-cp-server/error_log and /var/log/sw-cp-server/sw-engine.log Access log: /usr/local/psa/admin/logs/httpsd_access_log Panel log: /usr/local/psa/admin/logs/panel.log Services Stop: /etc/init.d/psa stop Start: /etc/init.d/psa start Restart: /etc/init.d/psa restart Configuration PHP config: /usr/local/psa/admin/conf/php.ini Panel config: /usr/local/psa/admin/conf/panel.ini Web server config: /etc/sw-cp-server/conf.d/plesk.conf Web Presence Builder Logs Error log: /usr/local/psa/admin/logs/sitebuilder.log Install/upgrade logs: /usr/local/sb/tmp/ No service control (working via sw-cp-server service) Configuration /usr/local/sb/config /etc/sw-cp-server/conf.d/plesk.conf /usr/local/psa/admin/conf/php.ini SSO Logs Error …