Bogdan,<br><br>I started the Opensips with debug=6 and there weren't
changes on the initialization log, I've used the strace (follow trace
attached), I'm not an expert in the strace, but the only thing that i
could see was a message "14752 read(5, "O\0\0\2\377\24\4#42000Access
denied for u"..., 16384) = 83" after that the shutdown process started.<br>
<br>I already double checked the user and password of the mysql, and
it's right in the script, and in the opensipsctlrc, the opensipsctl is
working properly.<br><br>Could somebody take a look in the stracelog to help me?<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 Wed, Dec 30, 2009 at 5:17 PM, Antonio Anderson M. de Souza <span dir="ltr"><<a href="mailto:antonioams@gmail.com">antonioams@gmail.com</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;">
Bogdan,<br><br>I started the Opensips with debug=6 and there weren't changes on the initialization log, I've used the strace (follow trace attached), I'm not an expert in the strace, but the only thing that i could see was a message "14752 read(5, "O\0\0\2\377\24\4#42000Access denied for u"..., 16384) = 83" after that the shutdown process started.<br>
<br>I already double checked the user and password of the mysql, and it's right in the script, and in the opensipsctlrc, the opensipsctl is working properly.<br><br>Could somebody take a look in the stracelog to help me?<div class="im">
<br>
<br>Best regards, <br><br clear="all">Antonio Anderson M. Souza<br>Voice Technology<br><a href="http://www.antonioams.com" target="_blank">http://www.antonioams.com</a><br>
<br><br></div><div><div></div><div class="h5"><div class="gmail_quote">On Tue, Dec 29, 2009 at 12:38 PM, Bogdan-Andrei Iancu <span dir="ltr"><<a href="mailto:bogdan@voice-system.ro" target="_blank">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>
try the highest debug level (6) to see if you get something more - also<br>
try to start opensips under strace .<br>
<div><br>
Regards,<br>
Bogdan<br>
<br>
Antonio Anderson M. de Souza wrote:<br>
</div><div>> Hi Bogdan,<br>
><br>
> Yes it disappears without any log message, the last log message was<br>
> loading Dialplan module, after that it disappear.<br>
><br>
> Best Regards,<br>
><br>
> Antonio Anderson M. Souza<br>
> Voice Technology<br>
> <a href="http://www.antonioams.com" target="_blank">http://www.antonioams.com</a><br>
><br>
><br>
> On Sun, Dec 27, 2009 at 7:31 AM, Bogdan-Andrei Iancu<br>
</div><div><div></div><div>> <<a href="mailto:bogdan@voice-system.ro" target="_blank">bogdan@voice-system.ro</a> <mailto:<a href="mailto:bogdan@voice-system.ro" target="_blank">bogdan@voice-system.ro</a>>> wrote:<br>
><br>
> Hi Antonio,<br>
><br>
> so your opensips is not blocking but completely failing to start -<br>
> your<br>
> opensips simply disappears without any log, message?<br>
><br>
> Regards,<br>
> Bogdan<br>
><br>
> Antonio Anderson M. de Souza wrote:<br>
> > Bogdan,<br>
> ><br>
> > I executed the opensips with debug=4 (follows the logs bellow [1]),<br>
> > and i confirmed that is not running executing the "ps -ax | grep<br>
> > opensips" [2] and I've sent SIP Requests to test it and the OS<br>
> > returned the ICMP port unreachable.<br>
> ><br>
> > [1] - Logs<br>
> > ============================<br>
> > Dec 26 18:44:26 asouza-laptop opensips[19549]: NOTICE:core:main:<br>
> > version: opensips 1.6.0-notls (x86_64/linux)<br>
> > Dec 26 18:44:26 asouza-laptop opensips[19549]: INFO:core:main: using<br>
> > 32 Mb shared memory<br>
> > Dec 26 18:44:26 asouza-laptop opensips[19549]: INFO:core:main:<br>
> using 1<br>
> > Mb private memory per process<br>
> > Dec 26 18:44:26 asouza-laptop opensips[19549]: INFO:sl:mod_init:<br>
> > Initializing StateLess engine<br>
> > Dec 26 18:44:26 asouza-laptop opensips[19549]: INFO:tm:mod_init:<br>
> TM -<br>
> > initializing...<br>
> > Dec 26 18:44:26 asouza-laptop opensips[19549]: INFO:maxfwd:mod_init:<br>
> > initializing...<br>
> > Dec 26 18:44:26 asouza-laptop opensips[19549]:<br>
> > INFO:usrloc:ul_init_locks: locks array size 512<br>
> > Dec 26 18:44:26 asouza-laptop opensips[19549]:<br>
> INFO:textops:mod_init:<br>
> > initializing...<br>
> > Dec 26 18:44:26 asouza-laptop opensips[19549]: INFO:xlog:mod_init:<br>
> > initializing...<br>
> > Dec 26 18:44:26 asouza-laptop opensips[19549]: INFO:acc:mod_init:<br>
> > initializing...<br>
> > Dec 26 18:44:26 asouza-laptop opensips[19549]: INFO:auth:mod_init:<br>
> > initializing...<br>
> > Dec 26 18:44:26 asouza-laptop opensips[19549]:<br>
> INFO:auth_db:mod_init:<br>
> > initializing...<br>
> > Dec 26 18:44:26 asouza-laptop opensips[19549]:<br>
> INFO:alias_db:mod_init:<br>
> > initializing...<br>
> > Dec 26 18:44:26 asouza-laptop opensips[19549]: INFO:uac:mod_init:<br>
> > initializing...<br>
> > Dec 26 18:44:26 asouza-laptop opensips[19549]:<br>
> > INFO:avpops:avpops_init: initializing...<br>
> > Dec 26 18:44:26 asouza-laptop opensips[19549]:<br>
> > WARNING:permissions:mod_init: default allow file<br>
> > (/usr/local/etc/opensips/permissions.allow) not found => empty<br>
> rule set<br>
> > Dec 26 18:44:26 asouza-laptop opensips[19549]:<br>
> > WARNING:permissions:mod_init: default deny file<br>
> > (/usr/local/etc/opensips/permissions.deny) not found => empty<br>
> rule set<br>
> > Dec 26 18:44:26 asouza-laptop opensips[19549]: WARNING:core:mk_net:<br>
> > invalid network address/netmask combination fixed...<br>
> > Dec 26 18:44:26 asouza-laptop opensips[19549]: INFO:dialog:mod_init:<br>
> > Dialog module - initializing<br>
> > Dec 26 18:44:26 asouza-laptop opensips[19549]:<br>
> > NOTICE:signaling:mod_init: initializing module ...<br>
> > Dec 26 18:44:26 asouza-laptop opensips[19549]:<br>
> INFO:drouting:dr_init:<br>
> > Dynamic-Routing - initializing<br>
> > Dec 26 18:44:26 asouza-laptop opensips[19549]:<br>
> INFO:dialplan:mod_init:<br>
> > initializing module...<br>
> ><br>
> ><br>
> > [2] - PS Output<br>
> > ===================================================<br>
> > asouza@asouza-laptop:/usr/local/etc/opensips$ sudo opensips<br>
> > Listening on<br>
> > udp: 10.1.1.101 [10.1.1.101]:5060<br>
> > Aliases:<br>
> > udp: asouza-laptop.local:5060<br>
> > asouza@asouza-laptop:/usr/local/etc/opensips$ ps ax | grep opensips<br>
> > 19639 pts/0 S+ 0:00 grep --color=auto opensips<br>
> > asouza@asouza-laptop:/usr/local/etc/opensips$<br>
> ><br>
> ><br>
> > I'll install a CentOS on my VirtualBox to have a development<br>
> > environment on my laptop, the production environment will be a<br>
> CentOS,<br>
> > the unique problem is the overhead of VirtualBox introduces.<br>
> ><br>
> > Best regards,<br>
> ><br>
> > Antonio Anderson M. Souza<br>
> > Voice Technology<br>
> > <a href="http://www.antonioams.com" target="_blank">http://www.antonioams.com</a><br>
> ><br>
> ><br>
> > On Thu, Dec 24, 2009 at 6:18 AM, Bogdan-Andrei Iancu<br>
> > <<a href="mailto:bogdan@voice-system.ro" target="_blank">bogdan@voice-system.ro</a> <mailto:<a href="mailto:bogdan@voice-system.ro" target="_blank">bogdan@voice-system.ro</a>><br>
</div></div>> <mailto:<a href="mailto:bogdan@voice-system.ro" target="_blank">bogdan@voice-system.ro</a> <mailto:<a href="mailto:bogdan@voice-system.ro" target="_blank">bogdan@voice-system.ro</a>>>><br>
<div><div></div><div>> wrote:<br>
> ><br>
> > Hi Antonio,<br>
> ><br>
> > what makes you think that opensips does not start? just the<br>
> logs?<br>
> > because the log looks ok - all module were initialized,<br>
> opensips is<br>
> > waiting for traffic.<br>
> ><br>
> > To see more, set debug=4 in the config file.<br>
> ><br>
> > Regards,<br>
> > Bogdan<br>
> ><br>
> > Antonio Anderson M. de Souza wrote:<br>
> > > Hi Brian,<br>
> > ><br>
> > > A correction I'm using the 1.6.0 version i downloaded it from<br>
> > > <a href="http://opensips.org/pub/opensips/1.6.0/src/" target="_blank">http://opensips.org/pub/opensips/1.6.0/src/</a><br>
> > ><br>
> > > Using the 1.6.0 version I removed the dialplan module from the<br>
> > script<br>
> > > and Opensips started properly, after that i updated the<br>
> opensips to<br>
> > > the 1.6.1 version, but in the 1.6.1 it stop when<br>
> initiating the<br>
> > > drouting module (log bellow)<br>
> > ><br>
> > > Dec 23 15:48:03 asouza-laptop opensips[24702]:<br>
> INFO:dialog:mod_init:<br>
> > > Dialog module - initializinger<br>
> > > Dec 23 15:48:03 asouza-laptop opensips[24702]:<br>
> > > NOTICE:signaling:mod_init: initializing module ...<br>
> > > Dec 23 15:48:03 asouza-laptop opensips[24702]:<br>
> > INFO:drouting:dr_init:<br>
> > > Dynamic-Routing - initializing<br>
> > ><br>
> > > I rolledback the version to 1.6.0, but i need dialplan module<br>
> > running<br>
> > > in my script.<br>
> > ><br>
> > > There are some other level of logs to activate, to try to<br>
> understand<br>
> > > what is happening?<br>
> > ><br>
> > > Regarding the permission module Warnings, I am using the<br>
> permissions<br>
> > > module with the database, because this i did'nt configure the<br>
> > > permission files.<br>
> > ><br>
> > > Thank you very much,<br>
> > ><br>
> > > Antonio Anderson M. Souza<br>
> > > Voice Technology<br>
> > > <a href="http://www.antonioams.com" target="_blank">http://www.antonioams.com</a><br>
> > ><br>
> > ><br>
> > > On Wed, Dec 23, 2009 at 2:59 PM,<br>
> <<a href="mailto:opensipslist@encambio.com" target="_blank">opensipslist@encambio.com</a> <mailto:<a href="mailto:opensipslist@encambio.com" target="_blank">opensipslist@encambio.com</a>><br>
> > <mailto:<a href="mailto:opensipslist@encambio.com" target="_blank">opensipslist@encambio.com</a><br>
> <mailto:<a href="mailto:opensipslist@encambio.com" target="_blank">opensipslist@encambio.com</a>>><br>
> > > <mailto:<a href="mailto:opensipslist@encambio.com" target="_blank">opensipslist@encambio.com</a><br>
> <mailto:<a href="mailto:opensipslist@encambio.com" target="_blank">opensipslist@encambio.com</a>><br>
> > <mailto:<a href="mailto:opensipslist@encambio.com" target="_blank">opensipslist@encambio.com</a><br>
> <mailto:<a href="mailto:opensipslist@encambio.com" target="_blank">opensipslist@encambio.com</a>>>>> wrote:<br>
> > ><br>
> > ><br>
> > > Hello Antonio,<br>
> > ><br>
> > > An mer., déc 23, 2009, Antonio Anderson M. de Souza<br>
> schrieb:<br>
> > > >I've installed the Opensips 1.6.1 on my Ubuntu 9.10<br>
> 64bits<br>
> > form the<br>
> > > >source, the installation was done without any problem.<br>
> > > ><br>
> > > >Opensips abnormally stops during the initialization<br>
> of Dialplan<br>
> > > >module (follows logs bellow)<br>
> > > ><br>
> > > >Dec 23 13:38:30 asouza-laptop opensips[7233]:<br>
> NOTICE:core:main:<br>
> > > version: opensips 1.6.0-notls (x86_64/linux)<br>
> > > >[...]<br>
> > > >Dec 23 13:38:30 asouza-laptop opensips[7233]:<br>
> > > WARNING:permissions:parse_config_file: file not found:<br>
> > > /usr/local/etc/opensips/permissions.allow<br>
> > > >[...]<br>
> > > >*Dec 23 13:38:30 asouza-laptop opensips[7233]:<br>
> > > INFO:dialplan:mod_init: initializing module...*<br>
> > > ><br>
> > > >The bold line is the last line before the process<br>
> > terminates, but<br>
> > > >there are no error in the initialization process.<br>
> > > ><br>
> > > >Does somebody has some clue about thie problem?<br>
> > > ><br>
> > > What happens if you don't use the dialplan, does the<br>
> process<br>
> > still<br>
> > > terminate in the same place?<br>
> > ><br>
> > > And is the string '1.6.0' an error in your logs or are you<br>
> > sure that<br>
> > > you've compiled the latest release (1.6.1)? I seem to<br>
> > remember that<br>
> > > the debian unstable repository had a problem with version<br>
> > numbers<br>
> > > for a day or so, maybe you really are using the latest<br>
> release.<br>
> > ><br>
> > > Lastly (but probably unimportant) you might first get<br>
> rid of the<br>
> > > warning message. If you are using the permissions<br>
> module then<br>
> > > configure it correctly by placing the file<br>
> 'permissions.allow'<br>
> > > where OpenSIPS expects it.<br>
> > ><br>
> > > Regards,<br>
> > > Brian<br>
> > ><br>
> > > _______________________________________________<br>
> ><br>
><br>
> --<br>
> Bogdan-Andrei Iancu<br>
</div></div>> <a href="http://www.voice-system.ro" target="_blank">www.voice-system.ro</a> <<a href="http://www.voice-system.ro" target="_blank">http://www.voice-system.ro</a>><br>
><br>
><br>
> _______________________________________________<br>
> Users mailing list<br>
> <a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a> <mailto:<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a>><br>
<div>> <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>
</div>> ------------------------------------------------------------------------<br>
<div>><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>
><br>
<br>
<br>
</div>--<br>
<div><div></div><div>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" 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>
</div></div></blockquote></div><br>