0

您好,我已经使用选项--with-mysql 安装了网关 1.5.0(v),并安装了 kannel rpm kannel-1.4.3,我一直在尝试使用 mysql 设置 dlr-storage。但我在重新启动 kannel 时遇到错误。服务无法重新启动。但它与 dlr-storage = internal 一起工作。我检查了 kannel 用户目录中的旧帖子并发现了一些相关问题,但仍然面临错误。

这是我的 smsbox 日志文件。

2013-09-19 14:50:54 [30003] [0] ERROR: connect failed
2013-09-19 14:50:54 [30003] [0] ERROR: System error 111: Connection refused
2013-09-19 14:50:54 [30003] [0] ERROR: error connecting to server `localhost' at port `13001'
2013-09-19 14:50:54 [30003] [0] PANIC: Couldn't connect to the bearerbox.
2013-09-19 14:50:54 [30003] [0] PANIC: /usr/sbin/smsbox(gw_panic+0x15a) [0x43ddfa]
2013-09-19 14:50:54 [30003] [0] PANIC: /usr/sbin/smsbox(main+0xca0) [0x40e530]
2013-09-19 14:50:54 [30003] [0] PANIC: /lib64/libc.so.6(__libc_start_main+0xfd) [0x7f2d47967cdd]
2013-09-19 14:50:54 [30003] [0] PANIC: /usr/sbin/smsbox() [0x40d1b9]
2013-09-19 14:50:58 [30040] [0] INFO: Added logfile `/var/log/kannel/smsbox.log' with level `0'. 

谢谢

4

2 回答 2

1

请看一下这篇博文。这可能对你有用。 http://eshaiju.blogspot.in/2013/09/configuring-mysql-dlr-storage.html

于 2013-09-19T17:48:22.600 回答
0

从提供的日志中确保 Bearerbox 在端口 13001 上运行,即在配置文件中

group=core
smsbox-port=13001

并在 smsbox conf

group = smsbox
bearerbox-host=localhost
bearerbox-port=13001
于 2018-06-25T05:26:25.613 回答