[SR-Users] Unable to start kamailio_pcscf.service

Jack R roughj at gmail.com
Thu Aug 22 09:34:52 CEST 2019


...Continued from last mail...output ot > top command:

Tasks: 469 total,   1 running, 298 sleeping,   0 stopped,   0 zombie
%Cpu(s):  0.1 us,  0.1 sy,  0.0 ni, 99.8 id,  0.0 wa,  0.0 hi,  0.0 si,
 0.0 st
KiB Mem : 65924524 total, 63191480 free,  1414652 used,  1318392 buff/cache
KiB Swap:  8388604 total,  8388604 free,        0 used. 63897452 avail Mem

  PID USER      PR  NI    VIRT    RES    SHR S  %CPU %MEM     TIME+ COMMAND
 6116 root      20   0 8537052  39060  28592 S   2.6  0.1  22:16.89
rtpengine
13844 root      20   0   43180   4456   3444 R   1.0  0.0   0:00.13 top
 1697 mongodb   20   0 1022024  75044  35980 S   0.3  0.1   3:46.02 mongod
 8363 kamailio  20   0  217540   4612   2528 S   0.3  0.0   0:17.77 kamailio
    1 root      20   0  225668   9404   6652 S   0.0  0.0   0:07.72 systemd

On Thu, Aug 22, 2019 at 12:58 PM Jack R <roughj at gmail.com> wrote:

> Hi Henning,
>
> Still no luck, Now service Active: active (exited)
>
> root at ubuntu18-04:/etc/init.d# ./kamailio_pcscf status
> ● kamailio_pcscf.service - LSB: Start the Kamailio SIP proxy server
>    Loaded: loaded (/etc/init.d/kamailio_pcscf; generated)
>    Active: active (exited) since Thu 2019-08-22 07:19:21 UTC; 7min ago
>      Docs: man:systemd-sysv-generator(8)
>   Process: 13495 ExecStop=/etc/init.d/kamailio_pcscf stop (code=exited,
> status=0/SUCCESS)
>   Process: 13517 ExecStart=/etc/init.d/kamailio_pcscf start (code=exited,
> status=0/SUCCESS)
>
> Aug 22 07:19:21 ubuntu18-04 kamailio[13562]: out of memory [13562]
> Aug 22 07:19:21 ubuntu18-04 kamailio[13562]: out of memory [13562]
> Aug 22 07:19:21 ubuntu18-04 kamailio[13562]: out of memory [13562]
> Aug 22 07:19:21 ubuntu18-04 kamailio[13562]: out of memory [13562]
> Aug 22 07:19:21 ubuntu18-04 kamailio[13562]: out of memory [13562]
> Aug 22 07:19:21 ubuntu18-04 kamailio[13562]: out of memory [13562]
> Aug 22 07:19:21 ubuntu18-04 kamailio[13562]: out of memory [13562]
> Aug 22 07:19:21 ubuntu18-04 kamailio_pcscf[13517]:  *  already running
> Aug 22 07:19:21 ubuntu18-04 kamailio_pcscf[13517]:    ...done.
> Aug 22 07:19:21 ubuntu18-04 systemd[1]: Started LSB: Start the Kamailio
> SIP proxy server.
>
> (as below log show) Had restarted the service at 07:19>./kamailio_pcscf
> restart
>
> root at ubuntu18-04:/etc/init.d# less /var/log/syslog | grep pcscf
> Aug 22 07:14:19 localhost /usr/sbin/kamailio[13300]: INFO:
> ims_usrloc_pcscf [hslot.c:62]: ul_init_locks(): locks array size 512
> Aug 22 07:14:19 localhost /usr/sbin/kamailio[13397]: WARNING:
> ims_usrloc_pcscf [usrloc_db.c:61]: connect_db(): DB connection already
> open... continuing
> Aug 22 07:14:19 localhost /usr/sbin/kamailio[13399]: WARNING:
> ims_usrloc_pcscf [usrloc_db.c:61]: connect_db(): DB connection already
> open... continuing
> Aug 22 07:14:19 localhost /usr/sbin/kamailio[13400]: WARNING:
> ims_usrloc_pcscf [usrloc_db.c:61]: connect_db(): DB connection already
> open... continuing
> Aug 22 07:14:19 localhost /usr/sbin/kamailio[13401]: WARNING:
> ims_usrloc_pcscf [usrloc_db.c:61]: connect_db(): DB connection already
> open... continuing
> Aug 22 07:14:19 localhost /usr/sbin/kamailio[13403]: WARNING:
> ims_usrloc_pcscf [usrloc_db.c:61]: connect_db(): DB connection already
> open... continuing
> Aug 22 07:14:19 localhost /usr/sbin/kamailio[13404]: WARNING:
> ims_usrloc_pcscf [usrloc_db.c:61]: connect_db(): DB connection already
> open... continuing
> Aug 22 07:14:19 localhost /usr/sbin/kamailio[13405]: WARNING:
> ims_usrloc_pcscf [usrloc_db.c:61]: connect_db(): DB connection already
> open... continuing
> Aug 22 07:14:19 localhost /usr/sbin/kamailio[13406]: WARNING:
> ims_usrloc_pcscf [usrloc_db.c:61]: connect_db(): DB connection already
> open... continuing
> Aug 22 07:14:19 localhost /usr/sbin/kamailio[13413]: WARNING:
> ims_usrloc_pcscf [usrloc_db.c:61]: connect_db(): DB connection already
> open... continuing
> Aug 22 07:19:20 localhost kamailio_pcscf[13495]:  * Stopping Kamailio SIP
> Server: kamailio_pcscf
> Aug 22 07:19:20 localhost kamailio_pcscf[13495]:    ...done.
> Aug 22 07:19:21 localhost kamailio_pcscf[13517]:  * Starting Kamailio SIP
> Server: kamailio_pcscf
> Aug 22 07:19:21 localhost kamailio_pcscf[13517]: loading modules under
> config path:
> /usr/lib64/kamailio/modules_k/:/usr/lib64/kamailio/modules/:/usr/lib/kamailio/modules_k/:/usr/lib/kamailio/modules/:/usr/local/lib64/kamailio/modules/
> Aug 22 07:19:21 localhost kamailio_pcscf[13517]: Listening on
> Aug 22 07:19:21 localhost kamailio_pcscf[13517]:              udp:
> 10.4.98.3 [10.4.98.3]:5060
> Aug 22 07:19:21 localhost kamailio_pcscf[13517]: Aliases:
> Aug 22 07:19:21 localhost kamailio_pcscf[13517]:              *:
> pcscf.mnc096.mcc262.3gppnetwork.org:*
> Aug 22 07:19:21 localhost /usr/sbin/kamailio[13562]: INFO:
> ims_usrloc_pcscf [hslot.c:62]: ul_init_locks(): locks array size 512
> Aug 22 07:19:21 localhost kamailio_pcscf[13517]:  *  already running
> Aug 22 07:19:21 localhost kamailio_pcscf[13517]:    ...done.
>
> On Tue, Aug 20, 2019 at 12:18 AM Henning Westerholt <hw at skalatan.de>
> wrote:
>
>> Hello Jack,
>>
>> as you can see in the logs there is an error in the cfg file. Have a look
>> to the kamailio logs (e.g. in /var/log/messages or /var/log/syslog) to get
>> more hints about the cause.
>>
>> Cheers,
>>
>> Henning
>> Am 19.08.19 um 12:23 schrieb Jack R:
>>
>> 1. Followed steps from Step # 3 to Step # 16 :
>> https://github.com/open5gs/nextepc/blob/master/docs/_docs/guide/04-setting-up-kamailio-IMS.md
>>
>>
>> 2. When I run last command >systemctl start kamailio_icscf
>> kamailio_pcscf kamailio_scscfthe
>>
>> root at ubuntu18-04:/etc/init.d# *systemctl start kamailio_icscf
>> kamailio_pcscf kamailio_scscf*
>> Job for kamailio_pcscf.service failed because the control process exited
>> with error code.
>> See "systemctl status kamailio_pcscf.service" and "journalctl -xe" for
>> details.
>>
>> 3. All services start but not kamailio_pcscf:
>> root at ubuntu18-04:/etc/init.d# *systemctl status kamailio_pcscf.service*
>> ● kamailio_pcscf.service - LSB: Start the Kamailio SIP proxy server
>>    Loaded: loaded (/etc/init.d/kamailio_pcscf; generated)
>>    Active: failed (Result: exit-code) since Mon 2019-08-19 09:05:30 UTC;
>> 45min ago
>>      Docs: man:systemd-sysv-generator(8)
>>   Process: 52271 ExecStart=/etc/init.d/kamailio_pcscf start (code=exited,
>> status=1/FAILURE)
>>
>> Aug 19 09:05:30 ubuntu18-04 kamailio_pcscf[52271]:  0(52294) INFO: pv
>> [pv_shv.c:60]: shvar_init_locks(): locks array size 16
>> Aug 19 09:05:30 ubuntu18-04 kamailio_pcscf[52271]: ERROR: bad config file
>> (1 errors)
>> Aug 19 09:05:30 ubuntu18-04 kamailio_pcscf[52271]:  0(52294) WARNING:
>> <core> [core/mem/q_malloc.c:480]: qm_free(): WARNING: free(0) called from
>> cdp_avp: cdp_avp_mod.c: cdp
>> Aug 19 09:05:30 ubuntu18-04 kamailio_pcscf[52271]:  0(52294) INFO: cdp
>> [cdp_mod.c:255]: cdp_exit(): CDiameterPeer child stopping ...
>> Aug 19 09:05:30 ubuntu18-04 kamailio_pcscf[52271]:  0(52294) INFO: cdp
>> [cdp_mod.c:257]: cdp_exit(): ... CDiameterPeer child stopped
>> Aug 19 09:05:30 ubuntu18-04 kamailio_pcscf[52271]:  0(52294) INFO: <core>
>> [core/sctp_core.c:53]: sctp_core_destroy(): SCTP API not initialized
>> Aug 19 09:05:30 ubuntu18-04 kamailio_pcscf[52271]:  *
>> Aug 19 09:05:30 ubuntu18-04 systemd[1]: kamailio_pcscf.service: Control
>> process exited, code=exited status=1
>> Aug 19 09:05:30 ubuntu18-04 systemd[1]: kamailio_pcscf.service: Failed
>> with result 'exit-code'.
>> Aug 19 09:05:30 ubuntu18-04 systemd[1]: Failed to start LSB: Start the
>> Kamailio SIP proxy server.
>> lines 1-16/16 (END)
>>
>> Please advise.
>>
>> Thanks and Regards.
>>
>> _______________________________________________
>> Kamailio (SER) - Users Mailing Listsr-users at lists.kamailio.orghttps://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>>
>> --
>> Henning Westerholt - https://skalatan.de/blog/
>> Kamailio services - https://skalatan.de/services
>>
>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20190822/0d31f569/attachment.html>


More information about the sr-users mailing list