<div dir="ltr"><span id="result_box" class="" lang="en"><span class="">if</span> <span class="">I remove</span> <span class="">all configuration</span> <span class="">starts successfully</span> <span class="">OpenSIPS</span> <span class="">presence<br>

<br>Stopping opensips: not running                             [WARNING]<br>Starting opensips:                                         [  OK  ]<br><br></span></span></div><div class="gmail_extra"><br><br><div class="gmail_quote">

2013/8/28 troxlinux <span dir="ltr">&lt;<a href="mailto:xserverlinux@gmail.com" target="_blank">xserverlinux@gmail.com</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div dir="ltr"><div><span lang="en"><span>saul</span> <span>my</span> <span>connection to</span> <span>mysql</span> <span>works perfect</span> <span>with</span> <span>the root user</span><span>,</span> <span>and the</span> <span>user</span> <span>OpenSIPS</span> <span>bd</span><span>,<br>


<br>mysqld (pid 2411) is running...<br><br><br></span></span></div><span lang="en"><span>line 87 and 88<br><br>modparam(&quot;presence&quot;, &quot;db_url&quot;,&quot;mysql://</span></span><span lang="en"><span>ossips:xxx@localhost/opensips&quot;)<div class="im">

<br>
modparam(&quot;presence&quot;, &quot;server_address&quot;, &quot;sip:172.x.x.x:5060&quot;)<br><br><br></div></span></span><div><span lang="en"><span><br></span></span></div></div><div class="gmail_extra"><div><div class="h5">


<br><br><div class="gmail_quote">2013/8/28 Saúl Ibarra Corretgé <span dir="ltr">&lt;<a href="mailto:saul@ag-projects.com" target="_blank">saul@ag-projects.com</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">


<div><br>
On Aug 28, 2013, at 6:05 PM, troxlinux wrote:<br>
<br>
&gt;<br>
&gt; look there :<br>
&gt;<br>
&gt; Aug 28 09:54:41 sipia /sbin/opensips[27216]: ERROR:db_mysql:db_mysql_connect: driver error(1045): Access denied for user &#39;&#39;ossips@&#39;localhost&#39; (using password: YES)<br>
&gt; Aug 28 09:54:41 sipia /sbin/opensips[27216]: ERROR:db_mysql:db_mysql_new_connection: initial connect failed<br>
&gt; Aug 28 09:54:41 sipia /sbin/opensips[27216]: ERROR:core:db_do_init: could not add connection to the pool<br>
&gt; Aug 28 09:54:41 sipia /sbin/opensips[27216]: ERROR:presence:mod_init: connecting to database failed<br>
&gt; Aug 28 09:54:41 sipia /sbin/opensips[27216]: ERROR:core:init_mod: failed to initialize module presence<br>
&gt; Aug 28 09:54:41 sipia /sbin/opensips[27216]: ERROR:core:main: error while initializing modules<br>
&gt;<br>
&gt; the user is correct to connect to mysql , my attention this message<br>
&gt;<br>
<br>
</div>Your DB connection seems to be wrong.<br>
<div><br>
&gt; Aug 28 09:54:41 sipia /sbin/opensips[27216]: ERROR:core:init_mod: failed to initialize module presence<br>
&gt; le /etc/opensips/opensips.cfg, line 87, column 16-17: syntax error<br>
&gt; Aug 28 08:39:17 sipia opensips: CRITICAL:core:yyerror: parse error in config file /etc/opensips/opensips.cfg, line 87, column 16-17: Invalid arguments<br>
&gt; Aug 28 08:39:17 sipia opensips: CRITICAL:core:yyerror: parse error in config file /etc/opensips/opensips.cfg, line 88, column 1-9:<br>
&gt;<br>
<br>
</div>Well, what do you have on those lines? (87 and 88)<br>
<br>
--<br>
Saúl Ibarra Corretgé<br>
AG Projects<br>
<div><div><br>
<br>
<br>
<br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org" target="_blank">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>
</div></div></blockquote></div><br><br clear="all"><br></div></div><span class="HOEnZb"><font color="#888888">-- <br>rickygm<br><br><a href="http://gnuforever.homelinux.com" target="_blank">http://gnuforever.homelinux.com</a>
</font></span></div>
</blockquote></div><br><br clear="all"><br>-- <br>rickygm<br><br><a href="http://gnuforever.homelinux.com">http://gnuforever.homelinux.com</a>
</div>