<html><head><title>Re: [OpenSIPS-Users] Opensips 1.11 permission module problem</title>
</head>
<body>
<span style=" font-family:'Times New Roman'; font-size: 12pt;">Hello<br>
<br>
I found the problem. Thank you.<br>
<br>
An additional question. With "DBG_QM_MALLOC" i see in log a lot off messages "params ..." without any SIP traffic. Is this normal? <br>
<br>
P.S.<br>
in opensips.cfg<br>
memlog=1<br>
debug=3<br>
<br>
<br>
</span><table>
<tr>
<td width=2 bgcolor= #0000ff><br>
</td>
<td><span style=" font-family:'times new roman'; font-size: 12pt;">I came back and start from beginning. <br>
<br>
- Opensips restarts successfully with <br>
1) "F_MALLOC" checked<br>
2) "DBG_QM_MALLOC" uncheked.<br>
3) In Exclude_modules all necessary modules have been checked (db_mysql, dialplan etc/).<br>
<br>
-Opensips restarts fail with<br>
1) "F_MALLOC" unchecked<br>
2) "DBG_QM_MALLOC" cheked.<br>
3) In Exclude_modules all necessary modules have been checked (db_mysql, dialplan etc/).<br>
<br>
What am i doing wrong?<br>
<br>
<span style=" font-family:'arial'; font-size: 10pt;"><i>-- <br>
&#1057; &#1091;&#1074;&#1072;&#1078;&#1077;&#1085;&#1080;&#1077;&#1084;,<br>
&#1055;&#1091;&#1090;&#1103;&#1090;&#1086; &#1044;&#1077;&#1085;&#1080;&#1089;,<br>
&#1056;&#1091;&#1082;&#1086;&#1074;&#1086;&#1076;&#1080;&#1090;&#1077;&#1083;&#1100; &#1086;&#1090;&#1076;&#1077;&#1083;&#1072; &#1090;&#1077;&#1083;&#1077;&#1092;&#1086;&#1085;&#1080;&#1080;<br>
&#1040;&#1054; "&#1050;&#1074;&#1072;&#1085;&#1090;&#1091;&#1084;"<br>
&#1058;&#1077;&#1083;.: 8123364000, &#1076;&#1086;&#1073;.244<br>
199178, &#1057;&#1072;&#1085;&#1082;&#1090;-&#1055;&#1077;&#1090;&#1077;&#1088;&#1073;&#1091;&#1088;&#1075;, &#1085;&#1072;&#1073;.&#1088;.&#1057;&#1084;&#1086;&#1083;&#1077;&#1085;&#1082;&#1080;, &#1076;.19/21 &#1083;&#1080;&#1090;.&#1041;<br>
</i></span></span><a style=" font-family:'arial'; font-size: 10pt;" href="http://www.ptl.ru">www.ptl.ru</a><span style=" font-family:'arial'; font-size: 10pt;"><i> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </i></span><a style=" font-family:'arial'; font-size: 10pt;" href="mailto:d.putyato@ptl.ru">mailto:d.putyato@ptl.ru</a><br>
<br>
<table bgcolor="#ffffff">
<tr>
<td width=2 bgcolor= #0000ff><br>
</td>
<td><span style=" font-family:'courier new'; font-size: 12pt;">Just check whatever modules you actually need from <b>"excluded_modules"</b>, then do: "make install".<br>
Liviu Chircu<br>
OpenSIPS Developer<br>
</span><a style=" font-family:'courier new'; font-size: 12pt;" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a><br>
<span style=" font-family:'times new roman'; font-size: 12pt;">On 29.01.2016 15:47, &#1044;&#1077;&#1085;&#1080;&#1089; &#1055;&#1091;&#1090;&#1103;&#1090;&#1086; wrote:<br>
Re: [OpenSIPS-Users] Opensips 1.11 permission module problem Sorry, but i do not quite understand.<br>
I should unchecked all modules in "<span style=" font-family:'courier new';"><b>excluded_modules</b><span style=" font-family:'times new roman';">", save changes, than make all and make install and after that repeat all these steps but with checked modules in "<span style=" font-family:'courier new';"><b>excluded_modules</b><span style=" font-family:'times new roman';">". Am i right?<br>
<br>
<br>
<br>
</span></span></span></span></span><table bgcolor="#ffffff">
<tr>
<td width=2 bgcolor= #0000ff><br>
</td>
<td><span style=" font-family:'courier new'; font-size: 12pt;">It seems you've regenerated Makefile.conf, and forgot to remove db_mysql from the list of <b>"excluded_modules"</b>. To fix this:<br>
<br>
make menuconfig -&gt; Configure Compile Options -&gt; Configure Excluded Modules -&gt; [X] db_mysql<br>
<br>
Now, when you run "make all; make install", <b>"db_mysql"</b>, the last missing piece of the puzzle, will be recompiled as well.<br>
Liviu Chircu<br>
OpenSIPS Developer<br>
</span><a style=" font-family:'courier new'; font-size: 12pt;" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a><br>
<span style=" font-family:'times new roman'; font-size: 12pt;">On 29.01.2016 12:54, &#1044;&#1077;&#1085;&#1080;&#1089; &#1055;&#1091;&#1090;&#1103;&#1090;&#1086; wrote:<br>
Re: [OpenSIPS-Users] Opensips 1.11 permission module problem Hello<br>
<br>
It is doesn`t help.<br>
1) make clean<br>
2) make menuconfig. Set all necessary parameters (including <b>uncheck F_MALLOC</b> via the spacebar key, and <b>check DBG_QM_MALLOC</b> ).<br>
3) save and exit<br>
4) make all<br>
5) make install<br>
<br>
When starts Opensips i can see the same errors in log.<br>
<br>
<br>
</span><table bgcolor="#ffffff">
<tr>
<td width=2 bgcolor= #0000ff><br>
</td>
<td><span style=" font-family:'courier new'; font-size: 12pt;">You've only recompiled the <b>opensips</b> binary with the new flags, but forgot about all <b>shared libraries</b> (modules)<br>
<br>
When changing compile flags, please recompile everything with <b>"make all"</b>, instead of just doing <b>"make"</b>.<br>
<br>
Liviu Chircu<br>
OpenSIPS Developer<br>
</span><a style=" font-family:'courier new'; font-size: 12pt;" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a><br>
<span style=" font-family:'times new roman'; font-size: 12pt;">On 29.01.2016 10:38, &#1044;&#1077;&#1085;&#1080;&#1089; &#1055;&#1091;&#1090;&#1103;&#1090;&#1086; wrote:<br>
Re: [OpenSIPS-Users] Opensips 1.11 permission module problem Hello, Bogdan<br>
<br>
The problem is still actual.<br>
Due to doc </span><a style=" font-family:'times new roman'; font-size: 12pt;" href="http://www.opensips.org/Documentation/TroubleShooting-OutOfMem">http://www.opensips.org/Documentation/TroubleShooting-OutOfMem</a><span style=" font-family:'times new roman'; font-size: 12pt;"> i try to prepare to make a log of memory.<br>
I made "<b>uncheck F_MALLOC</b> via the spacebar key, and <b>check DBG_QM_MALLOC</b>"<br>
<br>
When i start Opensips i see in log such errors (see attachment).<br>
<br>
Thank you for any help.<br>
<br>
Sincerely, Denis <br>
<br>
</span><table bgcolor="#ffffff">
<tr>
<td width=2 bgcolor= #0000ff><br>
</td>
<td><span style=" font-family:'courier new'; font-size: 12pt;">How much pkg memory have you configured in your opensips ?<br>
<br>
Regards,<br>
Bogdan-Andrei Iancu<br>
OpenSIPS Founder and Developer<br>
</span><a style=" font-family:'courier new'; font-size: 12pt;" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a><br>
<span style=" font-family:'times new roman'; font-size: 12pt;">On 18.11.2015 12:24, dpa wrote:</td>
</tr>
</table>
<span style=" font-family:'times new roman'; font-size: 11pt; color: #1f497d;">2314<br>
<br>
<span style=" font-size: 10pt; color: #000000;"><b>From:</b> Bogdan-Andrei Iancu [</span></span><a style=" font-family:'times new roman'; font-size: 12pt;" href="mailto:bogdan@opensips.org">mailto:bogdan@opensips.org</a><span style=" font-family:'times new roman'; font-size: 10pt;">] <br>
<b>Sent:</b> Wednesday, November 18, 2015 1:17 PM<br>
<b>To:</b> dpa; 'OpenSIPS users mailling list'<br>
<b>Subject:</b> Re: [OpenSIPS-Users] Opensips 1.11 permission module problem<br>
<br>
<span style=" font-family:'courier new';">How many records do you have in the address table ?<br>
<br>
Regards,<br>
<br>
Bogdan-Andrei Iancu<br>
OpenSIPS Founder and Developer<br>
</span></span><a style=" font-family:'courier new'; font-size: 10pt;" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a><br>
<span style=" font-family:'times new roman'; font-size: 12pt;">On 18.11.2015 12:14, dpa wrote:<br>
<span style=" font-size: 11pt; color: #1f497d;">Hello Bogdan,<br>
<br>
Yes, I see errors<br>
&#8220;Oct 28 15:55:45 opensips-main /usr/local/opensips1.11/sbin/opensips[7715]: WARNING:core:fm_malloc: Not enough free memory, will attempt defragmentation<br>
Oct 28 15:55:45 opensips-main /usr/local/opensips1.11/sbin/opensips[7715]: ERROR:core:db_allocate_rows: no memory left<br>
Oct 28 15:55:45 opensips-main /usr/local/opensips1.11/sbin/opensips[7715]: ERROR:db_mysql:db_mysql_convert_rows: no private memory left<br>
Oct 28 15:55:45 opensips-main /usr/local/opensips1.11/sbin/opensips[7715]: ERROR:db_mysql:db_mysql_convert_result: error while converting rows<br>
Oct 28 15:55:45 opensips-main /usr/local/opensips1.11/sbin/opensips[7715]: ERROR:db_mysql:db_mysql_store_result: error while converting result<br>
Oct 28 15:55:45 opensips-main /usr/local/opensips1.11/sbin/opensips[7715]: ERROR:core:db_do_query: error while storing result for query [select ip,grp,mask,port,proto,pattern,context_info,id from ast_address ]<br>
Oct 28 15:55:45 opensips-main /usr/local/opensips1.11/sbin/opensips[7715]: ERROR:permissions:reload_address_table: failed to query database&#8221;<br>
<br>
<span style=" font-size: 10pt; color: #000000;"><b>From:</b> Bogdan-Andrei Iancu [</span></span></span><a style=" font-family:'times new roman'; font-size: 12pt;" href="mailto:bogdan@opensips.org">mailto:bogdan@opensips.org</a><span style=" font-family:'times new roman'; font-size: 10pt;">] <br>
<b>Sent:</b> Wednesday, November 18, 2015 1:04 PM<br>
<b>To:</b> OpenSIPS users mailling list; </span><a style=" font-family:'times new roman'; font-size: 12pt;" href="mailto:denis7979@mail.ru">denis7979@mail.ru</a><br>
<span style=" font-family:'times new roman'; font-size: 10pt;"><b>Subject:</b> Re: [OpenSIPS-Users] Opensips 1.11 permission module problem<br>
<br>
<span style=" font-family:'courier new';">Hi Denis,<br>
<br>
Do you see any errors in logs when the reload fails ?<br>
<br>
Regards,<br>
<br>
<br>
Bogdan-Andrei Iancu<br>
OpenSIPS Founder and Developer<br>
</span></span><a style=" font-family:'courier new'; font-size: 10pt;" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a><br>
<span style=" font-family:'times new roman'; font-size: 12pt;">On 18.11.2015 07:29, dpa wrote:<br>
<span style=" font-size: 11pt; color: #1f497d;">Hello Richard<br>
<br>
It is about 1 &#8211; 1,5 week.<br>
No, I do not use subnets, only IP address. <br>
<br>
&#8220;<span style=" font-size: 12pt; color: #000000;">There was a package memory leak that was fixed in the development tree<span style=" font-size: 11pt; color: #1f497d;">&#8221;<br>
Where can I read about it? Thank you.<br>
<br>
<span style=" font-size: 10pt; color: #000000;"><b>From: </b></span></span></span></span></span><a style=" font-family:'times new roman'; font-size: 12pt;" href="mailto:users-bounces@lists.opensips.org">users-bounces@lists.opensips.org</a><span style=" font-family:'times new roman'; font-size: 10pt;"> [</span><a style=" font-family:'times new roman'; font-size: 12pt;" href="mailto:users-bounces@lists.opensips.org">mailto:users-bounces@lists.opensips.org</a><span style=" font-family:'times new roman'; font-size: 10pt;">] <b>On Behalf Of </b>Richard Revels<br>
<b>Sent:</b> Tuesday, November 17, 2015 8:55 PM<br>
<b>To:</b> OpenSIPS users mailling list<br>
<b>Subject:</b> Re: [OpenSIPS-Users] Opensips 1.11 permission module problem<br>
<br>
<span style=" font-size: 12pt;">Are you using subnets in your address table? &nbsp;How often do you reload the address table?<br>
<br>
There was a package memory leak that was fixed in the development tree that might explain what you are seeing.<br>
<br>
On Wed, Nov 11, 2015 at 4:26 AM, dpa &lt;</span></span><a style=" font-family:'times new roman'; font-size: 12pt;" href="mailto:denis7979@mail.ru">denis7979@mail.ru</a><span style=" font-family:'times new roman'; font-size: 12pt;">&gt; wrote:<br>
<img width=39 height=38 alt="" style="padding : 1px;" src="cid:7AD226BA.01D15D92.7A0CDF6B.60D40D1B_csseditor"><br>
<span style=" font-size: 11pt; color: #1f497d;">Hello!<br>
<br>
Is there any assumption about problem?<br>
<br>
<span style=" font-size: 10pt; color: #000000;"><b>From: </b></span></span></span><a style=" font-family:'times new roman'; font-size: 12pt;" href="mailto:users-bounces@lists.opensips.org">users-bounces@lists.opensips.org</a><span style=" font-family:'times new roman'; font-size: 10pt;"> [mailto:</span><a style=" font-family:'times new roman'; font-size: 12pt;" href="mailto:users-bounces@lists.opensips.org">users-bounces@lists.opensips.org</a><span style=" font-family:'times new roman'; font-size: 10pt;">] <b>On Behalf Of </b>dpa<br>
<b>Sent:</b> Wednesday, October 28, 2015 4:12 PM<br>
<b>To:</b> 'OpenSIPS users mailling list'<br>
<b>Subject:</b> [OpenSIPS-Users] Opensips 1.11 permission module problem<br>
<br>
<span style=" font-size: 11pt;">Hello!<br>
<br>
OpenSIPS (1.11.5-notls (x86_64/linux))<br>
<br>
I have a periodic problem with permissions module.<br>
I could not make opensipsctl address reload (&#8220;400 Trusted table reload failed&#8221; received). In the time I have no problem with dialplan or drouting modules.<br>
Opensips reload solve the problem.<br>
<br>
<br>
In attachment log from opensips and statistic.<br>
<br>
Thank you for any help<br>
<br>
<br>
<br>
<br>
<span style=" font-size: 12pt;">_______________________________________________<br>
Users mailing list<br>
</span></span></span><a style=" font-family:'times new roman'; font-size: 12pt;" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
<a style=" font-family:'times new roman'; font-size: 12pt;" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
<br>
<br>
<br>
<br>
<br>
<span style=" font-family:'courier new'; font-size: 10pt;">_______________________________________________<br>
Users mailing list<br>
</span><a style=" font-family:'courier new'; font-size: 10pt;" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
<a style=" font-family:'courier new'; font-size: 10pt;" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
<br>
<br>
<br>
<span style=" font-family:'courier new'; font-size: 12pt;">_______________________________________________<br>
Users mailing list<br>
</span><a style=" font-family:'courier new'; font-size: 12pt;" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
<a style=" font-family:'courier new'; font-size: 12pt;" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a></td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</body></html>