Posts Tagged ‘CentOS’

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

R1soft – Red Hat/CentOs Missing Headers

April 14th, 2011

When trying to install r1soft buagent you get the following errors.

------------------------------------------------------
Checking for binary module
Waiting                       |
No binary module found
Gathering kernel information
Gathering kernel information complete.
Creating kernel headers package
Checking '/lib/modules/2.6.32-71.24.1.el6.x86_64/source/' for kernel headers
Checking '/usr/src/kernels/2.6.32-71.24.1.el6.x86_64-x86_64/' for kernel headers
Checking '/lib/modules/2.6.32-71.24.1.el6.x86_64/build/' for kernel headers
Unable to find a valid source directory.
Please install the kernel headers for your operating system.

To resolve just run the following:

yum install kernel-devel kernel-headers
if you found this helpful feel free to donate to:
ZEC: t1NQp1UuqQbmnXzazbLTSreS2AbaZpRBuTM
LTC: LZyNF1qkBUA7XFz83m5xwzGgmmj1owQn9d
BTC: 1PY95KFPTEJTR7f2NnSgaB6xB9pwDJkcJz

CentOS -Mod_SSL install error Missing Dependency: httpd = etc….

January 29th, 2010

If you are trying to install Mod_SSL on CentOS you will sometimes get the following error. The error will look something like this:

Finished Dependency Resolution
httpd-devel-2.2.3-31.el5.centos.2.i386 from updates has depsolving
problems
–> Missing Dependency: httpd = 2.2.3-31.el5.centos.2 is needed by
package httpd-devel-2.2.3-31.el5.centos.2.i386 (updates)
Error: Missing Dependency: httpd = 2.2.3-31.el5.centos.2 is needed by
package httpd-devel-2.2.3-31.el5.centos.2.i386 (updates)

So if you run into this issue you can try one of 2 things, the easiest is too run:

yum clean all

Then try again.

Alternatively, you can install the package that is missing manually. In this example it would be:

yum install http-devel.x86_64

Once you run this try and re-install mod_ssl.

This is generally caused because yum will sometimes have problems finding the dependencies on 64bit versions of the OS

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