[SR-Users] Experiences with Kamailio on Debian 11 Bullseye

Henning Westerholt hw at gilawa.com
Thu Jan 20 13:22:00 CET 2022


Hello,

I have observed it also on other cases. On some systems (especially non-debian) the tab completion just not work. I was not able to find the cause yet.
Kamailio were installed from packages, but I think the problem also happens when compiled from source.

But I can confirm that it also not work on bullseye systems for me. The kamcmd do not link against libreadline and others:

henning at sbc01:~$ ldd /usr/sbin/kamcmd
        linux-vdso.so.1 (0x00007ffc02753000)
        libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f7e78c2b000)
        libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f7e78a66000)
        /lib64/ld-linux-x86-64.so.2 (0x00007f7e78c64000)

Working buster system look like this:

root at kam03 # ldd /usr/sbin/kamcmd
        linux-vdso.so.1 (0x00007ffc8b57a000)
        libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f552931b000)
        libresolv.so.2 => /lib/x86_64-linux-gnu/libresolv.so.2 (0x00007f5529301000)
        libreadline.so.7 => /lib/x86_64-linux-gnu/libreadline.so.7 (0x00007f55290b4000)
        libncurses.so.6 => /lib/x86_64-linux-gnu/libncurses.so.6 (0x00007f552908a000)
        libtinfo.so.6 => /lib/x86_64-linux-gnu/libtinfo.so.6 (0x00007f552905c000)
        libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f552903b000)
        libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f5528e78000)
        /lib64/ld-linux-x86-64.so.2 (0x00007f5529339000)

Cheers,

Henning

From: sr-users <sr-users-bounces at lists.kamailio.org> On Behalf Of Daniel-Constantin Mierla
Sent: Thursday, January 20, 2022 1:07 PM
To: George Diamantopoulos <georgediam at gmail.com>
Cc: Kamailio (SER) - Users Mailing List <sr-users at lists.kamailio.org>
Subject: Re: [SR-Users] Experiences with Kamailio on Debian 11 Bullseye


I see libreadline-dev in build dependencies for bullseye:

# ag libreadline pkg/kamailio/deb/bullseye/
pkg/kamailio/deb/bullseye/control
40: libreadline-dev,

Maybe there were some changes in the lib api, although I would expect compile errors in such case. Or the library is no longer detected properly.

Cheers,
Daniel
On 19.01.22 17:14, George Diamantopoulos wrote:
I used packages from deb.kamailio.org<http://deb.kamailio.org>, I didn't build kamailio myself.

BR,
George

On Wed, 19 Jan 2022 at 18:01, Daniel-Constantin Mierla <miconda at gmail.com<mailto:miconda at gmail.com>> wrote:

You probably compiled kamcmd without libreadline-dev.

However, I would recommend to use kamcli instead of kamcmd, the binrpc protocol and kamcmd are not really maintained.

Cheers,
Daniel
On 19.01.22 12:11, George Diamantopoulos wrote:
Hello,

I'm happy to report there have been no serious regressions with the bullseye builds. Only thing I noticed is tab completion doesn't work with kamcmd.

BR,
George

On Thu, 18 Nov 2021 at 18:36, Daniel-Constantin Mierla <miconda at gmail.com<mailto:miconda at gmail.com>> wrote:
One thing that I noticed on a new Debian 11 system, deploying kamailio
from source code, was that some files/folders were created with
0640/0750 by root, resulting on some commands not to work (e.g., as
kamailio user) .

It could be specific to that system, how it was initially configured, I
though worth mentioning it here. I didn't spend time to analyze, changed
access mods manually. Otherwise all ok on that system, nothing complex
though, UDP intranet routing.

Cheers,
Daniel

On 18.11.21 04:24, Alex Balashov wrote:
> Using it on 11 in many places, works fine.
>
>> On Nov 17, 2021, at 10:22 PM, Joel Serrano <joel at textplus.com<mailto:joel at textplus.com>> wrote:
>>
>> +1 here using Kam 5.5 and debian 11 in prod, we finished the migration like a month ago and so far everything is going well.
>>
>> On Wed, Nov 17, 2021 at 12:57 PM Fred Posner <fred at palner.com<mailto:fred at palner.com>> wrote:
>> Tested a 5.5.x build (with TLS) on Debian 11 (and raspbian) without
>> issue, but have been in test environments.
>>
>> Fred Posner | palner.com<http://palner.com>
>> Matrix: @fred:matrix.lod.com<http://matrix.lod.com>
>> o: +1 (212) 937-7844
>>
>> On 11/17/21 3:51 PM, Patrick Karton wrote:
>>> Hello,
>>>
>>> I am using kamailio 5.5.2 on debian 11 bullseye on kubernetes.
>>>
>>> Not Seen any issue so far.
>>>
>>> Le 17 nov. 2021 21:42, George Diamantopoulos <georgediam at gmail.com<mailto:georgediam at gmail.com>> a
>>> écrit :
>>>
>>>     Hello all,
>>>
>>>     I'm also considering an upgrade in the coming weeks, but I'm a
>>>     little reluctant seeing there has been no feedback from anyone on
>>>     the list.
>>>     I'll try it with an instance I can quickly restore back first and
>>>     let the list know if there's any unexpected issues (or not).
>>>
>>>     If anyone's tried the bullseye builds and hasn't had any problems,
>>>     I'd like to hear from them too :-).
>>>
>>>     BR,
>>>     George
>>>
>>>     On Tue, 26 Oct 2021 at 09:35, Daniel-Constantin Mierla
>>>     <miconda at gmail.com<mailto:miconda at gmail.com> <mailto:miconda at gmail.com<mailto:miconda at gmail.com>>> wrote:
>>>
>>>         Hello,
>>>
>>>         has anyone experienced issues with Kamailio running on Debian 11
>>>         Bullseye?
>>>
>>>         It's now more than 2 months since Debian 11 release and I wonder if
>>>         people started to migrate to it for production systems.
>>>
>>>         So far I did only basic tests on it, although I have a Debian
>>>         Testing
>>>         that I used for compilation and simple tests during the past several
>>>         months before Debian 11 release.
>>>
>>>         If someone discovers issues or changes in behaviour with various
>>>         libraries or applications/database servers, report them to the
>>>         tracker
>>>         to try to address them as soon as possible.
>>>
>>>         Cheers,
>>>         Daniel
>>>
>>>         --
>>>         Daniel-Constantin Mierla -- www.asipto.com<http://www.asipto.com> <http://www.asipto.com>
>>>         www.twitter.com/miconda<http://www.twitter.com/miconda> <http://www.twitter.com/miconda> --
>>>         www.linkedin.com/in/miconda<http://www.linkedin.com/in/miconda> <http://www.linkedin.com/in/miconda>
>>>         Kamailio Advanced Training - Online
>>>         Nov 08-11, 2021 (Europe Timezone) - Nov 22-25, 2021 (America
>>>         Timezone)
>>>           * https://www.asipto.com/sw/kamailio-advanced-training-online/
>>>         <https://www.asipto.com/sw/kamailio-advanced-training-online/>
>>>
>>>
>>>         __________________________________________________________
>>>         Kamailio - Users Mailing List - Non Commercial Discussions
>>>           * sr-users at lists.kamailio.org<mailto:sr-users at lists.kamailio.org> <mailto:sr-users at lists.kamailio.org<mailto:sr-users at lists.kamailio.org>>
>>>         Important: keep the mailing list in the recipients, do not reply
>>>         only to the sender!
>>>         Edit mailing list options or unsubscribe:
>>>           * https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>>>         <https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users>
>>>
>>>
>>>
>>> __________________________________________________________
>>> Kamailio - Users Mailing List - Non Commercial Discussions
>>>   * sr-users at lists.kamailio.org<mailto:sr-users at lists.kamailio.org>
>>> Important: keep the mailing list in the recipients, do not reply only to the sender!
>>> Edit mailing list options or unsubscribe:
>>>   * https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>>>
>> __________________________________________________________
>> Kamailio - Users Mailing List - Non Commercial Discussions
>>   * sr-users at lists.kamailio.org<mailto:sr-users at lists.kamailio.org>
>> Important: keep the mailing list in the recipients, do not reply only to the sender!
>> Edit mailing list options or unsubscribe:
>>   * https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>> __________________________________________________________
>> Kamailio - Users Mailing List - Non Commercial Discussions
>>  * sr-users at lists.kamailio.org<mailto:sr-users at lists.kamailio.org>
>> Important: keep the mailing list in the recipients, do not reply only to the sender!
>> Edit mailing list options or unsubscribe:
>>  * https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
> --
> Alex Balashov | Principal | Evariste Systems LLC
>
> Tel: +1-706-510-6800 / +1-800-250-5920 (toll-free)
> Web: http://www.evaristesys.com/, http://www.csrpswitch.com/
>
>
> __________________________________________________________
> Kamailio - Users Mailing List - Non Commercial Discussions
>   * sr-users at lists.kamailio.org<mailto:sr-users at lists.kamailio.org>
> Important: keep the mailing list in the recipients, do not reply only to the sender!
> Edit mailing list options or unsubscribe:
>   * https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users

--
Daniel-Constantin Mierla -- www.asipto.com<http://www.asipto.com>
www.twitter.com/miconda<http://www.twitter.com/miconda> -- www.linkedin.com/in/miconda<http://www.linkedin.com/in/miconda>
Kamailio Advanced Training - Online
  Feb 21-24, 2022 (America Timezone)
  * https://www.asipto.com/sw/kamailio-advanced-training-online/


__________________________________________________________
Kamailio - Users Mailing List - Non Commercial Discussions
  * sr-users at lists.kamailio.org<mailto:sr-users at lists.kamailio.org>
Important: keep the mailing list in the recipients, do not reply only to the sender!
Edit mailing list options or unsubscribe:
  * https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users

--

Daniel-Constantin Mierla -- www.asipto.com<http://www.asipto.com>

www.twitter.com/miconda<http://www.twitter.com/miconda> -- www.linkedin.com/in/miconda<http://www.linkedin.com/in/miconda>

Kamailio Advanced Training - Online

  Feb 21-24, 2022 (America Timezone)

  * https://www.asipto.com/sw/kamailio-advanced-training-online/

--

Daniel-Constantin Mierla -- www.asipto.com<http://www.asipto.com>

www.twitter.com/miconda<http://www.twitter.com/miconda> -- www.linkedin.com/in/miconda<http://www.linkedin.com/in/miconda>

Kamailio Advanced Training - Online

  Feb 21-24, 2022 (America Timezone)

  * https://www.asipto.com/sw/kamailio-advanced-training-online/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20220120/6c8759f0/attachment.htm>


More information about the sr-users mailing list