Posts Tagged ‘Plesk error’

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 – Upgrade to 10 getting error “”/usr/local/psa/admin/logs/panel.log” cannot be opened with mode “a””

January 8th, 2011

After an upgrade you are getting the following error:

ERROR: Zend_Log_Exception
"/usr/local/psa/admin/logs/panel.log" cannot be opened with mode "a"

0: Stream.php:66
Zend_Log_Writer_Stream->__construct(string '/usr/local/psa/admin/logs/panel.log')
1: Abstract.php:84
CommonPanel_Application_Abstract->_initLog()
2: Abstract.php:31
CommonPanel_Application_Abstract->run()
3: Abstract.php:19
CommonPanel_Application_Abstract::init()
4: auth.php3:137

To resolve just run the following:

/usr/local/psa/bootstrapper/pp10.9.0-bootstrapper/bootstrapper.sh repair
if you found this helpful feel free to donate to:
ZEC: t1NQp1UuqQbmnXzazbLTSreS2AbaZpRBuTM
LTC: LZyNF1qkBUA7XFz83m5xwzGgmmj1owQn9d
BTC: 1PY95KFPTEJTR7f2NnSgaB6xB9pwDJkcJz

Plesk and DrWeb will not start

April 2nd, 2010

On a test server of mine i found that Plesk and Drweb would not start. I was getting the following start

/etc/init.d/psa start
Starting xinetd service...                                            done
Starting named service...                                             done
Starting mysqld service...                                            done
Starting postgresql service...                                        done
Starting psa-spamassassin service...                                  done
Plesk: Starting Mail Server... already started
Starting mail handlers tmpfs storage
Starting Plesk...                                                     failed
Starting drwebd service...                                            failed

When checking the error_log i found:

tail -f /var/log/sw-cp-server/error_log
2010-03-30 20:26:36: (log.c.75) server started
2010-03-30 20:26:36: (network.c.336) SSL: error:00000000:lib(0):func(0):reason(0)
2010-03-30 20:29:55: (log.c.75) server started
2010-03-30 20:29:55: (network.c.336) SSL: error:00000000:lib(0):func(0):reason(0)
2010-03-30 20:29:55: (log.c.75) server started
2010-03-30 20:29:55: (network.c.336) SSL: error:00000000:lib(0):func(0):reason(0)
2010-03-30 20:37:57: (log.c.75) server started
2010-03-30 20:37:57: (network.c.336) SSL: error:00000000:lib(0):func(0):reason(0)
2010-03-30 20:37:57: (log.c.75) server started
2010-03-30 20:37:57: (network.c.336) SSL: error:00000000:lib(0):func(0):reason(0)

It turns out that Plesk has an issue with a new openssl version, the exact version is

openssl-0.9.8e-12.el5_4.6

If you run:

rpm -qa | grep openssl

And find that the result is the above SSL

rpm -qa | grep openssl
openssl-0.9.8e-12.el5_4.6

downgrade the open ssl to 4.1 (IMPORTANT: if you see any psa/plesk packages listed in teh dependency youll need to use a different method, look at the end of the page for details)

yum downgrade openssl-0.9.8e-12.el5_4.1

This should fix it and Plesk will start

Method 2:

If you find that tring to run yum downgrade openssl-etc… lists some psa/plesk dependencies then you will need to do the following:

# wget -c http://mirrors.kernel.org/centos/5/updates/x86_64/RPMS/
{openssl-0.9.8e-12.el5_4.1.x86_64.rpm,mod_ssl-2.2.3-31.el5.centos.2.x86_64.rpm,httpd-
2.2.3-31.el5.centos.2.x86_64.rpm}

# rpm -Uvh --oldpackage {openssl-0.9.8e-12.el5_4.1.x86_64.rpm,mod_ssl-
2.2.3-31.el5.centos.2.x86_64.rpm,httpd-2.2.3-31.el5.centos.2.x86_64.rpm}

# /etc/init.d/sw-cp-server start
if you found this helpful feel free to donate to:
ZEC: t1NQp1UuqQbmnXzazbLTSreS2AbaZpRBuTM
LTC: LZyNF1qkBUA7XFz83m5xwzGgmmj1owQn9d
BTC: 1PY95KFPTEJTR7f2NnSgaB6xB9pwDJkcJz