首页 > 解决方案 > kannel smsbox 配置显示关于关键字的错误日志

问题描述

运行时出现问题

bearerbox -v 0 /etc/kannel/kannel.conf &
smsbox -v 0 /etc/kannel/kannel.conf &

Bearerbox 没有问题,但是在执行短信框时,它会显示以下错误。我的目的是从我的调制解调器发送一条短信。
知道如何解决这个问题吗?谢谢

2018-10-19 09:40:13 [4245] [0] INFO: Service global sender set as ''
2018-10-19 09:40:13 [4245] [0] INFO: HTTP: Opening server at port 13013.
2018-10-19 09:40:13 [4245] [0] DEBUG: Started thread 1 (gwlib/fdset.c:poller)
2018-10-19 09:40:13 [4245] [1] DEBUG: Thread 1 (gwlib/fdset.c:poller) maps to pid 4245.
2018-10-19 09:40:13 [4245] [2] DEBUG: Thread 2 (gwlib/http.c:server_thread) maps to pid 4245.
2018-10-19 09:40:13 [4245] [2] DEBUG: HTTP: Including port 13013, fd 8 for polling in server thread
2018-10-19 09:40:13 [4245] [0] DEBUG: Started thread 2 (gwlib/http.c:server_thread)
2018-10-19 09:40:13 [4245] [0] INFO: Set up send sms service at port 13013
2018-10-19 09:40:13 [4245] [0] DEBUG: Started thread 3 (gw/smsbox.c:sendsms_thread)
2018-10-19 09:40:13 [4245] [3] DEBUG: Thread 3 (gw/smsbox.c:sendsms_thread) maps to pid 4245.
2018-10-19 09:40:13 [4245] [0] DEBUG: ----------------------------------------------
2018-10-19 09:40:13 [4245] [0] DEBUG: Kannel smsbox version 1.4.4 starting
2018-10-19 09:40:13 [4245] [0] ERROR: Group 'sms-service' may inlcude either 'keyword' or 'keyword-regex'.
2018-10-19 09:40:13 [4245] [0] ERROR: Couldn't create a URLTranslation.
2018-10-19 09:40:13 [4245] [0] PANIC: urltrans_add_cfg failed
2018-10-19 09:40:13 [4245] [0] PANIC: smsbox(gw_backtrace+0xe0) [0x55b797599e50]
2018-10-19 09:40:13 [4245] [0] PANIC: smsbox(gw_panic+0x167) [0x55b797599fc7]
2018-10-19 09:40:13 [4245] [0] PANIC: smsbox(main+0x1576) [0x55b7975736f6]
2018-10-19 09:40:13 [4245] [0] PANIC: /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xe7) [0x7f2d57ad8b97]
2018-10-19 09:40:13 [4245] [0] PANIC: smsbox(_start+0x2a) [0x55b797573a8a]
2018-10-19 09:40:13 [4245] [0] INFO: Service global sender set as ''
2018-10-19 09:40:13 [4245] [1] DEBUG: Thread 1 (gwlib/fdset.c:poller) maps to pid 4245.
2018-10-19 09:40:13 [4245] [2] DEBUG: Thread 2 (gwlib/http.c:server_thread) maps to pid 4245.
2018-10-19 09:40:13 [4245] [2] DEBUG: HTTP: Including port 13013, fd 8 for polling in server thread
2018-10-19 09:40:13 [4245] [0] DEBUG: Started thread 2 (gwlib/http.c:server_thread)
2018-10-19 09:40:13 [4245] [0] INFO: Set up send sms service at port 13013
2018-10-19 09:40:13 [4245] [0] DEBUG: Started thread 3 (gw/smsbox.c:sendsms_thread)
2018-10-19 09:40:13 [4245] [3] DEBUG: Thread 3 (gw/smsbox.c:sendsms_thread) maps to pid 4245.
2018-10-19 09:40:13 [4245] [0] DEBUG: ----------------------------------------------
2018-10-19 09:40:13 [4245] [0] DEBUG: Kannel smsbox version 1.4.4 starting
2018-10-19 09:40:13 [4245] [0] ERROR: Group 'sms-service' may inlcude either 'keyword' or 'keyword-regex'.
2018-10-19 09:40:13 [4245] [0] ERROR: Couldn't create a URLTranslation.
2018-10-19 09:40:13 [4245] [0] PANIC: urltrans_add_cfg failed
2018-10-19 09:40:13 [4245] [0] PANIC: smsbox(gw_backtrace+0xe0) [0x55b797599e50]
2018-10-19 09:40:13 [4245] [0] PANIC: smsbox(gw_panic+0x167) [0x55b797599fc7]
2018-10-19 09:40:13 [4245] [0] PANIC: smsbox(main+0x1576) [0x55b7975736f6]
2018-10-19 09:40:13 [4245] [0] PANIC: /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xe7) [0x7f2d57ad8b97]
2018-10-19 09:40:13 [4245] [0] PANIC: smsbox(_start+0x2a) [0x55b797573a8a]

标签: kannel

解决方案


推荐阅读