File tree 5 files changed +43
-1
lines changed
5 files changed +43
-1
lines changed Original file line number Diff line number Diff line change
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
+
Original file line number Diff line number Diff line change 1
1
# Summary
2
2
3
3
* [ Introduction] ( README.md )
4
- * [ 1.服务器环境] ( / 1服务器环境.md)
4
+ * [ 1.服务器环境] ( 1服务器环境.md )
5
5
* [ 2.安装Redis] ( 2安装redis.md )
6
6
* [ 3.安装Zookeeper] ( 3安装zookeeper.md )
7
7
* [ 4.安装MPush] ( 4安装mpush.md )
8
8
* [ 5.安装Alloc服务] ( 5安装alloc服务.md )
9
9
* [ 6.完整测试] ( 6完整测试.md )
10
+ * [ 7.常见问题] ( 7常见问题.md )
10
11
You can’t perform that action at this time.
0 commit comments