您好, 我已经安装了带有选项--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'.
由于
答案 0 :(得分:1)
请看一下这篇博客文章。这可能对你有用。 http://eshaiju.blogspot.in/2013/09/configuring-mysql-dlr-storage.html
答案 1 :(得分:0)
从日志中提供 确保Bearerbox在端口13001上运行,即在配置文件中运行
group=core
smsbox-port=13001
和在smsbox conf中
group = smsbox
bearerbox-host=localhost
bearerbox-port=13001