[SR-Users] kamctl cr reload doesn't reload all routes

Igor Potjevlesch igor.potjevlesch at gmail.com
Wed Nov 30 14:58:10 CET 2022


Hi Henning,

 

The problem is still there on the concerned instance. I tried to reload
again, and I didn't see the error but the routes are not updated.

 

Regards,

 

Igor.

 

De : Henning Westerholt <hw at gilawa.com> 
Envoyé : mercredi 30 novembre 2022 14:44
À : Igor Potjevlesch <igor.potjevlesch at gmail.com>; 'Kamailio (SER) - Users
Mailing List' <sr-users at lists.kamailio.org>
Objet : RE: [SR-Users] kamctl cr reload doesn't reload all routes

 

Hi Igor,

 

ok, might be some issue with the DB, if it does not happen anymore. You
probably notice when it happens again and can investigate then.

 

Regarding the table, just note that there is also a fourth table involved,
domain_name:

https://kamailio.org/docs/db-tables/kamailio-db-5.5.x.html#idm812

 

Cheers,

 

Henning

 

-- 

Henning Westerholt –  <https://skalatan.de/blog/> https://skalatan.de/blog/

Kamailio services –  <https://gilawa.com/> https://gilawa.com

 

From: Igor Potjevlesch <igor.potjevlesch at gmail.com
<mailto:igor.potjevlesch at gmail.com> > 
Sent: Wednesday, November 30, 2022 2:35 PM
To: Henning Westerholt <hw at gilawa.com <mailto:hw at gilawa.com> >; 'Kamailio
(SER) - Users Mailing List' <sr-users at lists.kamailio.org
<mailto:sr-users at lists.kamailio.org> >
Subject: RE: [SR-Users] kamctl cr reload doesn't reload all routes

 

Hello Henning,

 

I tried to review all the routes. Unfortunately, I didn't have access to the
logs of the last reboot and its not easy to reboot the instance. 

I tried to copy the same tables (carrierroute, carrierfailureroute and
carrier_name) on another instance and cr reload has been executed without
any issue. 

Not easy to highlight where the problem comes from.

 

Regards,

 

Igor.

 

De : Henning Westerholt <hw at gilawa.com <mailto:hw at gilawa.com> > 
Envoyé : mardi 29 novembre 2022 21:13
À : Igor Potjevlesch <igor.potjevlesch at gmail.com
<mailto:igor.potjevlesch at gmail.com> >; 'Kamailio (SER) - Users Mailing List'
<sr-users at lists.kamailio.org <mailto:sr-users at lists.kamailio.org> >
Objet : RE: [SR-Users] kamctl cr reload doesn't reload all routes

 

Hello Igor,

 

This is usually caused from wrong or incomplete routing data in the DB.
Review if you e.g. have some missing domains or carrier entries in the
respective tables.

Also look for some errors or warnings related to carrierroute at a restart.

 

Cheers,

 

Henning

 

-- 

Henning Westerholt –  <https://skalatan.de/blog/> https://skalatan.de/blog/

Kamailio services –  <https://gilawa.com/> https://gilawa.com

 

From: Igor Potjevlesch <igor.potjevlesch at gmail.com
<mailto:igor.potjevlesch at gmail.com> > 
Sent: Tuesday, November 29, 2022 6:08 PM
To: Henning Westerholt <hw at gilawa.com <mailto:hw at gilawa.com> >; 'Kamailio
(SER) - Users Mailing List' <sr-users at lists.kamailio.org
<mailto:sr-users at lists.kamailio.org> >
Subject: RE: [SR-Users] kamctl cr reload doesn't reload all routes

 

Hello Henning,

 

That's a good point. I tried again and I could see this:

ERROR: carrierroute [cr_rpc.c:60]: cr_rpc_reload_routes(): failed to load
routing data

 

Nothing more precise.

Regards,

 

Igor.

 

De : Henning Westerholt <hw at gilawa.com <mailto:hw at gilawa.com> > 
Envoyé : mardi 29 novembre 2022 16:12
À : Kamailio (SER) - Users Mailing List <sr-users at lists.kamailio.org
<mailto:sr-users at lists.kamailio.org> >
Cc : Igor Potjevlesch <igor.potjevlesch at gmail.com
<mailto:igor.potjevlesch at gmail.com> >
Objet : RE: [SR-Users] kamctl cr reload doesn't reload all routes

 

Hello,

 

any error message in the logs from carrierroute reload?

 

Cheers,

 

Henning

 

-- 

Henning Westerholt –  <https://skalatan.de/blog/> https://skalatan.de/blog/

Kamailio services –  <https://gilawa.com/> https://gilawa.com

 

From: sr-users <sr-users-bounces at lists.kamailio.org
<mailto:sr-users-bounces at lists.kamailio.org> > On Behalf Of Igor Potjevlesch
Sent: Tuesday, November 29, 2022 4:04 PM
To: sr-users at lists.kamailio.org <mailto:sr-users at lists.kamailio.org> 
Subject: [SR-Users] kamctl cr reload doesn't reload all routes

 

Hello!

 

I'm facing a problem with one of my Kamailio instance: "kamctl cr reload"
returns OK, but, finally, the route I modified, or I added are not takes.

I'm still on a previous route. 

 

If I completely reboot Kamailio it's okay. So, the last time, I rebooted
with more memory, and I was thinking that it could fix the problem, but not.

 

Do you have any idea?

Regards,

 

Igor.

 


 
<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campai
gn=sig-email&utm_content=emailclient> 

Sans virus.
<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campai
gn=sig-email&utm_content=emailclient> www.avast.com

 



-- 
Cet e-mail a été vérifié par le logiciel antivirus d'Avast.
www.avast.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20221130/eefc7f78/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.jpg
Type: image/jpeg
Size: 823 bytes
Desc: not available
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20221130/eefc7f78/attachment.jpg>


More information about the sr-users mailing list