Skip to content

Latest commit

 

History

History
41 lines (17 loc) · 687 Bytes

7常见问题.md

File metadata and controls

41 lines (17 loc) · 687 Bytes

1.访问http://alloc_ip:9999 ,输出的IP地址不正确

问题:

1)服务器存在多个网卡(包括虚拟网卡)。

2)服务器部署在公网地址后,对外提供服务。

解决方法:

mpush.conf配置文件中,增加如下配置项

mp.net.public-host-mapping {

     "源IP":"目标IP"

}

2.启动mpush失败

[root@www mpush-0.7.0]# tailf logs/mpush.log
java.lang.NoClassDefFoundError: Could not initialize class io.netty.channel.epoll.Native

如果日志中存在Could not initialize class io.netty.channel.epoll.Native这个异常

mpush.conf配置文件中,增加如下配置项

mp.core.epoll-provider=nio