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 DECEMBER 16, 2023

Applies to:

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


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:

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


And I see error below in wl_proxy.log:

[Date&TimeStamp] mod_weblogic(ssl): Cannot Load library:
[Date&TimeStamp] mod_weblogic(ssl): Cannot Load library:
[Date&TimeStamp] mod_weblogic(ssl): Cannot Load library:
[Date&TimeStamp] mod_weblogic(ssl): Cannot Load library:


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

25983 16:54:23 open("/path/lib64/httpd/modules/", 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.



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

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