[OpenSIPS-Users] SipTrace Module - failed to get an id for "sip" tracing!

Victor Bogatyryev victor.bogatyryev at gmail.com
Sun Feb 5 07:46:50 EST 2017


Hi All, opensips 2.3 opensips.cfg #### SipTrace Module loadmodule 
"siptrace.so" modparam("siptrace", "trace_on", 1) modparam("siptrace", 
"trace_id", 
"[tid]uri=mysql://opensips:opensipsrw@localhost/opensips;table=sip_trace;") 
MariaDB [opensips]> DESCRIBE sip_trace; 
+-------------+------------------+------+-----+---------------------+----------------+ 
| Field | Type | Null | Key | Default | Extra | 
+-------------+------------------+------+-----+---------------------+----------------+ 
| id | int(10) unsigned | NO | PRI | NULL | auto_increment | | 
time_stamp | datetime | NO | MUL | 1900-01-01 00:00:01 | | | callid | 
char(255) | NO | MUL | | | | trace_attrs | char(128) | YES | MUL | NULL 
| | | msg | text | NO | | NULL | | | method | char(32) | NO | | | | | 
status | char(128) | YES | | NULL | | | from_proto | char(5) | NO | | 
NULL | | | from_ip | char(50) | NO | MUL | | | | from_port | int(5) 
unsigned | NO | | NULL | | | to_proto | char(5) | NO | | NULL | | | 
to_ip | char(50) | NO | | | | | to_port | int(5) unsigned | NO | | NULL 
| | | fromtag | char(64) | NO | | | | | direction | char(4) | NO | | | | 
+-------------+------------------+------+-----+---------------------+----------------+ 
15 rows in set (0.00 sec) # opensipsctl start INFO: Starting OpenSIPS : 
ERROR: PID file /var/run/opensips/opensips.pid does not exist -- 
OpenSIPS start failed Degug: /local/sbin/opensips[2061]: 
ERROR:siptrace:mod_init: failed to get an id for "sip" tracing! 
/sbin/opensips[2061]: ERROR:core:init_mod: failed to initialize module 
siptrace /sbin/opensips[2061]: ERROR:core:main: error while initializing 
modules /sbin/opensips[2061]: INFO:core:cleanup: cleanup 
/local/sbin/opensips[2061]: NOTICE:core:main: Exiting.... Regards, 
Victor Bogatyryev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20170205/3a50d7f0/attachment-0001.html>


More information about the Users mailing list