My Oracle Support Banner

After Configuring SSL For Proxy Plugin, Apache Failed To Start With Error "Error Initializing SSL: Return value is -2" (Doc ID 2347688.1)

Last updated on JANUARY 28, 2018

Applies to:

Oracle WebLogic Server - Version 10.3.6 and later
Information in this document applies to any platform.

Symptoms

On Oracle Linux 6, Proxy plugin 11g works fine with WebLogic Server 10.3.6. However after configuring SSL per <Document 1384737.1 > and <Document 867883.1>, Apache can not be started with error below in error_log:

[Tue Jan 09 16:31:50 2018] [info] Shared memory session cache initialised
[Tue Jan 09 16:31:50 2018] [info] Init: Initializing (virtual) servers for SSL
[Tue Jan 09 16:31:50 2018] [info] mod_ssl/2.2.15 compiled against Server: Apache/2.2.15, Library: OpenSSL/1.0.1e-fips
[Tue Jan 09 16:31:50 2018] [notice] WebLogic Server Plugin version 1.1 <WLSPLUGINS_11.1.1.7.0_LINUX.X64_130212.0859>
[Tue Jan 09 16:31:50 2018] [info] mod_weblogic: init_mod: mpm doesn't support threads.
[Tue Jan 09 16:31:50 2018] [info] mod_weblogic: Testing Debug=ALL LogFile=/wls11g/logs/wl_proxy.log TempDir=(null)
[Tue Jan 09 16:31:50 2018] [info] mod_weblogic: created global log context in child
[Tue Jan 09 16:31:50 2018] [crit] (20014)Internal error: WL SSL Init failed for server: (null) on 0
[Tue Jan 09 16:31:50 2018] [error] Error Initializing SSL: Return value is -2

 

And I see error below in wl_proxy.log:

2017-12-25T00:38:53.7928-05:00 mod_weblogic(ssl): Cannot Load library: libwlssl.so
2017-12-25T00:42:35.4640-05:00 mod_weblogic(ssl): Cannot Load library: libwlssl.so
2017-12-25T00:43:50.4739-05:00 mod_weblogic(ssl): Cannot Load library: libwlssl.so
2017-12-25T00:45:43.5880-05:00 mod_weblogic(ssl): Cannot Load library: libwlssl.so

 

strace results shows that the libwlssl.so is in the right place and Apache can successfully locate it and read it:

25983 16:54:23 open("/usr/lib64/httpd/modules/libwlssl.so", O_RDONLY ) = 16
25983 16:54:23 read(16, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\240\31\0\0\0\0\0\0"..., 832) = 832
25983 16:54:23 fstat(16, {st_mode=S_IFREG|0755, st_size=26420, ...}) = 0
25983 16:54:23 mmap(NULL, 1067720, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 16, 0 ) = 0x7f9ac1b5c000
25983 16:54:23 mprotect(0x7f9ac1b61000, 1044480, PROT_NONE ) = 0
25983 16:54:23 mmap(0x7f9ac1c60000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 16, 0x4000 ) = 0x7f9ac1c60000
25983 16:54:23 close(16 ) = 0

 Installing libaio per <Document 1531922.1> does not solve the issue.

 

Changes

 

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Changes
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.