Archive for the ‘Plesk’ category

Plesk – 500 internal error “/usr/bin/sw-engine-cgi: undefined symbol: xmlTextReaderSetup”

October 29th, 2014

When trying to visit the plesk pannel you are getting a “500 internal error”. The following applies to plesk 10 on Centos/Redhat I686.

You then try to use the bootstrapper to repair the installation, or any other command line utility and you find the following occurs:

/usr/bin/sw-engine-cgi: symbol lookup error: /usr/bin/sw-engine-cgi: undefined symbol: xmlTextReaderSetup

For more testing, ssh to the server and run

/usr/bin/sw-engine-cgi -v

You should get the result such as this

/usr/bin/sw-engine-cgi: symbol lookup error: /usr/bin/sw-engine-cgi: undefined symbol: xmlTextReaderSetup

Now find out the the version the server is, use the command “arch”

arch
i686

In order to fix the issue do the following:

#wget http://autoinstall.plesk.com/PSA_10.4.4/dist-rpm-CentOS-5-i386/contrib/sw-engine-2.3.1-201410071349.rhel5.i386.rpm
#rpm -qa | grep sw-en
sw-engine-2.3.1-201410061604.rhel5
#rpm -e sw-engine-2.3.1-201410061604.rhel5 --nodeps --justdb
#rpm -ivh sw-engine-2.3.1-201410071349.rhel5.i386.rpm
#  /usr/bin/sw-engine-cgi -v
PHP 5.3.29 (cgi-fcgi) (built: Oct  7 2014 13:49:37)
Copyright (c) 1997-2014 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2014 Zend Technologies

this should fix the issue, please replace sw-engine-2.3.1-2014etc… with the relevant version available from

http://autoinstall.plesk.com/PSA_10.4.4/dist-rpm-CentOS-5-i386/contrib/.

This fix should also work with other distributions

http://autoinstall.plesk.com/PSA_10.4.4/

if you found this helpful feel free to donate to:
ZEC: t1NQp1UuqQbmnXzazbLTSreS2AbaZpRBuTM
LTC: LZyNF1qkBUA7XFz83m5xwzGgmmj1owQn9d
BTC: 1PY95KFPTEJTR7f2NnSgaB6xB9pwDJkcJz

Adding/Changing the SSL cert for mail in plesk – Linux

August 21st, 2013

The certificate for SMTP over SSL is located in the following files:

1. For QMail MTA: /var/qmail/control/servercert.pem
2. For Postfix MTA: /etc/postfix/postfix_default.pem

Note: Only QMail MTA is used in Parallels Plesk Panel version 8.x and earlier versions. Use instructions from this KB to define which MTA is used in Parallels Plesk Panel version 9.x and later versions.

For IMAP4 and POP3 over SSL, the following certificate files are used:

/usr/share/courier-imap/imapd.pem
/usr/share/courier-imap/pop3d.pem

By default, these are self-signed certificates for “plesk” which are generated during Parallels Plesk installation. If you need to set up your own certificates, copy and paste your certificate and Private Key into the appropriate filesĀ and restart “qmail/postfix” and “courier-imap” services:

For version 8.6 and earlier versions:

~# /etc/init.d/xinetd restart
~# /etc/init.d/courier-imap restart

For version 9.x and later versions:

~# /usr/local/psa/admin/sbin/mailmng –restart-service

if you found this helpful feel free to donate to:
ZEC: t1NQp1UuqQbmnXzazbLTSreS2AbaZpRBuTM
LTC: LZyNF1qkBUA7XFz83m5xwzGgmmj1owQn9d
BTC: 1PY95KFPTEJTR7f2NnSgaB6xB9pwDJkcJz

mailenable – tool to analyse the logs for errors

October 23rd, 2012

If you are having issues with MailEnable and need an easy way to analyse the logs (notepad doesn’t really cut it).

http://www.mailenable.com/tools/MeLogCheck.exe

This tool sumarizes the amount of errors of a type and then provides a description of the error and when it occured.

if you found this helpful feel free to donate to:
ZEC: t1NQp1UuqQbmnXzazbLTSreS2AbaZpRBuTM
LTC: LZyNF1qkBUA7XFz83m5xwzGgmmj1owQn9d
BTC: 1PY95KFPTEJTR7f2NnSgaB6xB9pwDJkcJz

Plesk Key error “Server response: No properly formed ip addresses”

October 8th, 2012

When logging into plesk you see that it is unable to retrieve an updated key. When you try and manually retrieve it (using retrive key) you get the following error:

"Server response: No properly formed ip addresses"

Solution (and makes very little sense) :

  1. ssh to the server
  2. type: sudo killall -HUP httpsd

that’s it.

if you found this helpful feel free to donate to:
ZEC: t1NQp1UuqQbmnXzazbLTSreS2AbaZpRBuTM
LTC: LZyNF1qkBUA7XFz83m5xwzGgmmj1owQn9d
BTC: 1PY95KFPTEJTR7f2NnSgaB6xB9pwDJkcJz

Plesk – Get email passwords using the command line

July 13th, 2012

There is a built in command to get the email/passwords in plesk. When you ssh to the server just use the following:

/usr/local/psa/admin/sbin/mail_auth_view
if you found this helpful feel free to donate to:
ZEC: t1NQp1UuqQbmnXzazbLTSreS2AbaZpRBuTM
LTC: LZyNF1qkBUA7XFz83m5xwzGgmmj1owQn9d
BTC: 1PY95KFPTEJTR7f2NnSgaB6xB9pwDJkcJz