<div><div dir="auto">Hi, i don't know what pcscf is but it's seems to be a privilege issue. </div><div dir="auto"><br></div><div dir="auto">Have you tried this?</div><div dir="auto"><br></div><div dir="auto"><b style="color:rgb(49,49,49);font-size:1rem;word-spacing:1px">    GRANT ALL privileges ON *.* TO  '</b><span style="background-color:rgb(255,255,0)">pcscf'@'pcscf.net1.test' </span><b style="font-size:1rem;color:rgb(49,49,49);word-spacing:1px">IDENTIFIED BY 'passconfigured';</b></div><div dir="auto"><b style="font-size:1rem;color:rgb(49,49,49);word-spacing:1px"><br></b></div><div dir="auto"><b style="font-size:1rem;color:rgb(49,49,49);word-spacing:1px">*.* should be the database you are trying to connect to. </b></div><div dir="auto"><b style="font-size:1rem;color:rgb(49,49,49);word-spacing:1px"><br></b></div><div dir="auto"><b style="font-size:1rem;color:rgb(49,49,49);word-spacing:1px">Cheers,</b></div><div dir="auto"><b style="font-size:1rem;color:rgb(49,49,49);word-spacing:1px"><br></b></div><div dir="auto"><b style="font-size:1rem;color:rgb(49,49,49);word-spacing:1px">Diego</b></div><div dir="auto"><b style="font-size:1rem;color:rgb(49,49,49);word-spacing:1px"><br></b></div><div dir="auto"><b style="font-size:1rem;color:rgb(49,49,49);word-spacing:1px"><br></b></div><br><div class="gmail_quote"><div>El El mié, 27 dic. 2017 a las 05:01, Raghavender <<a href="mailto:raghu6519@gmail.com">raghu6519@gmail.com</a>> escribió:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="auto">Hi,</div><div dir="auto"><div dir="auto"><br></div><div dir="auto">We have modified bind address to Physical address of the server, but still we have the same error message.</div><div dir="auto"><br></div><div dir="auto">Following is the list of severs and their IP addresses:</div><div dir="auto">HSS- xx.xx.xx.171</div><div dir="auto">PCSCF- <span style="font-family:sans-serif"> xx.xx.xx.175</span></div><div dir="auto"><span style="font-family:sans-serif"><br></span></div><div dir="auto"><span style="font-family:sans-serif"><br></span></div></div><div dir="auto"><div dir="auto"><span style="font-family:sans-serif">Could you please help.</span></div><div dir="auto"><span style="font-family:sans-serif"><br></span></div><div dir="auto"><span style="font-family:sans-serif"><br></span></div><div dir="auto"><span style="font-family:sans-serif"><br></span></div><div dir="auto"><span style="font-family:sans-serif">Regards,</span></div><div dir="auto"><span style="font-family:sans-serif">Raghu</span></div><div dir="auto"><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On 23 Dec 2017 10:49, "Franz Edler" <<a href="mailto:franz.edler@kabsi.at" target="_blank">franz.edler@kabsi.at</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div lang="DE-AT" link="#0563C1" vlink="#954F72"><div class="m_-8958059725724757344m_-8648492830171534838WordSection1"><p class="MsoNormal"><span lang="EN-US">You should try to set the </span><span lang="EN-US">bind-address in /etc/mysql/my.cnf to the corresponding physical address.<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p><p class="MsoNormal"><span lang="EN-US">BR Franz<u></u><u></u></span></p><p class="MsoNormal"><a name="m_-8958059725724757344_m_-8648492830171534838__MailEndCompose"><span lang="EN-US"><u></u> <u></u></span></a></p><span></span><p class="MsoNormal"><b><span lang="DE">Von:</span></b><span lang="DE"> sr-users [mailto:<a href="mailto:sr-users-bounces@lists.kamailio.org" target="_blank">sr-users-bounces@lists.kamailio.org</a>] <b>Im Auftrag von </b>Kranti Kumar<br><b>Gesendet:</b> Samstag, 23. Dezember 2017 04:11<br><b>An:</b> Kamailio (SER) - Users Mailing List <<a href="mailto:sr-users@lists.sip-router.org" target="_blank">sr-users@lists.sip-router.org</a>>; <a href="mailto:sr-users@lists.kamailio.org" target="_blank">sr-users@lists.kamailio.org</a>; raghavender goud <<a href="mailto:raghu6519@gmail.com" target="_blank">raghu6519@gmail.com</a>><br><b>Betreff:</b> [SR-Users] PCSCF Access denied issue<u></u><u></u></span></p><p class="MsoNormal"><u></u> <u></u></p><div><div><p class="MsoNormal" style="margin-bottom:12.0pt">Hi All,<u></u><u></u></p></div><p class="MsoNormal" style="margin-bottom:12.0pt">We are using <b>Kamailio IMS VM</b> image and we are able to run HSS(/hss.sh) successfully. But while running PCSCF (kamailio -f /usr/local/etc/kamailio/kamailio-pcscf.cfg), we are getting below errors.<u></u><u></u></p><p class="m_-8958059725724757344m_-8648492830171534838gmail-msonormal">0(1772) DEBUG: <core> [db.c:209]: db_bind_mod(): using db bind api for db_mysql<u></u><u></u></p><p class="m_-8958059725724757344m_-8648492830171534838gmail-msonormal">0(1772) DEBUG: <core> [db.c:314]: db_do_init2(): connection 0x7f208368d1b8 not  found in pool<u></u><u></u></p><p class="m_-8958059725724757344m_-8648492830171534838gmail-msonormal">0(1772) DEBUG: db_mysql [km_my_con.c:98]: db_mysql_new_connection(): opening co nnection: mysql://xxxx:xxxx@server.net1.test/pcscf<u></u><u></u></p><p class="m_-8958059725724757344m_-8648492830171534838gmail-msonormal">0(1772) ERROR: db_mysql [km_my_con.c:124]: db_mysql_new_connection(): driver er ror: <span style="background:yellow">Access denied for user 'pcscf'@'pcscf.net1.test' (using password: YES)</span><u></u><u></u></p><p class="m_-8958059725724757344m_-8648492830171534838gmail-msonormal">0(1772) ERROR: <core> [db.c:318]: db_do_init2(): could not add connection to the pool 0(1772) ERROR: ims_usrloc_pcscf [usrloc_db.c:79]: init_db(): unable to co nnect to the database<u></u><u></u></p><p class="m_-8958059725724757344m_-8648492830171534838gmail-msonormal">0(1772) ERROR: ims_usrloc_pcscf [ul_mod.c:203]: mod_init(): Error initializing  db connection<u></u><u></u></p><p class="m_-8958059725724757344m_-8648492830171534838gmail-msonormal">0(1772) ERROR: <core> [sr_module.c:962]: init_mod(): Error while initializing module ims_usrloc_pcscf (/usr/local/lib64/kamailio/modules/ims_usrloc_pcscf.so)<u></u><u></u></p><p class="m_-8958059725724757344m_-8648492830171534838gmail-msonormal">ERROR: error while initializing modules<u></u><u></u></p><p class="m_-8958059725724757344m_-8648492830171534838gmail-msonormal"><u></u> <u></u></p><p class="m_-8958059725724757344m_-8648492830171534838gmail-msonormal">To fix the above error, we tried below commands<u></u><u></u></p><p class="m_-8958059725724757344m_-8648492830171534838gmail-msonormal"><b>mysql -u root -p<br>    GRANT ALL ON *.* TO root IDENTIFIED BY 'root';<br>    quit</b><br>- replace bind-address in /etc/mysql/my.cnf to 0.0.0.0 <u></u><u></u></p><p class="m_-8958059725724757344m_-8648492830171534838gmail-msonormal">But still we are getting the same issue.<u></u><u></u></p><p class="m_-8958059725724757344m_-8648492830171534838gmail-msonormal">Could any one please help us to resolve this issue. Could any one please guide us the troubleshooting steps.<u></u><u></u></p><p class="m_-8958059725724757344m_-8648492830171534838gmail-msonormal">Thank you so much in advance.<u></u><u></u></p><p class="m_-8958059725724757344m_-8648492830171534838gmail-msonormal"><u></u> <u></u></p><p class="m_-8958059725724757344m_-8648492830171534838gmail-msonormal">Regards,<u></u><u></u></p><p class="m_-8958059725724757344m_-8648492830171534838gmail-msonormal">-kranti<u></u><u></u></p></div></div></div></blockquote></div></div>
_______________________________________________<br>
Kamailio (SER) - Users Mailing List<br>
<a href="mailto:sr-users@lists.kamailio.org" target="_blank">sr-users@lists.kamailio.org</a><br>
<a href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" rel="noreferrer" target="_blank">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a><br>
</blockquote></div></div>