HI Franz,


I have checked port status using following command and it returned no output


root@server:~# netstat -lptu | grep -i 8080
root@server:~# netstat -lptu
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name
tcp        0      0 *:sunrpc                *:*                     LISTEN      401/rpcbind
tcp        0      0 *:55285                 *:*                     LISTEN      410/rpc.statd
tcp        0      0 *:ssh                   *:*                     LISTEN      427/sshd
tcp        0      0 localhost:smtp          *:*                     LISTEN      1244/exim4
tcp        0      0 localhost:6010          *:*                     LISTEN      1453/1
tcp        0      0 *:mysql                 *:*                     LISTEN      891/mysqld
tcp6       0      0 [::]:sunrpc             [::]:*                  LISTEN      401/rpcbind
tcp6       0      0 [::]:ssh                [::]:*                  LISTEN      427/sshd
tcp6       0      0 ::1:smtp                [::]:*                  LISTEN      1244/exim4
tcp6       0      0 ::1:6010                [::]:*                  LISTEN      1453/1
tcp6       0      0 [::]:35432              [::]:*                  LISTEN      410/rpc.statd
udp        0      0 *:1000                  *:*                                 401/rpcbind
udp        0      0 localhost:1010          *:*                                 410/rpc.statd
udp        0      0 *:bootpc                *:*                                 368/dhclient
udp        0      0 *:sunrpc                *:*                                 401/rpcbind
udp        0      0 server.net1.test:ntp    *:*                                 946/ntpd
udp        0      0 localhost:ntp           *:*                                 946/ntpd
udp        0      0 *:ntp                   *:*                                 946/ntpd
udp        0      0 *:53944                 *:*                                 410/rpc.statd
udp        0      0 *:32019                 *:*                                 368/dhclient
udp6       0      0 [::]:1000               [::]:*                              401/rpcbind
udp6       0      0 [::]:15924              [::]:*                              368/dhclient
udp6       0      0 [::]:sunrpc             [::]:*                              401/rpcbind
udp6       0      0 fe80::f816:3eff:fe2:ntp [::]:*                              946/ntpd
udp6       0      0 ::1:ntp                 [::]:*                              946/ntpd
udp6       0      0 [::]:ntp                [::]:*                              946/ntpd
udp6       0      0 [::]:44928              [::]:*                              410/rpc.statd




Regards,

Raghu


From: Franz Edler <franz.edler@kabsi.at>
Sent: Wednesday, December 20, 2017 2:17:05 PM
To: Ponnam Raghavender Goud (NEPC); 'Kranti Kumar'; 'Kamailio (SER) - Users Mailing List'
Cc: 'raghavender goud'
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**

But the error log „Cannot assign requested address:8080” says different.

There must be a process which already uses port 8080. Check with a proper Linux command.

 

Franz

 

Von: ponnam.goud@wipro.com [mailto:ponnam.goud@wipro.com]
Gesendet: Mittwoch, 20. Dezember 2017 08:51
An: 'Franz Edler' <franz.edler@kabsi.at>; 'Kranti Kumar' <krantikumara@gmail.com>; 'Kamailio (SER) - Users Mailing List' <sr-users@lists.sip-router.org>
Cc: 'raghavender goud' <raghu6519@gmail.com>
Betreff: RE: Kamailio-IMS VM image issue

 

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@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@kabsi.at]
Sent: Wednesday, December 20, 2017 2:01 AM
To: 'Kranti Kumar' <krantikumara@gmail.com>; 'Kamailio (SER) - Users Mailing List' <sr-users@lists.sip-router.org>
Cc: 'raghavender goud' <raghu6519@gmail.com>; Ponnam Raghavender Goud (NEPC) <ponnam.goud@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@gmail.com]
Gesendet: Dienstag, 19. Dezember 2017 17:35
An: Kamailio (SER) - Users Mailing List <sr-users@lists.sip-router.org>; franz.edler@technikum-wien.at; franz.edler@kabsi.at
Cc: raghavender goud <raghu6519@gmail.com>; ponnam.goud@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/

 

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
______________________________________________________________________


______________________________________________________________________
This email has been scanned by the Symantec Email Security.cloud service.
For more information please visit http://www.symanteccloud.com
______________________________________________________________________
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
______________________________________________________________________