LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-21-2016, 04:52 AM   #1
fcbman
LQ Newbie
 
Registered: Aug 2014
Posts: 15

Rep: Reputation: Disabled
apache webserver fail to load mod_ssl.so with undefined symbol: FIPS_mode_set


I'm trying to start apache webserver with my config file (loading the mod_ssl.so module) but getting every time this error message:

Starting the web server...
webserver: Syntax error on line 52 of /export/home/app/utils/linux/apache/conf/app.conf: Cannot load /export/home/app/utils/linux/apache/modules/mod_ssl.so into server: /export/home/app/utils/linux/apache/modules/mod_ssl.so: undefined symbol: FIPS_mode_set
Failed to start the web server.

In a server with RH6.x it works fine. in RH5.x we see the error above...

The strange thing is that both servers has exactly the same rpms... so I cannot find the problem:

[root@fcbman lib64]# rpm -qa | grep openssl
openssl-0.9.8e-12.el5_4.6
openssl-devel-0.9.8e-12.el5_4.6
openssl-0.9.8e-12.el5_4.6

and I have those links:
lrwxrwxrwx 1 app1 app 19 Nov 21 12:28 libcrypto.so.6 -> libcrypto.so.0.9.8e
lrwxrwxrwx 1 app1 app 16 Nov 21 12:27 libssl.so.6 -> libssl.so.0.9.8e

Just to mention... That if I change the link to point libssl.1.0.1 then the error is not shown, but I get other error related to glibc version which is worse since the required glibc cannot be installed on RH5.x (glibc2.7 supported on 6.x only).

any idea how I can make it work in 5.x?

Thanks,
fcbman
 
Old 11-21-2016, 07:35 AM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 12,865

Rep: Reputation: 1872Reputation: 1872Reputation: 1872Reputation: 1872Reputation: 1872Reputation: 1872Reputation: 1872Reputation: 1872Reputation: 1872Reputation: 1872Reputation: 1872
Hi,

You should first of all consider updating RHEL5, to a newer version, as it's EOL.
That said, how did you install apache?

I guess you've compiled it from source, as it's under the non standartd directory /export/home/app/utils/linux/apache.
If that's the case run:
Code:
ldd /export/home/app/utils/linux/apache/modules/mod_ssl.so
to find out the openssl version. that apache was built against. My guess is that it's built against openssl-1.0.1, but is uses openssl-0.9.8 at runtime

Regards
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
apache + php: undefined symbol: zend_parse_parameters meczo Linux - Server 3 01-28-2011 09:43 PM
Could not load library: Undefined symbol sandy_linux Programming 1 11-18-2010 07:29 PM
Apache 2, PHP5, MySQL 5: Undefined symbol: php_escape_html_entities, c4onastick Slackware 3 08-18-2006 06:27 PM
Apache / FC4 undefined symbol error krazygaz Linux - Software 1 04-02-2006 04:53 PM
PHP+apache undefined symbol:unixd_config error Emist Linux - Newbie 13 03-15-2005 10:49 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:34 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration