<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>Hi all,</p>
<p>I have a trouble with opensips 2.2.5 TLS, <span class="text"
lang="en">hackneyed problem but I can't understand the reason.</span></p>
<p><span class="text" lang="en">
<blockquote type="cite">Nov 16 08:23:13 r01 opensips[25496]:
ERROR:tls_mgm:mod_init: unable to set the memory allocation
functions<br>
Nov 16 08:23:13 r01 opensips[25496]: ERROR:tls_mgm:mod_init:
NOTE: check if you have openssl 1.0.1e-fips, as this version
is know to be broken; if so, you need to upgr<br>
ade or downgrade to a differen openssl version !!<br>
Nov 16 08:23:13 r01 opensips[25496]: ERROR:core:init_mod:
failed to initialize module tls_mgm<br>
Nov 16 08:23:13 r01 opensips[25496]: ERROR:core:main: error
while initializing modules<br>
</blockquote>
Opensips was installed from repos on CentOS 7, openssl version
1.0.2k:</span></p>
<p><span class="text" lang="en">
<blockquote type="cite">openssl version -a<br>
OpenSSL 1.0.2k-fips 26 Jan 2017<br>
built on: reproducible build, date unspecified<br>
platform: linux-x86_64<br>
options: bn(64,64) md2(int) rc4(16x,int) des(idx,cisc,16,int)
idea(int) blowfish(idx)<br>
compiler: gcc -I. -I.. -I../include -fPIC -DOPENSSL_PIC
-DZLIB -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN
-DHAVE_DLFCN_H -DKRB5_MIT -m64 -DL_ENDIAN -Wall -O2 -g -pipe
-Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
-fstack-protector-strong --param=ssp-buffer-size=4
-grecord-gcc-switches -m64 -mtune=generic -Wa,--noexecstack
-DPURIFY -DOPENSSL_IA32_SSE2 -DOPENSSL_BN_ASM_MONT
-DOPENSSL_BN_ASM_MONT5 -DOPENSSL_BN_ASM_GF2m -DRC4_ASM
-DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DMD5_ASM -DAES_ASM
-DVPAES_ASM -DBSAES_ASM -DWHIRLPOOL_ASM -DGHASH_ASM
-DECP_NISTZ256_ASM<br>
OPENSSLDIR: "/etc/pki/tls"<br>
engines: dynamic<br>
</blockquote>
<blockquote type="cite">version: opensips 2.2.5 (x86_64/linux)<br>
flags: STATS: On, DISABLE_NAGLE, USE_MCAST, SHM_MMAP,
PKG_MALLOC, F_MALLOC, FAST_LOCK-ADAPTIVE_WAIT<br>
ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE 262144,
MAX_LISTEN 16, MAX_URI_SIZE 1024, BUF_SIZE 65535<br>
poll method support: poll, epoll_lt, epoll_et, sigio_rt,
select.<br>
main.c compiled on 03:00:56 Jul 6 2017 with gcc 4.8.5<br>
</blockquote>
<br>
</span></p>
<p><span class="text" lang="en"><br>
</span></p>
<pre class="moz-signature" cols="72">--
____________
Best regards,
Igor Pavlov</pre>
</body>
</html>