[SR-Users] Kamailio-IMS VM image issue

ponnam.goud at wipro.com ponnam.goud at wipro.com
Wed Dec 20 08:51:21 CET 2017


Hi Franz,

Thank you so much for the reply.

We have verified mysql db permissions, could not find issue with access permissions. Following is the output on console when we try to execute hss.sh script

root at server:~# ./hss.sh
Building Classpath
Classpath is lib/xml-apis.jar:lib/xercesImpl.jar:lib/xerces-2.4.0.jar:lib/xalan-2.4.0.jar:lib/tomcat-util.jar:lib/tomcat-http.jar:lib/tomcat-coyote.jar:lib/struts.jar:lib/servlets-default.jar:lib/servlet-api.jar:lib/naming-resources.jar:lib/naming-factory.jar:lib/mysql-connector-java-3.1.12-bin.jar:lib/mx4j-3.0.1.jar:lib/log4j.jar:lib/junit.jar:lib/junitee.jar:lib/jta.jar:lib/jsp-api.jar:lib/jmx.jar:lib/jdp.jar:lib/jasper-runtime.jar:lib/jasper-compiler-jdt.jar:lib/jasper-compiler.jar:lib/hibernate3.jar:lib/FHoSS.jar:lib/ehcache-1.1.jar:lib/dom4j-1.6.1.jar:lib/commons-validator.jar:lib/commons-modeler.jar:lib/commons-logging.jar:lib/commons-logging-1.0.4.jar:lib/commons-lang.jar:lib/commons-fileupload.jar:lib/commons-el.jar:lib/commons-digester.jar:lib/commons-collections-3.1.jar:lib/commons-beanutils.jar:lib/cglib-2.1.3.jar:lib/catalina-optional.jar:lib/catalina.jar:lib/c3p0-0.9.1.jar:lib/base64.jar:lib/asm.jar:lib/asm-attrs.jar:lib/antlr-2.7.6.jar::log4j.properties:..
2017-12-20 08:15:58,551 INFO  de.fhg.fokus.hss.main.TomcatServer - startTomcat Tomcat-Server is started.
2017-12-20 08:16:10,188 ERROR org.apache.coyote.http11.Http11Protocol - init Error initializing endpoint
java.net.BindException: Cannot assign requested address:8080
        at org.apache.tomcat.util.net.PoolTcpEndpoint.initEndpoint(PoolTcpEndpoint.java:297)
        at org.apache.coyote.http11.Http11Protocol.init(Http11Protocol.java:142)
        at org.apache.catalina.connector.Connector.initialize(Connector.java:928)
        at org.apache.catalina.startup.Embedded.start(Embedded.java:794)
        at de.fhg.fokus.hss.main.TomcatServer.startTomcat(TomcatServer.java:128)
        at de.fhg.fokus.hss.main.HSSContainer.<init>(HSSContainer.java:74)
        at de.fhg.fokus.hss.main.HSSContainer.main(HSSContainer.java:110)
2017-12-20 08:16:10,291 ERROR de.fhg.fokus.hss.main.HSSContainer - <init> Exception occured during starting Tomcat!
Exiting from HSS...
LifecycleException:  Protocol handler initialization failed: java.net.BindException: Cannot assign requested address:8080
        at org.apache.catalina.connector.Connector.initialize(Connector.java:930)
        at org.apache.catalina.startup.Embedded.start(Embedded.java:794)
        at de.fhg.fokus.hss.main.TomcatServer.startTomcat(TomcatServer.java:128)
        at de.fhg.fokus.hss.main.HSSContainer.<init>(HSSContainer.java:74)
        at de.fhg.fokus.hss.main.HSSContainer.main(HSSContainer.java:110)

All servers(HSS, PCSCF, SCSCF, ICSCF) can communicate with each other and on HSS server no other service is using port 8080. Could you please guide us to resolve this issue?


Regards,
Raghavender

From: Franz Edler [mailto:franz.edler at kabsi.at]
Sent: Wednesday, December 20, 2017 2:01 AM
To: 'Kranti Kumar' <krantikumara at gmail.com>; 'Kamailio (SER) - Users Mailing List' <sr-users at lists.sip-router.org>
Cc: 'raghavender goud' <raghu6519 at gmail.com>; Ponnam Raghavender Goud (NEPC) <ponnam.goud at wipro.com>
Subject: AW: Kamailio-IMS VM image issue


** This mail has been sent from an external source. Treat hyperlinks and attachments in this email with caution**
Hi Kranti,

you obviously have an error in the mysql configuration.
When you changed some parameters in the architecture you have to adapt also the configuration parameters.
Look at the access permissions for MySQL.

Von: Kranti Kumar [mailto:krantikumara at gmail.com]
Gesendet: Dienstag, 19. Dezember 2017 17:35
An: Kamailio (SER) - Users Mailing List <sr-users at lists.sip-router.org<mailto:sr-users at lists.sip-router.org>>; franz.edler at technikum-wien.at<mailto:franz.edler at technikum-wien.at>; franz.edler at kabsi.at<mailto:franz.edler at kabsi.at>
Cc: raghavender goud <raghu6519 at gmail.com<mailto:raghu6519 at gmail.com>>; ponnam.goud at wipro.com<mailto:ponnam.goud at wipro.com>
Betreff: Kamailio-IMS VM image issue


Hi,

I’m trying to build a testbed using the VMware image you kindly have shared here: https://www.kamailio.org/w/2016/02/kamailio-ims-getting-started-box/<https://clicktime.symantec.com/a/1/vpQmnO-RuJyqB1aW492eOeLkb1WD1yyoCCaN-pcaQNc=?d=ykOs8u7JL32iPUGjfsor_XlAGy1tu_tt9awv5rl4IdG-aV0KJuMXpSAG3obTSSdyQL37li5wfhwdNcTVCPfUU99HTQ9s1wCvZ_M8UZpeK_CxUGSpsAOSkKiKR7UZXVvrhnIjnXgtr7e8AyEGCxSP0T_KJwU6EfQs1WIIhLPpP47PdHttCPcMXBJN9GCDGGKE9e_UA7TMVpoExuFNCwWlUw3iDL22PuFwazBwf_k7CCbCf2_AuBsinctSCOgbxeoJ9VAvYxys0doiWR-JIxNlYAAsgR9-h7flKI6P222gS8J20SexdKIysi6Q4OwjcmVgppRlgoH_PwlA5LiIHm5z_odRqrbJQCkzodKqDz_N4yVscdr1ycoXvkzPZwTT5-zDA7awxZMiHKrRHAm2Ov1yTOrQRmnT&u=https%3A%2F%2Fwww.kamailio.org%2Fw%2F2016%2F02%2Fkamailio-ims-getting-started-box%2F>



My configuration details:



HSS - 10.200.8.171 (VM1)

PCSCF - 10.200.8.175 (VM2)

ICSCF - 10.200.8.178 (VM3)

SCSCF - 10.200.8.181 (VM4)



While issuing the command ./hss.sh and kamailio -f /usr/local/etc/kamailio/kamailio-pcscf.cfg I am getting errors. Please find the attached log file for the same.

"0(1786) ERROR: db_mysql [km_my_con.c:124]: db_mysql_new_connection(): driver error: Access denied for user 'pcscf'@'pcscf.net1.test' (using password: YES)
 0(1786) ERROR: <core> [db.c:318]: db_do_init2(): could not add connection to the pool 0(1786) ERROR: ims_usrloc_pcscf [usrloc_db.c:79]: init_db(): unable to connect to the database
 0(1786) ERROR: ims_usrloc_pcscf [ul_mod.c:203]: mod_init(): Error initializing db connection"

I am doubting about my Zone files. Could you please check zone file once. Please find the attached zone files.

Thank you so much in advance



Regards,

-kranti



The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. www.wipro.com

______________________________________________________________________
This email has been scanned by the Symantec Email Security.cloud service.
For more information please visit http://www.symanteccloud.com
______________________________________________________________________
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20171220/8950c97c/attachment.html>


More information about the sr-users mailing list