[OpenSIPS-Users] Opensips 1.6.1 dos not start on Ubuntu 9.1 64bits

Bogdan-Andrei Iancu bogdan at voice-system.ro
Tue Dec 29 15:38:07 CET 2009


Hi Antonio,

try the highest debug level (6) to see if you get something more - also 
try to start opensips under strace .

Regards,
Bogdan

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


-- 
Bogdan-Andrei Iancu
www.voice-system.ro




More information about the Users mailing list