Skip to content

Commit 96f0f45

Browse files
author
mywiki
committed
Updates 6完整测试.md
Auto commit by GitBook Editor
1 parent da02d4d commit 96f0f45

File tree

5 files changed

+43
-1
lines changed

5 files changed

+43
-1
lines changed

7常见问题.md

+41
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
1.访问http:\/\/alloc\_ip:9999,输出的IP地址不正确
2+
3+
问题:
4+
5+
1)服务器存在多个网卡(包括虚拟网卡)。
6+
7+
2)服务器部署在公网地址后,对外提供服务。
8+
9+
解决方法:
10+
11+
**mpush.conf**配置文件中,增加如下配置项
12+
13+
mp.net.public-host-mapping {
14+
15+
"源IP":"目标IP"
16+
17+
}
18+
19+
2.启动mpush失败
20+
21+
```
22+
[root@www mpush-0.7.0]# tailf logs/mpush.log
23+
java.lang.NoClassDefFoundError: Could not initialize class io.netty.channel.epoll.Native
24+
```
25+
26+
如果日志中存在**Could not initialize class io.netty.channel.epoll.Native**这个异常
27+
28+
**mpush.conf**配置文件中,增加如下配置项
29+
30+
mp.core.epoll-provider=nio
31+
32+
33+
34+
35+
36+
37+
38+
39+
40+
41+

SUMMARY.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
# Summary
22

33
* [Introduction](README.md)
4-
* [1.服务器环境](/1服务器环境.md)
4+
* [1.服务器环境](1服务器环境.md)
55
* [2.安装Redis](2安装redis.md)
66
* [3.安装Zookeeper](3安装zookeeper.md)
77
* [4.安装MPush](4安装mpush.md)
88
* [5.安装Alloc服务](5安装alloc服务.md)
99
* [6.完整测试](6完整测试.md)
10+
* [7.常见问题](7常见问题.md)
1011

assets/test01.png

10.1 KB
Loading

assets/test02.png

10.7 KB
Loading

assets/test03.png

30.8 KB
Loading

0 commit comments

Comments
 (0)