Check dnl_softswitch log
The location for dnl_softswitch log is as follows:
/opt/denovo_v6/dnl_softswitch/log/dnl_softswitch.log
If your dnl_softswitch is started successfully, you should see the following lines inside this log:
2022-12-28 08:57:37 [NOTICE] routing_data.c:11516 Loading table rate data done
2022-12-28 08:57:37 [NOTICE] routing_data.c:11518 Loading table rate done, elapsed 0(s), loaded 1 records
2022-12-28 08:57:37 [WARNING] routing_data.c:11634 ********** All data loading done **********
2022-12-28 08:57:37 [WARNING] routing_data.c:11638 ********** dnl_softswitch Started **********
If you see error such as the following, you should go to the config file and modify the correct IP where postgres is listened on:
2022-12-28 08:57:10 [NOTICE] dnl_shaken.c:1615 SHAKEN status thread: couldn't connect to the database!
2022-12-28 08:57:11 [WARNING] dnl_call_qos_report.c:326 DB connect failed, PQstatus:1, connection to server at "154.27.74.199", port 5432 failed: Connection refused
Is the server running on that host and accepting TCP/IP connections?
The path for dnl_softswitch config is as follows:
/opt/denovo_v6/dnl_softswitch/conf/dnl_softswitch.conf
To check the IP for your postgres instance, you can use the following command:
[root@switch01 log]# netstat -anp |grep postgres
tcp 0 0 127.0.0.1:5432 127.0.0.1:56800 ESTABLISHED 1885/postgres: webb
tcp 0 0 127.0.0.1:5432 127.0.0.1:49280 ESTABLISHED 2286/postgres: webb
Inside the dnl_softswitch.conf, you can find the [db] block to modify the postgres IP accordingly:
[db]
db_host = 127.0.0.1
db_listen_port = 5432
db_name = class4_dnl
db_user = class4_user
db_user_password = 123456
Last updated
Was this helpful?