[OpenSIPS-Users] problem with init on opensips3.0
    johan de clercq 
    johan at democon.be
       
    Thu Jul  4 03:49:20 EDT 2019
    
    
  
Hi, 
 
This is solved.   The issue was here that in drouting there was an entry not resolving.    
Net result :
1.	The dialplan did not load, I had to do dp_reload after startup. 
2.	The mysql connection in the startup connection timed out. 
 
@dev: maybe this should be added in the documentation of the module drouting.  I do agree that it is evident that they should resolve. However, an issue like this is pretty damn hard to troubleshoot.   So a little remark on this in the documentation could help. 
 
Best regards, 
 
From: Johan De Clercq <Johan at democon.be> 
Sent: Tuesday, June 25, 2019 5:07 PM
To: OpenSIPS users mailling list <users at lists.opensips.org>
Subject: Re: [OpenSIPS-Users] problem with init on opensips3.0
 
Yes, they work form command line. 
 
Op di 25 jun. 2019 om 16:54 schreef Liviu Chircu <liviu at opensips.org <mailto:liviu at opensips.org> >:
Hi Johan,
Just to be 100% sure it's an OpenSIPS problem, can you confirm either:
* the "db_url" credentials work when used with the "mysql" command-line client,
  from the same source IP
* the same "db_url" works with a 2.4 OpenSIPS, from the same source IP
Regards,
Liviu Chircu
OpenSIPS Developer
http://www.opensips-solutions.com
On 22.06.2019 16:43, johan de clercq wrote:
Hello, 
 
Opensips3.0 doesn’t start automatically.    It times out on a remote mysqlconnection.   
 
Jun 22 13:27:09 hendrix /data/opensips/sbin/opensips[1291]: ERROR:db_mysql:db_mysql_connect: driver error(2003): Can't connect to MySQL server on '10.3.0.81' (110 "Connection timed out")
Jun 22 13:27:09 hendrix /data/opensips/sbin/opensips[1291]: ERROR:db_mysql:db_mysql_new_connection: initial connect failed
Jun 22 13:27:09 hendrix /data/opensips/sbin/opensips[1291]: ERROR:core:db_do_init: could not add connection to the pool
Jun 22 13:27:09 hendrix /data/opensips/sbin/opensips[1291]: ERROR:domain:domain_db_init: Cannot initialize database connection
Jun 22 13:27:09 hendrix /data/opensips/sbin/opensips[1291]: ERROR:core:init_mod: failed to initialize module domain
Jun 22 13:27:09 hendrix /data/opensips/sbin/opensips[1291]: ERROR:core:main: error while initializing modules
 
With 2.4, the problem was not there. Please advice on how I need to fix this. 
 
 
 
Johan De Clercq, Managing Director
Democon bvba - Ooigemstraat 41 - 8780 Oostrozebeke
Tel +3256980990 – GSM +32478720104
 
 
_______________________________________________
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 <mailto:Users at lists.opensips.org> 
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20190704/37f1e9a9/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 15602 bytes
Desc: not available
URL: <http://lists.opensips.org/pipermail/users/attachments/20190704/37f1e9a9/attachment-0001.png>
    
    
More information about the Users
mailing list