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("domain|alias_db|auth_db|usrloc|drouting","db_url", "mysql://user:user@localhost/db")<br>
<br>After:<br>modparam("domain|alias_db|auth_db|usrloc|drouting<b>|dialplan</b>","db_url", "mysql://user:user@localhost/db")<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 ("opensips -c") 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"><<a href="mailto:bogdan@voice-system.ro">bogdan@voice-system.ro</a>></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="/var/run/mysqld/mysqld.sock"}, 110) = 0<br>
14752 setsockopt(5, SOL_SOCKET, SO_RCVTIMEO,<br>
"\2003\341\1\0\0\0\0\0\0\0\0\0\0\0\0", 16) = 0<br>
14752 setsockopt(5, SOL_SOCKET, SO_SNDTIMEO,<br>
"\2003\341\1\0\0\0\0\0\0\0\0\0\0\0\0", 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, "=\0\0\0\n5.1.37-1ubuntu5\0\223\1\0\00076JP4Q|"..., 16384)<br>
= 65<br>
14752 write(5,<br>
"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"...,<br>
77) = 77<br>
<div class="im">14752 read(5, "O\0\0\2\377\24\4#42000Access denied for u"..., 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">> Bogdan,<br>
><br>
> I started the Opensips with debug=6 and there weren't changes on the<br>
> initialization log, I've used the strace [1], I'm not an expert in the<br>
> strace, but the only thing that i could see was a message "14752<br>
> read(5, "O\0\0\2\377\24\4#42000Access denied for u"..., 16384) = 83"<br>
> after that the shutdown process started.<br>
><br>
> I already double checked the user and password of the mysql, and it's<br>
> right in the script, and in the opensipsctlrc, the opensipsctl is<br>
> working properly.<br>
><br>
> Could somebody take a look in the stracelog to help me?<br>
><br>
> [1] -<br>
> <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>
><br>
> Antonio Anderson M. Souza<br>
> Voice Technology<br>
> <a href="http://www.antonioams.com" target="_blank">http://www.antonioams.com</a><br>
</div></div><div><div></div><div class="h5">> ------------------------------------------------------------------------<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>
><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>