Installation issues

319 views
Skip to first unread message

Tyrone Miles

unread,
Feb 17, 2021, 5:36:23 PM2/17/21
to dSIPRouter
Team, I rebuilt my server 5 times on aws today and the script isn't generating the cert. What's the issue here? the installation defaults to a self-sign cert. I changed the hosts/hostname prior to attempting the install. What am I doing wrong?

Mack Hendricks

unread,
Feb 17, 2021, 6:00:13 PM2/17/21
to Tyrone Miles, dSIPRouter
What error are you getting from dsiprouter when you execute the following commands:

dsiprouter configuresslcert

On Feb 17, 2021, at 5:36 PM, Tyrone Miles <tymi...@gmail.com> wrote:

Team, I rebuilt my server 5 times on aws today and the script isn't generating the cert. What's the issue here? the installation defaults to a self-sign cert. I changed the hosts/hostname prior to attempting the install. What am I doing wrong?


--
You received this message because you are subscribed to the Google Groups "dSIPRouter" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dSIPRouter+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dSIPRouter/61813dad-9ee0-4816-8f5f-e4da82cd1f1dn%40googlegroups.com.

Tyrone Miles

unread,
Feb 17, 2021, 6:14:29 PM2/17/21
to dSIPRouter
Server Issue

Detailed Information: HTTPConnectionPool(host='127.0.0.1', port=5060): Max retries exceeded with url: /api/kamailio (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f8df6da8ba8>: Failed to establish a new connection: [Errno 111] Connection refused'))


Please check your configuration and try the request again!

Check out the dSIPRouter Github page for more information about the platform.

To submit a bug for review go to the dSIPRouter Issues page and submit a new issue with a detailed explanation and screenshots of the issue.


Mack Hendricks

unread,
Feb 17, 2021, 6:16:44 PM2/17/21
to Tyrone Miles, dSIPRouter
You should get a message on the command line when you execute

dsiprouter configuresslcert


Tyrone Miles

unread,
Feb 17, 2021, 6:41:38 PM2/17/21
to dSIPRouter
root@sbc360:~# service kamailio status
● kamailio.service - Kamailio (OpenSER) - the Open Source SIP Server
   Loaded: loaded (/lib/systemd/system/kamailio.service; enabled; vendor preset: enabled)
   Active: failed (Result: exit-code) since Wed 2021-02-17 22:21:50 UTC; 1h 14min ago
  Process: 1889 ExecStart=/usr/sbin/kamailio -P /run/kamailio/kamailio.pid -f $CFGFILE -m $SHM_MEMORY -M $PKG_MEMORY (code=exited, status=255/EXCEPTION)

Feb 17 22:21:50 sbc360 systemd[1]: kamailio.service: Service RestartSec=100ms expired, scheduling restart.
Feb 17 22:21:50 sbc360 systemd[1]: kamailio.service: Scheduled restart job, restart counter is at 5.
Feb 17 22:21:50 sbc360 systemd[1]: Stopped Kamailio (OpenSER) - the Open Source SIP Server.
Feb 17 22:21:50 sbc360 systemd[1]: kamailio.service: Start request repeated too quickly.
Feb 17 22:21:50 sbc360 systemd[1]: kamailio.service: Failed with result 'exit-code'.
Feb 17 22:21:50 sbc360 systemd[1]: Failed to start Kamailio (OpenSER) - the Open Source SIP Server.
root@sbc360:~# service kamailio status
● kamailio.service - Kamailio (OpenSER) - the Open Source SIP Server
   Loaded: loaded (/lib/systemd/system/kamailio.service; enabled; vendor preset: enabled)
   Active: failed (Result: exit-code) since Wed 2021-02-17 22:21:50 UTC; 1h 18min ago
  Process: 1889 ExecStart=/usr/sbin/kamailio -P /run/kamailio/kamailio.pid -f $CFGFILE -m $SHM_MEMORY -M $PKG_MEMORY (code=exited, status=255/EXCEPTION)

Feb 17 22:21:50 sbc360 systemd[1]: kamailio.service: Service RestartSec=100ms expired, scheduling restart.
Feb 17 22:21:50 sbc360 systemd[1]: kamailio.service: Scheduled restart job, restart counter is at 5.
Feb 17 22:21:50 sbc360 systemd[1]: Stopped Kamailio (OpenSER) - the Open Source SIP Server.
Feb 17 22:21:50 sbc360 systemd[1]: kamailio.service: Start request repeated too quickly.
Feb 17 22:21:50 sbc360 systemd[1]: kamailio.service: Failed with result 'exit-code'.
Feb 17 22:21:50 sbc360 systemd[1]: Failed to start Kamailio (OpenSER) - the Open Source SIP Server.
root@sbc360:~# service kamailio start
Job for kamailio.service failed because the control process exited with error code.
See "systemctl status kamailio.service" and "journalctl -xe" for details.
root@sbc360:~#

Mack Hendricks

unread,
Feb 17, 2021, 6:45:34 PM2/17/21
to Tyrone Miles, dSIPRouter
What do you get when you run this:

dsiprouter configuresslcert

Also, can you provide us a copy of your /var/log/kamailio.log


Message has been deleted

Tyrone Miles

unread,
Feb 19, 2021, 2:37:39 PM2/19/21
to dSIPRouter
Any update on this?

On Fri, Feb 19, 2021, 3:15 AM Tyrone Miles <tymi...@gmail.com> wrote:
Here's what I have.

Mack Hendricks

unread,
Feb 19, 2021, 2:43:39 PM2/19/21
to Tyrone Miles, dSIPRouter
What OS is this?  I looks like the install is not determining your Internal IP properly.  Is  172.31.75.170 your internal ip?

Feb 17 23:42:30 sbc360 /usr/sbin/kamailio[11793]: INFO: <core> [core/cfg/cfg_ctx.c:595]: cfg_set_now(): tls.low_mem_threshold1 has been changed to 8912896
Feb 17 23:42:30 sbc360 /usr/sbin/kamailio[11793]: INFO: <core> [core/cfg/cfg_ctx.c:595]: cfg_set_now(): tls.low_mem_threshold2 has been changed to 4456448
Feb 17 23:42:30 sbc360 /usr/sbin/kamailio[11793]: INFO: <core> [main.c:2779]: main(): processes (at least): 17 - shm size: 134217728 - pkg size: 16777216
Feb 17 23:42:30 sbc360 /usr/sbin/kamailio[11793]: ERROR: <core> [core/route.c:1009]: fix_actions(): bad force_send_socket argument: 172.31.75.170:5061 (kamailio doesn't listen on it)
Feb 17 23:42:30 sbc360 /usr/sbin/kamailio[11793]: ERROR: <core> [core/route.c:1166]: fix_actions(): fixing failed (code=-478) at cfg:/etc/kamailio/kamailio.cfg:1006
Feb 17 23:42:30 sbc360 /usr/sbin/kamailio[11793]: ERROR: <core> [core/route.c:1166]: fix_actions(): fixing failed (code=-478) at cfg:/etc/kamailio/kamailio.cfg:1013
Feb 17 23:42:30 sbc360 /usr/sbin/kamailio[11793]: ERROR: <core> [core/route.c:1166]: fix_actions(): fixing failed (code=-478) at cfg:/etc/kamailio/kamailio.cfg:1014
Feb 17 23:42:30 sbc360 /usr/sbin/kamailio[11793]: ERROR: <core> [core/route.c:1166]: fix_actions(): fixing failed (code=-478) at cfg:/etc/kamailio/kamailio.cfg:1027
Feb 17 23:42:30 sbc360 /usr/sbin/kamailio[11793]: ERROR: <core> [core/route.c:1166]: fix_actions(): fixing failed (code=-478) at cfg:/etc/kamailio/kamailio.cfg:1136
Feb 17 23:42:30 sbc360 /usr/sbin/kamailio[11793]: INFO: <core> [core/sctp_core.c:53]: sctp_core_destroy(): SCTP API not initialized


Reply all
Reply to author
Forward
0 new messages