Posts Tagged ‘Plesk’

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

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

How to Change the IP on a plesk install – Windows

March 3rd, 2011

The following will update the IP’s on a plesk server so that all database records, network adapters settings, FTP and www records are updated properly. If there are DNS records, those will be updated.

  1. Remote desktop onto your hosting server.
  2. Run Plesk Reconfigurator
  3. Select Change Server IP Addresses
  4. In the window, select the IP addresses to change.
  5. To map to a new IP address:
    • Select Create New IP Address
    • Enter IP Address and Network Mask.
    • Select the appropriate Network Interface Name
  6. To map to an existing IP address:
    • Select Map to Existing IP Address
    • Select the appropriate address.
  7. Click Next
if you found this helpful feel free to donate to:
ZEC: t1NQp1UuqQbmnXzazbLTSreS2AbaZpRBuTM
LTC: LZyNF1qkBUA7XFz83m5xwzGgmmj1owQn9d
BTC: 1PY95KFPTEJTR7f2NnSgaB6xB9pwDJkcJz

Plesk – Getting error when visiting control panel

November 22nd, 2010

t is not possible to access to Parallels Plesk Panel. Browser displays the following error:

ERROR: SWKeyExFatalError
xmlrpc error:  XML parsing failed
0: common_func.php3:4523
of_get_key_by_product(string  'plesk-win')
1: common_func.php3:4523
getPleskKey()
2:  common_func.php3:4602
getKeyProp(string 'demo')
3: auth.php3:54

The resolution is pretty simple, go to :

%plesk_dir%\admin\repository\

Look for a file called

registry.xml.

If it is 0KB or empty delete it and go back to the panel then refresh/reload the page

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

Plesk – squirrel mail error “You must be logged in to access this page”

July 17th, 2010

If you are trying to install squirrelmail as an application for a domain in plesk, you may run into this error “You must be logged in to access this page”. This can be caused by a lack of permissions on the folder :

/var/lib/php/session

If the permissions are 770 change them to 777, it should allow for squirrel to work properly.

If you want to double check, look at the error log for the domain found at :

/var/www/vhosts/DOMAINNAME/statistics/logs/error_log

You should see an error like this:

 session_write_close() [function.session-write-close]:
open(/var/lib/php/session/sess_rti5h1tadbkosjdhtierr1f0l1,
 O_RDWR) failed: Permission denied

Or something similar.

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