Bogdan,<br><br>Thank you very much, the problem was because I forgot to add the module dialplan in the modparam db_url:<br><br>Before:<br>modparam(&quot;domain|alias_db|auth_db|usrloc|drouting&quot;,&quot;db_url&quot;, &quot;mysql://user:user@localhost/db&quot;)<br>
<br>After:<br>modparam(&quot;domain|alias_db|auth_db|usrloc|drouting<b>|dialplan</b>&quot;,&quot;db_url&quot;, &quot;mysql://user:user@localhost/db&quot;)<br><br>The biggest problem that take longer time to discover the problem was because in the CentOS the same configuration script works properly, do you have some explanation to this behavior in other OS?<br>
<br>An improvement in the Script Compiler (&quot;opensips -c&quot;) could be to check if the db_url is properly set, what do you think?<br><br>Best regards,<br><br clear="all">Antonio Anderson M. Souza<br>Voice Technology<br>
<a href="http://www.antonioams.com">http://www.antonioams.com</a><br>
<br><br><div class="gmail_quote">On Mon, Jan 4, 2010 at 9:22 AM, Bogdan-Andrei Iancu <span dir="ltr">&lt;<a href="mailto:bogdan@voice-system.ro">bogdan@voice-system.ro</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi Antonio,<br>
<br>
The relevant part is:<br>
<br>
14752 socket(PF_FILE, SOCK_STREAM, 0)   = 5<br>
14752 fcntl(5, F_SETFL, O_RDONLY)       = 0<br>
14752 fcntl(5, F_GETFL)                 = 0x2 (flags O_RDWR)<br>
14752 connect(5, {sa_family=AF_FILE,<br>
path=&quot;/var/run/mysqld/mysqld.sock&quot;}, 110) = 0<br>
14752 setsockopt(5, SOL_SOCKET, SO_RCVTIMEO,<br>
&quot;\2003\341\1\0\0\0\0\0\0\0\0\0\0\0\0&quot;, 16) = 0<br>
14752 setsockopt(5, SOL_SOCKET, SO_SNDTIMEO,<br>
&quot;\2003\341\1\0\0\0\0\0\0\0\0\0\0\0\0&quot;, 16) = 0<br>
14752 setsockopt(5, SOL_IP, IP_TOS, [8], 4) = -1 EOPNOTSUPP (Operation<br>
not supported)<br>
14752 setsockopt(5, SOL_SOCKET, SO_KEEPALIVE, [1], 4) = 0<br>
14752 read(5, &quot;=\0\0\0\n5.1.37-1ubuntu5\0\223\1\0\00076JP4Q|&quot;..., 16384)<br>
= 65<br>
14752 write(5,<br>
&quot;I\0\0\1\215\242\3\200\0\0\0@\10\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0&quot;...,<br>
77) = 77<br>
<div class="im">14752 read(5, &quot;O\0\0\2\377\24\4#42000Access denied for u&quot;..., 16384) = 83<br>
<br>
</div>Seams mysql refuses the a connection from opensips.  Are you sure you<br>
properly configured the db_url for all the module that requires DB<br>
connection ?<br>
<div class="im"><br>
Regards,<br>
Bogdan<br>
<br>
Antonio Anderson M. de Souza wrote:<br>
</div><div><div></div><div class="h5">&gt; Bogdan,<br>
&gt;<br>
&gt; I started the Opensips with debug=6 and there weren&#39;t changes on the<br>
&gt; initialization log, I&#39;ve used the strace [1], I&#39;m not an expert in the<br>
&gt; strace, but the only thing that i could see was a message &quot;14752<br>
&gt; read(5, &quot;O\0\0\2\377\24\4#42000Access denied for u&quot;..., 16384) = 83&quot;<br>
&gt; after that the shutdown process started.<br>
&gt;<br>
&gt; I already double checked the user and password of the mysql, and it&#39;s<br>
&gt; right in the script, and in the opensipsctlrc, the opensipsctl is<br>
&gt; working properly.<br>
&gt;<br>
&gt; Could somebody take a look in the stracelog to help me?<br>
&gt;<br>
&gt; [1] -<br>
&gt; <a href="http://dl.dropbox.com/u/2134454/strace-opensips-crashs-ubuntu9.10-64.log.tar.gz" target="_blank">http://dl.dropbox.com/u/2134454/strace-opensips-crashs-ubuntu9.10-64.log.tar.gz</a><br>
&gt;<br>
&gt; Antonio Anderson M. Souza<br>
&gt; Voice Technology<br>
&gt; <a href="http://www.antonioams.com" target="_blank">http://www.antonioams.com</a><br>
</div></div><div><div></div><div class="h5">&gt; ------------------------------------------------------------------------<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; Users mailing list<br>
&gt; <a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
&gt; <a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
&gt;<br>
<br>
<br>
--<br>
Bogdan-Andrei Iancu<br>
<a href="http://www.voice-system.ro" target="_blank">www.voice-system.ro</a><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>