Plesk 11

From Server Knowledge Base
Jump to: navigation, search

Under construction

  • Bug: On Plesk 11 for a Domain or Wildcard SSL if the CA is not picked or it says it is incorrect when it is the right one, do /opt/psa/admin/bin/nginxmng --disable and then check it. Alternatively, install it through the autoinstaller (/usr/local/psa/admin/bin/autoinstaller) and replace the entire SSL.
  • Parallels Premium Outbound Anti-Spam is only available for Parallels Plesk Panel for Linux 11.0 MU#18 or later
  • In Plesk 11 IP addresses now cannot be Dedicated with a Default Site set whilst other domains share the IP Address. However you can just set the Default Site now and preview a site via the IP address as a Shared IP.
  • Unencrypted mail passwords can still be seen using /opt/psa/admin/bin/mail_auth_view

Access MySQL in Unix CLI

mysql -uadmin -p`cat /etc/psa/.psa.shadow`;

or

cat /etc/psa/.psa.shadow
mysql -uadmin -p'$AES...==';

Domain logs

In 11.5 they are in /var/www/vhosts/system/domain.com/.plesk/statistics/logs

EngineX (nginx)

  • See these links if Nginx is adding port 7080 to PHP files or redirecting. Alternatively you can run: /usr/local/psa/admin/bin/nginxmng --disable
  • When serving static content by default Nginx sometimes times out waiting for a response. Disable it in this case.
  • Changing the nginx timeout settings can cause other issues. If running long running scripts is something you will do only occasional you may want to re-enable it in Plesk in the server components settings.
  • To enable or disable Engine X, do either:
/usr/local/psa/admin/sbin/nginxmng --enable
/usr/local/psa/admin/sbin/nginxmng --disable

If you get the error:

/opt/psa/admin/sbin/hmmng: 1448: /opt/psa/admin/sbin/hmmng: Syntax error: Bad fd number

Do:

/usr/local/psa/admin/sbin/httpdmng --reconfigure-all
vim /usr/local/psa/admin/sbin/hmmng

Change the top line to #!/bin/bash instead of #!/bin/sh and run enable or disable.

  • Sometimes Engine X needs the Private Key, SSL Certificate and CA Certificate in one file for an SSL.

- Manually open both files that contains the CA Certificate located in /opt/psa/var/certificates/ and the other file Private Key and/or SSL Certificate in the same folder.
- Copy the CA Certificate part in this file and save it into the other file with the Private Key/SSL.
- Restart NGINX.