PPC: 7.1: Apache No Longer Starts After Being Updated

Support knowledgebase (rschmid_71apache)
Applies to

SuSE Linux PowerPC: Version 7.1

Symptom 1

After having installed our updates for Apache and OpenSSL, Apache no longer starts and the following error message is displayed:

Starting httpd [ SuSEHelp PHP4 mod_perl ]

Syntax error on line 206 of /etc/httpd/httpd.conf:
Cannot load /usr/lib/apache/libphp4.so into server: shared object not
open
failed

Cause

Two links are missing in the OpenSSL rpm.

Solution

Change to directory /usr/lib/ and create both links manually:

ln -sfvn libssl.so.0.9.6 libssl.so.0

ln -sfvn libcrypto.so.0.9.6 libcrypto.so.0

Symptom 2

After having installed our update for Apache, it no longer starts. You do not obtain any error message but the server cannot be accessed. According to the check, everything should be alright:

kiwi:~ # rcapache status
Checking for httpd: OK                                                          >

Cause

The order of the modules prevents the server from starting.

Solution

Open the file /etc/httpd/httpd.conf with any editor of your choice and change it from:

<IfDefine PHP>
LoadModule php3_module /usr/lib/apache/libphp3.so
</IfDefine>
<IfDefine PHP4>
LoadModule php4_module /usr/lib/apache/libphp4.so
</IfDefine>
<IfDefine PERL>
LoadModule perl_module /usr/lib/apache/libperl.so
</IfDefine>

to:


<IfDefine PERL>
LoadModule perl_module /usr/lib/apache/libperl.so
</IfDefine>
<IfDefine PHP>
LoadModule php3_module /usr/lib/apache/libphp3.so
</IfDefine>
<IfDefine PHP4>
LoadModule php4_module /usr/lib/apache/libphp4.so
</IfDefine>

Keywords: PPC, APPLE, MAC, POWERPC, IMAC, POWERMAC, G4, TITANIUM, APACHE

Categories: Power Macintosh

SDB-rschmid_71apache, Copyright SuSE Linux AG, Nürnberg, Germany - Version: 05. Feb 2002
SuSE Linux AG - Last generated: 05. Feb 2002 by ip (sdb_gen 1.40.0)