Hi Franz,
This error is now resolved, we had to modify IP in DiameterPeerHss.xml after
that error is not seen.
hss.sh script is running without any errors, could see following message
de.fhg.fokus.hss.main.TomcatServer - startTomcat WebConsole of FHoSS was
started !
ICSCF is also working fine.
however still we are facing couple of issues
1. we are unable to access console (10.200..8.171:8080), not sure what could
be the issue here.
2. could not start PCSCF , following are the error messages
0(1337) 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(1337) ERROR: <core> [db.c:318]: db_do_init2(): could not add connection to
the pool 0(1337) ERROR: ims_usrloc_pcscf [usrloc_db.c:79]: init_db(): unable to
connect to the database
0(1337) ERROR: ims_usrloc_pcscf [ul_mod.c:203]: mod_init(): Error initializing
db connection
0(1337) ERROR: <core> [sr_module.c:962]: init_mod(): Error while initializing
module ims_usrloc_pcscf (/usr/local/lib64/kamailio/modules/ims_usrloc_pcscf.so)
ERROR: error while initializing modules
could you please help?
Regards,
Raghu
________________________________
From: Ponnam Raghavender Goud (NEPC)
Sent: Wednesday, December 20, 2017 4:19:52 PM
To: Franz Edler; 'Kranti Kumar'; 'Kamailio (SER) - Users Mailing List'
Cc: 'raghavender goud'
Subject: Re: Kamailio-IMS VM image issue
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 <[email protected]>
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: [email protected] [mailto:[email protected]]
Gesendet: Mittwoch, 20. Dezember 2017 08:51
An: 'Franz Edler' <[email protected]>; 'Kranti Kumar'
<[email protected]>; 'Kamailio (SER) - Users Mailing List'
<[email protected]>
Cc: 'raghavender goud' <[email protected]>
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:[email protected]]
Sent: Wednesday, December 20, 2017 2:01 AM
To: 'Kranti Kumar' <[email protected]<mailto:[email protected]>>;
'Kamailio (SER) - Users Mailing List'
<[email protected]<mailto:[email protected]>>
Cc: 'raghavender goud' <[email protected]<mailto:[email protected]>>;
Ponnam Raghavender Goud (NEPC)
<[email protected]<mailto:[email protected]>>
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:[email protected]]
Gesendet: Dienstag, 19. Dezember 2017 17:35
An: Kamailio (SER) - Users Mailing List
<[email protected]<mailto:[email protected]>>;
[email protected]<mailto:[email protected]>;
[email protected]<mailto:[email protected]>
Cc: raghavender goud <[email protected]<mailto:[email protected]>>;
[email protected]<mailto:[email protected]>
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<https://clicktime.symantec.com/a/1/Rvb8fi9LVrGv6fG1t5PWga-9rnNBWOvqSbZxOm2Z9KA=?d=Vczl2ZCmYiDsOGgqdQt7Un_p4QctjswSeWPTlr6zvpNOr4rha56hcEDdMu6gR8blhtFZ505yTa3vy2KBbNflVDNunxXaaAqoECb1uaJbVRFWC_T0x5yXSlgExS6Zj9hrdj5JH4RjyQaaSXY8wcoNLxdDDY0nfex4ZjNFdoX35KpOnr7TYiBeAAaC3JGgOz3K0Gn9yHE4dmdAc8gMdMWXkCOAzF7dUi0vsWPNBeu9F9rqGNksBz4lKCvzzxt1GPaGTujQ1N-U-OM89RlTOak7dyUFySc9Cnqd03oEgTSY2lEETkQk8ma4GB9IVcEScU4OB5scQpxvIVOyL_xKcJ3KmqSpVZLKgeAijphil-8KJAfY&u=http%3A%2F%2Fwww.wipro.com>
______________________________________________________________________
This email has been scanned by the Symantec Email Security.cloud service.
For more information please visit
http://www.symanteccloud.com<https://clicktime.symantec.com/a/1/ARvQAc4cJbxB7IS1kSDAwgjOBFe3U4jM3gWxxUegzzw=?d=Vczl2ZCmYiDsOGgqdQt7Un_p4QctjswSeWPTlr6zvpNOr4rha56hcEDdMu6gR8blhtFZ505yTa3vy2KBbNflVDNunxXaaAqoECb1uaJbVRFWC_T0x5yXSlgExS6Zj9hrdj5JH4RjyQaaSXY8wcoNLxdDDY0nfex4ZjNFdoX35KpOnr7TYiBeAAaC3JGgOz3K0Gn9yHE4dmdAc8gMdMWXkCOAzF7dUi0vsWPNBeu9F9rqGNksBz4lKCvzzxt1GPaGTujQ1N-U-OM89RlTOak7dyUFySc9Cnqd03oEgTSY2lEETkQk8ma4GB9IVcEScU4OB5scQpxvIVOyL_xKcJ3KmqSpVZLKgeAijphil-8KJAfY&u=http%3A%2F%2Fwww.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
_____________________________________________________________________________________________________________________
Kamailio (SER) - Users Mailing List
[email protected]
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users