Plesk 11

From Server Knowledge Base
Jump to navigationJump to 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.
  • 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...==';

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.