<div dir="ltr"><div><div><div><div><div><div><div>Hi All<br></div>I have followed link <a href="http://nil.uniza.sk/book/export/html/617">http://nil.uniza.sk/book/export/html/617</a> to install P-CSCF/I-CSCF/S-CSCF.<br><br></div>Though I have some doubts in configuration , still I have put the configuration to best of my knowledge.<br><br></div>When I execute SCSCF, I get below errors.<br><i><b><br></b></i></div>I see some database related errors.<br><br></div>As per the followed link, I find some DB configurations and I did accordingly.<br><br></div>I do not see any DB configurations for SCSCF, still I see two below lines<br><br># Connection URL for the database:<br>#!define DB_URL "con1=>mysql://scscf:secret@localhost/scscf"<br>#!define DB_URL2 "con2=>mysql://scscf:secret@localhost/scscf"<br><br></div>in file scscf.cfg<br><div><div><div><br></div><div>Is this really required, or can I comment these two lines.<br></div><div><br><div><div><i><b><br>root@Kamal-E5430:/etc/kamailio/scscf# <br>root@Kamal-E5430:/etc/kamailio/scscf# <br>root@Kamal-E5430:/etc/kamailio/scscf# ./scscf -f kamailio.cfg -E<br>loading modules under config path: /usr/local/lib64/kamailio/modules/<br>Listening on <br>             udp: 192.168.1.114 [192.168.1.114]:4080<br>             tcp: 192.168.1.114 [192.168.1.114]:4080<br>Aliases: <br>             *: scscf.group4-imslab11.in:*<br><br> 0(25982) INFO: <core> [tcp_main.c:4745]: init_tcp(): using epoll_lt as the io watch method (auto detected)<br> 0(25984) INFO: rr [../outbound/api.h:54]: ob_load_api(): Failed to import bind_ob<br> 0(25984) INFO: rr [rr_mod.c:160]: mod_init(): outbound module not available<br> 0(25984) ERROR: db_mysql [km_my_con.c:109]: db_mysql_new_connection(): driver error: Access denied for user 'scscf'@'localhost' (using password: YES)<br> 0(25984) ERROR: <core> [db.c:322]: db_do_init2(): could not add connection to the pool 0(25984) WARNING: db_cluster [dbcl_data.c:456]: dbcl_init_connections(): cannot connect to database - connection [con2]<br> 0(25984) ERROR: db_mysql [km_my_con.c:109]: db_mysql_new_connection(): driver error: Access denied for user 'scscf'@'localhost' (using password: YES)<br> 0(25984) ERROR: <core> [db.c:322]: db_do_init2(): could not add connection to the pool 0(25984) WARNING: db_cluster [dbcl_data.c:473]: dbcl_init_connections(): cannot connect to database - connection [con2]<br> 0(25984) ERROR: db_mysql [km_my_con.c:109]: db_mysql_new_connection(): driver error: Access denied for user 'scscf'@'localhost' (using password: YES)<br> 0(25984) ERROR: <core> [db.c:322]: db_do_init2(): could not add connection to the pool 0(25984) WARNING: db_cluster [dbcl_data.c:456]: dbcl_init_connections(): cannot connect to database - connection [con1]<br> 0(25984) ERROR: db_mysql [km_my_con.c:109]: db_mysql_new_connection(): driver error: Access denied for user 'scscf'@'localhost' (using password: YES)<br> 0(25984) ERROR: <core> [db.c:322]: db_do_init2(): could not add connection to the pool 0(25984) WARNING: db_cluster [dbcl_data.c:473]: dbcl_init_connections(): cannot connect to database - connection [con1]<br> 0(25984) ERROR: <core> [db.c:401]: db_table_version(): error in db_query<br> 0(25984) ERROR: <core> [db.c:440]: db_check_table_version(): querying version for table presentity<br> 0(25984) ERROR: presence [presence.c:322]: mod_init(): error during table version check<br> 0(25984) ERROR: <core> [sr_module.c:968]: init_mod(): Error while initializing module presence (/usr/local/lib64/kamailio/modules/presence.so)<br>ERROR: error while initializing modules<br> 0(25984) INFO: cdp [mod.c:257]: cdp_exit(): CDiameterPeer child stopping ...<br> 0(25982) ERROR: <core> [daemonize.c:315]: daemonize(): Main process exited before writing to pipe<br>root@Kamal-E5430:/etc/kamailio/scscf# <br>root@Kamal-E5430:/etc/kamailio/scscf# </b></i><br><br></div><div>Best Regards<br></div><div>Kamal<br></div></div></div></div></div></div>