RES: ENC: [LON-CAPA-admin] FC5 httpd restart failed
Stuart Peter Raeburn
raeburn at msu.edu
Fri Sep 8 12:55:35 EDT 2006
Rodrigo,
A likely cause of the problem is the ImageMagick and perl-ImageMagick
modules. The latest updates (6.2.5.4-4.2.1.fc5.4) available from Fedora FC5
repositories contain errors which prevent httpd start up.
I provide a detailed description below with the aim of making this posting
of more general use.
If you find the following in /etc/httpd/logs/error_log
/usr/sbin/httpd: symbol lookup error:
/usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi/auto/Image/Magick/M
agick.so: undefined symbol: InitializeMagick/usr/sbin/httpd: symbol lookup
error:
/usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi/auto/Image/Magick/M
agick.so: undefined symbol: InitializeMagick
when you use /etc/init.d/httpd start to start the Apache web server on FC5,
then you need to downgrade ImageMagick.
Downgrade to the previous versions of required ImageMagick modules as
follows:
For 32-bit architecture use:
wget
http://mirrors.kernel.org/fedora/core/updates/5/i386/ImageMagick-6.2.5.4-4.2
.1.fc5.3.i386.rpm
wget
http://mirrors.kernel.org/fedora/core/updates/5/i386/ImageMagick-perl-6.2.5.
4-4.2.1.fc5.3.i386.rpm
For 64-bit architecture use:
wget
http://mirrors.kernel.org/fedora/core/updates/5/x86_64/ImageMagick-6.2.5.4-4
.2.1.fc5.3.i386.rpm
and
wget
http://mirrors.kernel.org/fedora/core/updates/5/x86_64/ImageMagick-perl-6.2.
5.4-4.2.1.fc5.3.x86_64.rpm
to retrieve the .3 versions of the modules, and then use:
32 bit:
rpm --oldpackage -Uvh ImageMagick-6.2.5.4-4.2.1.fc5.3.i386.rpm
ImageMagick-perl-6.2.5.4-4.2.1.fc5.3.i386.rpm
or
64 bit:
rpm --oldpackage -Uvh ImageMagick-6.2.5.4-4.2.1.fc5.3.x86_64.rpm
ImageMagick-perl-6.2.5.4-4.2.1.fc5.3.x86_64.rpm
to downgrade the existing rpms.
You may also wish to add the following line to the [main] section of
/etc/yum.conf to prevent upgrade of these two Image Magick modules when you
run yum update in the future, while the .4 versions remain the latest
updates.
exclude=ImageMagick*
This can be removed in the future when the .5 versions appear in the updates
section of the FC5 repositories which have fixed the error the .4 rpms.
Stuart Raeburn
MSU LON-CAPA group
> But same ignoring the httpd doesn't get to begin
>
> Rodrigo Luiz Santana
> LaRCom - FEEC - Unicamp
> rodrigolsantana at uol.com.br
> rodrigolsantana at gmail.com
> msn: rodrigolsantana at hotmail.com
> skype: rodrigolsantana
More information about the LON-CAPA-admin
mailing list