<div dir="ltr"><div><span id="result_box" class="" lang="en"><span class="">saul</span> <span class="">my</span> <span class="">connection to</span> <span class="">mysql</span> <span class="">works perfect</span> <span class="">with</span> <span class="">the root user</span><span>,</span> <span class="">and the</span> <span class="">user</span> <span class="">OpenSIPS</span> <span class="">bd</span><span class="">,<br>
<br>mysqld (pid 2411) is running...<br><br><br></span></span></div><span id="result_box" class="" lang="en"><span class="">line 87 and 88<br><br>modparam("presence", "db_url","mysql://</span></span><span id="result_box" class="" lang="en"><span class="">ossips:xxx@localhost/opensips")<br>
modparam("presence", "server_address", "sip:172.x.x.x:5060")<br><br><br></span></span><div><span id="result_box" class="" lang="en"><span class=""><br></span></span></div></div><div class="gmail_extra">
<br><br><div class="gmail_quote">2013/8/28 Saúl Ibarra Corretgé <span dir="ltr"><<a href="mailto:saul@ag-projects.com" target="_blank">saul@ag-projects.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im"><br>
On Aug 28, 2013, at 6:05 PM, troxlinux wrote:<br>
<br>
><br>
> look there :<br>
><br>
> Aug 28 09:54:41 sipia /sbin/opensips[27216]: ERROR:db_mysql:db_mysql_connect: driver error(1045): Access denied for user ''ossips@'localhost' (using password: YES)<br>
> Aug 28 09:54:41 sipia /sbin/opensips[27216]: ERROR:db_mysql:db_mysql_new_connection: initial connect failed<br>
> Aug 28 09:54:41 sipia /sbin/opensips[27216]: ERROR:core:db_do_init: could not add connection to the pool<br>
> Aug 28 09:54:41 sipia /sbin/opensips[27216]: ERROR:presence:mod_init: connecting to database failed<br>
> Aug 28 09:54:41 sipia /sbin/opensips[27216]: ERROR:core:init_mod: failed to initialize module presence<br>
> Aug 28 09:54:41 sipia /sbin/opensips[27216]: ERROR:core:main: error while initializing modules<br>
><br>
> the user is correct to connect to mysql , my attention this message<br>
><br>
<br>
</div>Your DB connection seems to be wrong.<br>
<div class="im"><br>
> Aug 28 09:54:41 sipia /sbin/opensips[27216]: ERROR:core:init_mod: failed to initialize module presence<br>
> le /etc/opensips/opensips.cfg, line 87, column 16-17: syntax error<br>
> 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>
> 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>
><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 class="HOEnZb"><div class="h5"><br>
<br>
<br>
<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>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>rickygm<br><br><a href="http://gnuforever.homelinux.com">http://gnuforever.homelinux.com</a>
</div>