I tried adding the realm_prefix and still got the same problem. I ran
kamailio thru gdb to try and step thru and get more information and have
included the output in the attached text file. Hope this helps.
Thanks
Nathaniel L Keeling
On 4/26/2012 2:42 PM, Akan wrote:
No, but I do have an alias defined.
alias="mydomain.com:5080"
Thanks
Nathaniel
On 4/26/2012 3:41 AM, Daniel-Constantin Mierla wrote:
Hello,
do you set the realm_prefix parameter of registrar module?
http://kamailio.org/docs/modules/stable/modules_k/registrar.html#id2495082
If yes, can you paste it here?
Cheers,
Daniel
On 4/25/12 9:42 PM, Akan wrote:
I have 2 servers running Solaris and Kamailio 3.2.3 where on one
Kamailio is terminating when it tries to save the location for a
register request and the other is producing a core dump when
processing an Option request. I have one server handling Register
request while the other sip server forwards the register requests
and handles the other requests. I have included the backtraces from
the core dumps and the output from the log for the registrar server
as well as the command that is causing kamailio to terminate:
if (!save("location"))
sl_reply_error();
4(3364) ERROR: *** cfgtrace:
c=[/opt/kamailio-3.2/etc/kamailio/kamailio.cfg] l=714 a=17 n=if
4(3364) ERROR: *** cfgtrace:
c=[/opt/kamailio-3.2/etc/kamailio/kamailio.cfg] l=711 a=26 n=save
14(3374) : <core> [pass_fd.c:293]: ERROR: receive_fd: EOF on 15
14(3374) DEBUG: <core> [tcp_main.c:3555]: DBG: handle_ser_child:
dead child 4, pid 3364 (shutting down?)
14(3374) DEBUG: <core> [io_wait.h:617]: DBG: io_watch_del
(1003743d8, 15, 0, 0x0) fd_no=18 called
0(3360) ALERT: <core> [main.c:751]: child process 3364 exited by a
signal 10
0(3360) ALERT: <core> [main.c:754]: core was not generated
0(3360) INFO: <core> [main.c:766]: INFO: terminating due to SIGCHLD
6(3366) INFO: <core> [main.c:817]: INFO: signal 15 received
1(3361) INFO: <core> [main.c:817]: INFO: signal 15 received
2(3362) INFO: <core> [main.c:817]: INFO: signal 15 received
3(3363) INFO: <core> [main.c:817]: INFO: signal 15 received
5(3365) INFO: <core> [main.c:817]: INFO: signal 15 received
7(3367) INFO: <core> [main.c:817]: INFO: signal 15 received
8(3368) INFO: <core> [main.c:817]: INFO: signal 15 received
9(3369) INFO: <core> [main.c:817]: INFO: signal 15 received
10(3370) INFO: <core> [main.c:817]: INFO: signal 15 received
11(3371) INFO: <core> [main.c:817]: INFO: signal 15 received
12(3372) INFO: <core> [main.c:817]: INFO: signal 15 received
13(3373) INFO: <core> [main.c:817]: INFO: signal 15 received
14(3374) INFO: <core> [main.c:817]: INFO: signal 15 received
0(3360) DEBUG: presence_xml [presence_xml.c:347]: start
0(3360) ERROR: ctl [ctl.c:379]: ERROR: ctl: could not delete unix
socket /tmp/kamailio_ctl: Permission denied (13)
0(3360) DEBUG: <core> [db_pool.c:102]: removing connection from the
pool
0(3360) DEBUG: db_postgres [km_pg_con.c:122]: PQfinish(100842470)
0(3360) DEBUG: db_postgres [km_pg_con.c:126]: pkg_free(1004c1f30)
0(3360) DEBUG: tm [t_funcs.c:122]: DEBUG: tm_shutdown : start
0(3360) DEBUG: tm [t_funcs.c:125]: DEBUG: tm_shutdown : emptying
hash table
0(3360) DEBUG: tm [t_funcs.c:127]: DEBUG: tm_shutdown : removing
semaphores
0(3360) DEBUG: tm [t_funcs.c:129]: DEBUG: tm_shutdown : destroying
tmcb lists
0(3360) DEBUG: tm [t_funcs.c:132]: DEBUG: tm_shutdown : done
Thanks
Nathaniel
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
--
Daniel-Constantin Mierla -http://www.asipto.com
http://twitter.com/#!/miconda -http://www.linkedin.com/in/miconda
No virus found in this message.
Checked by AVG - www.avg.com <http://www.avg.com>
Version: 2012.0.1913 / Virus Database: 2411/4959 - Release Date:
04/25/12
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
-----
No virus found in this message.
Checked by AVG - www.avg.com
Version: 2012.0.1913 / Virus Database: 2411/4960 - Release Date: 04/26/12
2(4105) ERROR: <script>: SCRIPT: Start of registrar route
............................................
2(4105) ERROR: *** cfgtrace: c=[/opt/kamailio-3.2/etc/kamailio/kamailio.cfg]
l=712 a=17 n=if
2(4105) ERROR: *** cfgtrace: c=[/opt/kamailio-3.2/etc/kamailio/kamailio.cfg]
l=705 a=42 n=isflagset
2(4105) ERROR: *** cfgtrace: c=[/opt/kamailio-3.2/etc/kamailio/kamailio.cfg]
l=707 a=26 n=setbflag
2(4105) ERROR: *** cfgtrace: c=[/opt/kamailio-3.2/etc/kamailio/kamailio.cfg]
l=712 a=26 n=xlog
2(4105) ERROR: <script>: SCRIPT: Start of saving location
..................................................
2(4105) ERROR: *** cfgtrace: c=[/opt/kamailio-3.2/etc/kamailio/kamailio.cfg]
l=716 a=17 n=if
2(4105) ERROR: *** cfgtrace: c=[/opt/kamailio-3.2/etc/kamailio/kamailio.cfg]
l=713 a=26 n=save
5(4108) DEBUG: presence [publish.c:90]: cleaning expired presentity information
5(4108) DEBUG: db_postgres [km_dbase.c:158]: sending query ok: 1004bfd68 (7) -
[select username,domain,etag,event from presentity where expires<1335629720
order by username]
5(4108) DEBUG: <core> [db_res.c:118]: allocate 48 bytes for result set at
1004bbaf0
5(4108) DEBUG: db_postgres [km_dbase.c:426]: 1004bfd68
PQresultStatus(PGRES_TUPLES_OK) PQgetResult(100842110)
5(4108) DEBUG: db_postgres [km_res.c:108]: 4 columns returned from the query
5(4108) DEBUG: <core> [db_res.c:155]: allocate 32 bytes for result names at
1004bbb80
5(4108) DEBUG: <core> [db_res.c:165]: allocate 16 bytes for result types at
1004bba78
5(4108) DEBUG: db_postgres [km_res.c:126]: allocate 16 bytes for RES_NAMES[0]
at 1004bbc00
5(4108) DEBUG: db_postgres [km_res.c:133]: RES_NAMES(1004bbc00)[0]=[username]
5(4108) DEBUG: db_postgres [km_res.c:166]: use DB1_STRING result type
5(4108) DEBUG: db_postgres [km_res.c:126]: allocate 16 bytes for RES_NAMES[1]
at 1004bbc70
5(4108) DEBUG: db_postgres [km_res.c:133]: RES_NAMES(1004bbc70)[1]=[domain]
5(4108) DEBUG: db_postgres [km_res.c:166]: use DB1_STRING result type
5(4108) DEBUG: db_postgres [km_res.c:126]: allocate 16 bytes for RES_NAMES[2]
at 1004bbce0
5(4108) DEBUG: db_postgres [km_res.c:133]: RES_NAMES(1004bbce0)[2]=[etag]
5(4108) DEBUG: db_postgres [km_res.c:166]: use DB1_STRING result type
5(4108) DEBUG: db_postgres [km_res.c:126]: allocate 16 bytes for RES_NAMES[3]
at 1004bbd50
5(4108) DEBUG: db_postgres [km_res.c:133]: RES_NAMES(1004bbd50)[3]=[event]
5(4108) DEBUG: db_postgres [km_res.c:166]: use DB1_STRING result type
5(4108) DEBUG: db_postgres [km_res.c:211]: no rows returned from the query
5(4108) DEBUG: db_postgres [km_dbase.c:325]: PQclear(100842110) result set
5(4108) DEBUG: <core> [db_res.c:81]: freeing 4 columns
5(4108) DEBUG: <core> [db_res.c:85]: freeing RES_NAMES[0] at 1004bbc00
5(4108) DEBUG: <core> [db_res.c:85]: freeing RES_NAMES[1] at 1004bbc70
5(4108) DEBUG: <core> [db_res.c:85]: freeing RES_NAMES[2] at 1004bbce0
5(4108) DEBUG: <core> [db_res.c:85]: freeing RES_NAMES[3] at 1004bbd50
5(4108) DEBUG: <core> [db_res.c:94]: freeing result names at 1004bbb80
5(4108) DEBUG: <core> [db_res.c:99]: freeing result types at 1004bba78
5(4108) DEBUG: <core> [db_res.c:136]: freeing result set at 1004bbaf0
5(4108) DEBUG: presence [subscribe.c:632]: cleaning pending subscriptions
5(4108) DEBUG: db_postgres [km_dbase.c:158]: sending query ok: 1004bfd68 (7) -
[select id from watchers where inserted_time<1335543320 AND status=2]
5(4108) DEBUG: <core> [db_res.c:118]: allocate 48 bytes for result set at
1004bbaf0
5(4108) DEBUG: db_postgres [km_dbase.c:426]: 1004bfd68
PQresultStatus(PGRES_TUPLES_OK) PQgetResult(100842110)
5(4108) DEBUG: db_postgres [km_res.c:108]: 1 columns returned from the query
5(4108) DEBUG: <core> [db_res.c:155]: allocate 8 bytes for result names at
1004bbd50
5(4108) DEBUG: <core> [db_res.c:165]: allocate 4 bytes for result types at
1004bbce0
5(4108) DEBUG: db_postgres [km_res.c:126]: allocate 16 bytes for RES_NAMES[0]
at 1004bbc70
5(4108) DEBUG: db_postgres [km_res.c:133]: RES_NAMES(1004bbc70)[0]=[id]
5(4108) DEBUG: db_postgres [km_res.c:140]: use DB1_INT result type
5(4108) DEBUG: db_postgres [km_res.c:211]: no rows returned from the query
5(4108) DEBUG: db_postgres [km_dbase.c:325]: PQclear(100842110) result set
5(4108) DEBUG: <core> [db_res.c:81]: freeing 1 columns
5(4108) DEBUG: <core> [db_res.c:85]: freeing RES_NAMES[0] at 1004bbc70
5(4108) DEBUG: <core> [db_res.c:94]: freeing result names at 1004bbd50
5(4108) DEBUG: <core> [db_res.c:99]: freeing result types at 1004bbce0
5(4108) DEBUG: <core> [db_res.c:136]: freeing result set at 1004bbaf0
5(4108) DEBUG: presence [subscribe.c:1493]: db_update timer
5(4108) DEBUG: db_postgres [km_dbase.c:158]: sending query ok: 1004bfd68 (7) -
[delete from active_watchers where expires<1335629720]
5(4108) DEBUG: <core> [db_res.c:118]: allocate 48 bytes for result set at
1004bbaf0
5(4108) DEBUG: db_postgres [km_dbase.c:426]: 1004bfd68
PQresultStatus(PGRES_COMMAND_OK) PQgetResult(100842110)
5(4108) DEBUG: db_postgres [km_dbase.c:325]: PQclear(100842110) result set
5(4108) DEBUG: <core> [db_res.c:81]: freeing 0 columns
5(4108) DEBUG: <core> [db_res.c:136]: freeing result set at 1004bbaf0
14(4117) : <core> [pass_fd.c:293]: ERROR: receive_fd: EOF on 13
14(4117) DEBUG: <core> [tcp_main.c:3555]: DBG: handle_ser_child: dead child 2,
pid 4105 (shutting down?)
14(4117) DEBUG: <core> [io_wait.h:617]: DBG: io_watch_del (1003743d8, 13, 0,
0x0) fd_no=18 called
0(4103) ALERT: <core> [main.c:751]: child process 4105 exited by a signal 10
0(4103) ALERT: <core> [main.c:754]: core was generated
0(4103) INFO: <core> [main.c:766]: INFO: terminating due to SIGCHLD
14(4117) INFO: <core> [main.c:817]: INFO: signal 15 received
1(4104) INFO: <core> [main.c:817]: INFO: signal 15 received
3(4106) INFO: <core> [main.c:817]: INFO: signal 15 received
4(4107) INFO: <core> [main.c:817]: INFO: signal 15 received
5(4108) INFO: <core> [main.c:817]: INFO: signal 15 received
6(4109) INFO: <core> [main.c:817]: INFO: signal 15 received
7(4110) INFO: <core> [main.c:817]: INFO: signal 15 received
8(4111) INFO: <core> [main.c:817]: INFO: signal 15 received
9(4112) INFO: <core> [main.c:817]: INFO: signal 15 received
10(4113) INFO: <core> [main.c:817]: INFO: signal 15 received
11(4114) INFO: <core> [main.c:817]: INFO: signal 15 received
12(4115) INFO: <core> [main.c:817]: INFO: signal 15 received
13(4116) INFO: <core> [main.c:817]: INFO: signal 15 received
0(4103) DEBUG: presence_xml [presence_xml.c:347]: start
0(4103) DEBUG: <core> [db_pool.c:102]: removing connection from the pool
0(4103) DEBUG: db_postgres [km_pg_con.c:122]: PQfinish(10084bed0)
0(4103) DEBUG: db_postgres [km_pg_con.c:126]: pkg_free(1004c1d78)
0(4103) DEBUG: tm [t_funcs.c:122]: DEBUG: tm_shutdown : start
0(4103) DEBUG: tm [t_funcs.c:125]: DEBUG: tm_shutdown : emptying hash table
0(4103) DEBUG: tm [t_funcs.c:127]: DEBUG: tm_shutdown : removing semaphores
0(4103) DEBUG: tm [t_funcs.c:129]: DEBUG: tm_shutdown : destroying tmcb lists
0(4103) DEBUG: tm [t_funcs.c:132]: DEBUG: tm_shutdown : done
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users