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

2010-01-04 Thread Antonio Anderson M. de Souza
Bogdan,

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.

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.

Could somebody take a look in the stracelog to help me?

Antonio Anderson M. Souza
Voice Technology
http://www.antonioams.com


On Wed, Dec 30, 2009 at 5:17 PM, Antonio Anderson M. de Souza 
antonio...@gmail.com wrote:

 Bogdan,

 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.

 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.

 Could somebody take a look in the stracelog to help me?


 Best regards,

 Antonio Anderson M. Souza
 Voice Technology
 http://www.antonioams.com


 On Tue, Dec 29, 2009 at 12:38 PM, Bogdan-Andrei Iancu 
 bog...@voice-system.ro wrote:

 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
  bog...@voice-system.ro mailto:bog...@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:
   

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

2010-01-04 Thread Bogdan-Andrei Iancu
Hi Antonio,

The relevant part is:

14752 socket(PF_FILE, SOCK_STREAM, 0)   = 5
14752 fcntl(5, F_SETFL, O_RDONLY)   = 0
14752 fcntl(5, F_GETFL) = 0x2 (flags O_RDWR)
14752 connect(5, {sa_family=AF_FILE, 
path=/var/run/mysqld/mysqld.sock}, 110) = 0
14752 setsockopt(5, SOL_SOCKET, SO_RCVTIMEO, 
\2003\341\1\0\0\0\0\0\0\0\0\0\0\0\0, 16) = 0
14752 setsockopt(5, SOL_SOCKET, SO_SNDTIMEO, 
\2003\341\1\0\0\0\0\0\0\0\0\0\0\0\0, 16) = 0
14752 setsockopt(5, SOL_IP, IP_TOS, [8], 4) = -1 EOPNOTSUPP (Operation 
not supported)
14752 setsockopt(5, SOL_SOCKET, SO_KEEPALIVE, [1], 4) = 0
14752 read(5, =\0\0\0\n5.1.37-1ubuntu5\0\223\1\0\00076JP4Q|..., 16384) 
= 65
14752 write(5, 
i\0\0\1\215\242\3\200\0\...@\10\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0..., 
77) = 77
14752 read(5, O\0\0\2\377\24\4#42000Access denied for u..., 16384) = 83

Seams mysql refuses the a connection from opensips.  Are you sure you 
properly configured the db_url for all the module that requires DB 
connection ?

Regards,
Bogdan

Antonio Anderson M. de Souza wrote:
 Bogdan,

 I started the Opensips with debug=6 and there weren't changes on the 
 initialization log, I've used the strace [1], 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.

 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.

 Could somebody take a look in the stracelog to help me?

 [1] - 
 http://dl.dropbox.com/u/2134454/strace-opensips-crashs-ubuntu9.10-64.log.tar.gz

 Antonio Anderson M. Souza
 Voice Technology
 http://www.antonioams.com
 

 ___
 Users mailing list
 Users@lists.opensips.org
 http://lists.opensips.org/cgi-bin/mailman/listinfo/users
   


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


___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


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

2010-01-04 Thread Antonio Anderson M. de Souza
Bogdan,

Thank you very much, the problem was because I forgot to add the module
dialplan in the modparam db_url:

Before:
modparam(domain|alias_db|auth_db|usrloc|drouting,db_url,
mysql://user:u...@localhost/db)

After:
modparam(domain|alias_db|auth_db|usrloc|drouting*|dialplan*,db_url,
mysql://user:u...@localhost/db)

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?

An improvement in the Script Compiler (opensips -c) could be to check if
the db_url is properly set, what do you think?

Best regards,

Antonio Anderson M. Souza
Voice Technology
http://www.antonioams.com


On Mon, Jan 4, 2010 at 9:22 AM, Bogdan-Andrei Iancu
bog...@voice-system.rowrote:

 Hi Antonio,

 The relevant part is:

 14752 socket(PF_FILE, SOCK_STREAM, 0)   = 5
 14752 fcntl(5, F_SETFL, O_RDONLY)   = 0
 14752 fcntl(5, F_GETFL) = 0x2 (flags O_RDWR)
 14752 connect(5, {sa_family=AF_FILE,
 path=/var/run/mysqld/mysqld.sock}, 110) = 0
 14752 setsockopt(5, SOL_SOCKET, SO_RCVTIMEO,
 \2003\341\1\0\0\0\0\0\0\0\0\0\0\0\0, 16) = 0
 14752 setsockopt(5, SOL_SOCKET, SO_SNDTIMEO,
 \2003\341\1\0\0\0\0\0\0\0\0\0\0\0\0, 16) = 0
 14752 setsockopt(5, SOL_IP, IP_TOS, [8], 4) = -1 EOPNOTSUPP (Operation
 not supported)
 14752 setsockopt(5, SOL_SOCKET, SO_KEEPALIVE, [1], 4) = 0
 14752 read(5, =\0\0\0\n5.1.37-1ubuntu5\0\223\1\0\00076JP4Q|..., 16384)
 = 65
 14752 write(5,
 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...,
 77) = 77
 14752 read(5, O\0\0\2\377\24\4#42000Access denied for u..., 16384) = 83

 Seams mysql refuses the a connection from opensips.  Are you sure you
 properly configured the db_url for all the module that requires DB
 connection ?

 Regards,
 Bogdan

 Antonio Anderson M. de Souza wrote:
  Bogdan,
 
  I started the Opensips with debug=6 and there weren't changes on the
  initialization log, I've used the strace [1], 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.
 
  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.
 
  Could somebody take a look in the stracelog to help me?
 
  [1] -
 
 http://dl.dropbox.com/u/2134454/strace-opensips-crashs-ubuntu9.10-64.log.tar.gz
 
  Antonio Anderson M. Souza
  Voice Technology
  http://www.antonioams.com
  
 
  ___
  Users mailing list
  Users@lists.opensips.org
  http://lists.opensips.org/cgi-bin/mailman/listinfo/users
 


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


 ___
 Users mailing list
 Users@lists.opensips.org
 http://lists.opensips.org/cgi-bin/mailman/listinfo/users

___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


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

2010-01-04 Thread Bogdan-Andrei Iancu
Hi Antonio,

It should not work on any OSmaybe your mysql setups are different on 
the OSs you tested. NOTE that db_url has a default value which may work 
if the DB was created with default access users.

Regards,
Bogdan

Antonio Anderson M. de Souza wrote:
 Bogdan,

 Thank you very much, the problem was because I forgot to add the 
 module dialplan in the modparam db_url:

 Before:
 modparam(domain|alias_db|auth_db|usrloc|drouting,db_url, 
 mysql://user:u...@localhost/db)

 After:
 modparam(domain|alias_db|auth_db|usrloc|drouting*|dialplan*,db_url, 
 mysql://user:u...@localhost/db)

 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?

 An improvement in the Script Compiler (opensips -c) could be to 
 check if the db_url is properly set, what do you think?

 Best regards,

 Antonio Anderson M. Souza
 Voice Technology
 http://www.antonioams.com


 On Mon, Jan 4, 2010 at 9:22 AM, Bogdan-Andrei Iancu 
 bog...@voice-system.ro mailto:bog...@voice-system.ro wrote:

 Hi Antonio,

 The relevant part is:

 14752 socket(PF_FILE, SOCK_STREAM, 0)   = 5
 14752 fcntl(5, F_SETFL, O_RDONLY)   = 0
 14752 fcntl(5, F_GETFL) = 0x2 (flags O_RDWR)
 14752 connect(5, {sa_family=AF_FILE,
 path=/var/run/mysqld/mysqld.sock}, 110) = 0
 14752 setsockopt(5, SOL_SOCKET, SO_RCVTIMEO,
 \2003\341\1\0\0\0\0\0\0\0\0\0\0\0\0, 16) = 0
 14752 setsockopt(5, SOL_SOCKET, SO_SNDTIMEO,
 \2003\341\1\0\0\0\0\0\0\0\0\0\0\0\0, 16) = 0
 14752 setsockopt(5, SOL_IP, IP_TOS, [8], 4) = -1 EOPNOTSUPP (Operation
 not supported)
 14752 setsockopt(5, SOL_SOCKET, SO_KEEPALIVE, [1], 4) = 0
 14752 read(5, =\0\0\0\n5.1.37-1ubuntu5\0\223\1\0\00076JP4Q|...,
 16384)
 = 65
 14752 write(5,
 
 i\0\0\1\215\242\3\200\0\...@\10\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0...,
 77) = 77
 14752 read(5, O\0\0\2\377\24\4#42000Access denied for u...,
 16384) = 83

 Seams mysql refuses the a connection from opensips.  Are you sure you
 properly configured the db_url for all the module that requires DB
 connection ?

 Regards,
 Bogdan

 Antonio Anderson M. de Souza wrote:
  Bogdan,
 
  I started the Opensips with debug=6 and there weren't changes on the
  initialization log, I've used the strace [1], 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.
 
  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.
 
  Could somebody take a look in the stracelog to help me?
 



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


___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


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

2009-12-29 Thread Bogdan-Andrei Iancu
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 
 bog...@voice-system.ro mailto:bog...@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
  ===
  aso...@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
  aso...@asouza-laptop:/usr/local/etc/opensips$ ps ax | grep opensips
  19639 pts/0S+ 0:00 grep --color=auto opensips
  aso...@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
  bog...@voice-system.ro mailto:bog...@voice-system.ro
 mailto:bog...@voice-system.ro mailto:bog...@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:

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

2009-12-28 Thread Antonio Anderson M. de Souza
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 bog...@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
  ===
  aso...@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
  aso...@asouza-laptop:/usr/local/etc/opensips$ ps ax | grep opensips
  19639 pts/0S+ 0:00 grep --color=auto opensips
  aso...@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
  bog...@voice-system.ro mailto:bog...@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 

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

2009-12-27 Thread Bogdan-Andrei Iancu
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
 ===
 aso...@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
 aso...@asouza-laptop:/usr/local/etc/opensips$ ps ax | grep opensips
 19639 pts/0S+ 0:00 grep --color=auto opensips
 aso...@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 
 bog...@voice-system.ro mailto:bog...@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
  

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

2009-12-26 Thread Antonio Anderson M. de Souza
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
===
aso...@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
aso...@asouza-laptop:/usr/local/etc/opensips$ ps ax | grep opensips
19639 pts/0S+ 0:00 grep --color=auto opensips
aso...@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 bog...@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, opensipsl...@encambio.com
  mailto:opensipsl...@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 

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

2009-12-24 Thread Bogdan-Andrei Iancu
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, opensipsl...@encambio.com 
 mailto:opensipsl...@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

 ___
 Users mailing list
 Users@lists.opensips.org mailto:Users@lists.opensips.org
 http://lists.opensips.org/cgi-bin/mailman/listinfo/users


 

 ___
 Users mailing list
 Users@lists.opensips.org
 http://lists.opensips.org/cgi-bin/mailman/listinfo/users
   


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


___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


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

2009-12-23 Thread opensipslist

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

___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


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

2009-12-23 Thread Antonio Anderson M. de Souza
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, opensipsl...@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

 ___
 Users mailing list
 Users@lists.opensips.org
 http://lists.opensips.org/cgi-bin/mailman/listinfo/users

___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users