Hi Franz,
Sorry for troubling you again, But thank you so much for your response.
I have modified as suggested, still getting same error.
Please find attached files and suggest me any more changes has to be done.
Thanks in advance!!
Regards,
Sainath
From: Franz Edler [mailto:franz.edler@technikum-wien.at]
Sent: Monday, February 1, 2016 11:59 PM
To: Sainath Ellendula (NEP) <sainath.ellendula@wipro.com>
Cc: basitstar@hotmail.com; sr-users@lists.sip-router.org
Subject: RE: Re:[SR-Users] Kamailio IMS deployment
Hi Sainath,
it is always good to read the error-messages .
The
ERROR de.fhg.fokus.diameter.DiameterPeer.peer.StateMachine - I_Snd_Conn_Req StateMachine: Peer icscf.net1.test:3869 not responding to connection attempt
shows that there is no connectivity towards iscsf and scscf. This is typically the case when you start HSS and icscf and scscf are not already running.
This errors you will always have because either you start HSS first (see error above) or you start icscf and scscf first. Then you will get similar error messages
from icscf and scscf.
The
ERROR: cdp [peerstatemachine.c:635]: I_Snd_CER(): I_Snd_CER(): Error on finding local host address > Socket operation on non-socket
shows that the local host address cannot be found. Look into the xml-files that define the parameters for the diameter connection (icscf.xml and scscf.xml).
Both files define the FQDN of the diameter peer. I guess you did not modify the DNS file when you have changed the IP-address of I-CSCF and S-CSCF.
Modify the zone-files accordingly. Then I expect that the error will disappear.
The firs warning
WARN org.apache.catalina.connector.MapperListener - registerEngine Unknown default host: 10.0.0.9
I do not know, what it means. It is not critical. I live with that since the beginning.
Maybe you can explain it to me sometimes . I am not a Tomcat expert.
BR Franz
From:
sainath.ellendula@wipro.com [mailto:sainath.ellendula@wipro.com]
Sent: Monday, February 1, 2016 8:22 AM
To: franz.edler@technikum-wien.at
Cc: basitstar@hotmail.com;
sr-users@lists.sip-router.org
Subject: RE: Re:[SR-Users] Kamailio IMS deployment
Hi Franz,
Thank you so much for your response.
As suggested modified changes and don't observe connection refused error.
After modification few more errors observed. Detailed errors as below.
10.0.0.9
/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:..
2016-02-01 12:09:28,371 INFO de.fhg.fokus.hss.main.TomcatServer - startTomcat Tomcat-Server is started.
2016-02-01 12:09:29,301 WARN org.apache.catalina.connector.MapperListener - registerEngine Unknown default host: 10.0.0.9
2016-02-01 12:09:30,294 INFO de.fhg.fokus.hss.web.servlet.ResponseFilter - init Response Filter Initialisation!
2016-02-01 12:09:31,251 INFO de.fhg.fokus.hss.main.TomcatServer - startTomcat WebConsole of FHoSS was started !
2016-02-01 12:09:34,813 WARN org.hibernate.impl.SessionFactoryObjectFactory - addInstance InitialContext did not implement EventContext
2016-02-01 12:09:34,847 INFO de.fhg.fokus.diameter.DiameterPeer.DiameterPeer - <init> Bean style constructor called, don't forget to configure!
2016-02-01 12:09:34,851 INFO de.fhg.fokus.diameter.DiameterPeer.DiameterPeer - configure FQDN: hss.net1.test
2016-02-01 12:09:34,852 INFO de.fhg.fokus.diameter.DiameterPeer.DiameterPeer - configure Realm: net1.test
2016-02-01 12:09:34,853 INFO de.fhg.fokus.diameter.DiameterPeer.DiameterPeer - configure Vendor_ID : 10415
2016-02-01 12:09:34,854 INFO de.fhg.fokus.diameter.DiameterPeer.DiameterPeer - configure Product Name: JavaDiameterPeer
2016-02-01 12:09:34,854 INFO de.fhg.fokus.diameter.DiameterPeer.DiameterPeer - configure AcceptUnknwonPeers: true
2016-02-01 12:09:34,855 INFO de.fhg.fokus.diameter.DiameterPeer.DiameterPeer - configure DropUnknownOnDisconnect: true
2016-02-01 12:09:34,864 INFO de.fhg.fokus.hss.main.HSSContainer - waitForExit
Type "exit" to stop FHoSS!
2016-02-01 12:09:34,873 ERROR de.fhg.fokus.diameter.DiameterPeer.peer.StateMachine - I_Snd_Conn_Req StateMachine: Peer icscf.net1.test:3869
not responding to connection attempt
2016-02-01 12:09:34,876 ERROR de.fhg.fokus.diameter.DiameterPeer.peer.StateMachine - I_Snd_Conn_Req StateMachine: Peer scscf.net1.test:3870
not responding to connection attempt
10.0.0.10
root@server:~# kamailio -f /usr/local/etc/kamailio/kamailio-pcscf.cfg
loading modules under config path: /usr/local/lib64/kamailio/modules/
0(1856) INFO: <core> [sctp_core.c:75]: sctp_core_check_support(): SCTP API not enabled - if you want to use it, load sctp module
Listening on
udp: pcscf.net1.test [10.0.0.10]:4060
Aliases:
*: pcscf.net1.test:*
WARNING: no fork mode
0(1856) INFO: rr [../outbound/api.h:54]: ob_load_api(): Failed to import bind_ob
0(1856) INFO: rr [rr_mod.c:174]: mod_init(): outbound module not available
0(1856) INFO: ims_usrloc_pcscf [hslot.c:62]: ul_init_locks(): locks array size 512
0(1856) INFO: <core> [udp_server.c:150]: probe_max_receive_buffer(): SO_RCVBUF is initially 212992
0(1856) INFO: <core> [udp_server.c:200]: probe_max_receive_buffer(): SO_RCVBUF is finally 425984
0(1856) WARNING: ims_usrloc_pcscf [usrloc_db.c:59]: connect_db(): DB connection already open... continuing
0(1856) INFO: <script>: [REGISTER] from [sip:alice@net1.test] to [sip:alice@net1.test]
0(1856) ERROR: <script>: REGISTER (sip:alice@net1.test (10.0.0.8:55859) to
sip:alice@net1.test, aaeacddd-376e-4a63-5745-2757d1b9a29d)
10.0.0.11
9(1870) WARNING: cdp [tcp_accept.c:123]: create_socket(): create_socket(): Trying to open/bind/listen on 10.0.0.11 port 3869
9(1870) WARNING: cdp [tcp_accept.c:148]: create_socket(): create_socket(): Successful socket open/bind/listen on 10.0.0.11 port 3869
9(1870) INFO: cdp [acceptor.c:96]: acceptor_process(): Acceptor opened sockets. Entering accept loop ...
10(1871) INFO: cdp [peermanager.c:280]: peer_timer(): peer_timer(): Peer hss.net1.test State 0
10(1871) INFO: cdp [peerstatemachine.c:526]: I_Snd_Conn_Req(): I_Snd_Conn_Req(): Peer hss.net1.test
10(1871) WARNING: cdp [receiver.c:864]: peer_connect(): peer_connect(): Trying to connect to 10.0.0.9 port 3868
10(1871) INFO: cdp [receiver.c:932]: peer_connect(): peer_connect(): Peer hss.net1.test:3868 connected
8(1869) ERROR: cdp [peerstatemachine.c:635]: I_Snd_CER(): I_Snd_CER(): Error on finding local host address > Socket operation on non-socket
10(1871) INFO: cdp [peermanager.c:280]: peer_timer(): peer_timer(): Peer hss.net1.test State 6
10(1871) WARNING: cdp [peermanager.c:315]: peer_timer(): Inactivity on peer [hss.net1.test], sending DWR... - if we don't get a reply, the peer will be closed
10.0.0.12
9(1883) WARNING: cdp [tcp_accept.c:123]: create_socket(): create_socket(): Trying to open/bind/listen on 10.0.0.12 port 3870
9(1883) WARNING: cdp [tcp_accept.c:148]: create_socket(): create_socket(): Successful socket open/bind/listen on 10.0.0.12 port 3870
9(1883) INFO: cdp [acceptor.c:96]: acceptor_process(): Acceptor opened sockets. Entering accept loop ...
7(1881) INFO: cdp [receiver.c:445]: receiver_process(): receiver_process(): [] Receiver process doing init on new process...
7(1881) INFO: cdp [receiver.c:450]: receiver_process(): receiver_process(): [] Receiver process starting up...
10(1884) INFO: cdp [peermanager.c:280]: peer_timer(): peer_timer(): Peer hss.net1.test State 0
10(1884) INFO: cdp [peerstatemachine.c:526]: I_Snd_Conn_Req(): I_Snd_Conn_Req(): Peer hss.net1.test
10(1884) WARNING: cdp [receiver.c:864]: peer_connect(): peer_connect(): Trying to connect to 10.0.0.9 port 3868
10(1884) INFO: cdp [receiver.c:932]: peer_connect(): peer_connect(): Peer hss.net1.test:3868 connected
8(1882) ERROR: cdp [peerstatemachine.c:635]: I_Snd_CER(): I_Snd_CER(): Error on finding local host address > Socket operation on non-socket
10(1884) INFO: cdp [peermanager.c:280]: peer_timer(): peer_timer(): Peer hss.net1.test State 6
10(1884) WARNING: cdp [peermanager.c:315]: peer_timer(): Inactivity on peer [hss.net1.test], sending DWR... - if we don't get a reply, the peer will be closed
10(1884) INFO: cdp [peermanager.c:280]: peer_timer(): peer_timer(): Peer hss.net1.test State 6
Could you please guide me here. Any suggestions would be very helpful.
Thanks in advance!!
Regards,
Sainath
-----Original Message-----
From: Franz Edler [mailto:franz.edler@technikum-wien.at]
Sent: Saturday, January 30, 2016 1:27 PM
To: Sainath Ellendula (WT01 - NEP) <sainath.ellendula@wipro.com>;
basitstar@hotmail.com;
sr-users@lists.sip-router.org
Subject: RE: [SR-Users] Kamailio IMS deployment
Hi,
> As suggested, modified the changes in icscf.xml and scscf.xml files, PFA
> modified files.
>
> Still getting few errors ....
Now it seems to be clear to me where the problem might come from:
I have restricted access to mysql server to address 10.0.0.9 only.
You have to change the bind-address statement in /etc/mysql.cnf accordingly.
See:
http://dev.mysql.com/doc/refman/5.7/en/server-options.html#option_mysqld_bind-address
Change the address to "*" or to 0.0.0.0.
BR Franz
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
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