<p dir="ltr">Peter,<br></p>
<p dir="ltr">Verify that your modules path within the cfg is correct. From the look of the log output it looks as if the module is failing to load or you are no loading the tm module. Functions specific to a module are dependent of the module to execute. Is this a 64 bit os? </p>
<p dir="ltr">Thanks,<br>
Tito</p>
<div class="gmail_quote">On Oct 20, 2014 9:19 PM, &quot;Peter Flowers&quot; &lt;<a href="mailto:pflowers@mergecom.co.nz">pflowers@mergecom.co.nz</a>&gt; wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div><div>Hi<br></div>I was following the OpenSIPS Kick Start video but using Debian 7.4 and OpenSIPS 1.11.3. Everything went pretty well till the end and starting openSIPS with the init script. <br><br></div><div>I set the install prefix as /usr/local/opensips and created a residential cfg file. This I renamed to opensips_residential.cfg.<br></div><div><br></div>When I went to start opensips with /etc/init.d/opensips start there were lots of critical errors like these <br><br>Oct 20 22:43:44 [3363] CRITICAL:core:yyerror: parse error in config file /usr/local/opensips//etc/opensips/opensips.cfg, line 255, column 15-16: unknown command &lt;t_relay&gt;, missing loadmodule?<br>Oct 20 22:43:44 [3363] CRITICAL:core:yyerror: parse error in config file /usr/local/opensips//etc/opensips/opensips.cfg, line 256, column 19-20: unknown command &lt;send_reply&gt;, missing loadmodule?<br>Oct 20 22:43:44 [3363] CRITICAL:core:yyerror: parse error in config file /usr/local/opensips//etc/opensips/opensips.cfg, line 276, column 22-23: unknown command &lt;t_was_cancelled&gt;, missing loadmodule?<br>Oct 20 22:43:44 [3363] ERROR:core:main: bad config file (79 errors)<br><br>The new layout of the init.d script is a bit different than the video, particularly the beginning. It looks to me like the init.d script is not picking up the correct location of the opensips_residential.cfg file and picking a default opensips.cfg file.<br><br></div>This is what I put in the init.d <br><br>PATH=/sbin:/bin:/usr/sbin:/usr/bin<br>DAEMON=<b>/usr/local/opensips/sbin/opensips</b><br>NAME=opensips<br>DESC=opensips<br>CFGFILE=<b>/usr/local/opensips/etc/opensips/opensips_residential.cfg</b><br>M4CFGFILE=/etc/opensips/opensips.m4<br>M4ARCHIVEDIR=/etc/opensips/archive<br>HOMEDIR=/var/run/opensips<br>PIDFILE=$HOMEDIR/$NAME.pid<br>DEFAULTS=/etc/default/opensips<br>RUN_OPENSIPS=no<br> <br></div>and the options line looks like this<br><br>OPTIONS=&quot;-P $PIDFILE -m $S_MEMORY -M $P_MEMORY -u $USER -g $GROUP <b>-f /usr/local/opensips/etc/opensips/opensips_residential.cfg</b>&quot;<br><div> <br clear="all"><div><div><div><div>Any ideas very gratefully accepted<br></div><div>-- <br><div dir="ltr"><div>Peter Flowers<br></div><br></div>
</div></div></div></div></div></div>
<br>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
<br></blockquote></div>