- 精华
- 阅读权限
- 90
- 好友
- 相册
- 分享
- 听众
- 收听
- 注册时间
- 2018-4-14
- 在线时间
- 小时
- 最后登录
- 1970-1-1
|
发表于 2019-7-19 16:50:28
|
显示全部楼层
[root@localhost ~]# cd /root
[root@localhost ~]#
[root@localhost ~]# ./xy.sh
0. 启动mongodb
1. 启动GM GS GW Web
2. 重启GS GW
3. 在线人数
4. 关闭mongodb
5. 关闭GM GS GW Web
0
开始启动数据库
[root@localhost ~]# 2019-07-19T16:40:47.507+0800 I CONTROL [initandlisten] MongoDB starting : pid=2715 port=2007 dbpath=./data 64-bit host=localhost.localdomain
2019-07-19T16:40:47.507+0800 I CONTROL [initandlisten] db version v3.4.4
2019-07-19T16:40:47.507+0800 I CONTROL [initandlisten] git version: 888390515874a9debd1b6c5d36559ca86b44babd
2019-07-19T16:40:47.507+0800 I CONTROL [initandlisten] allocator: tcmalloc
2019-07-19T16:40:47.507+0800 I CONTROL [initandlisten] modules: none
2019-07-19T16:40:47.507+0800 I CONTROL [initandlisten] build environment:
2019-07-19T16:40:47.507+0800 I CONTROL [initandlisten] distarch: x86_64
2019-07-19T16:40:47.507+0800 I CONTROL [initandlisten] target_arch: x86_64
2019-07-19T16:40:47.507+0800 I CONTROL [initandlisten] options: { net: { port: 2007 }, security: { authorization: "enabled" }, storage: { dbPath: "./data" } }
2019-07-19T16:40:47.512+0800 I STORAGE [initandlisten] exception in initAndListen: 98 Unable to lock file: ./data/mongod.lock Resource temporarily unavailable. Is a mongod instance already running?, terminating
2019-07-19T16:40:47.512+0800 I NETWORK [initandlisten] shutdown: going to close listening sockets...
2019-07-19T16:40:47.512+0800 I NETWORK [initandlisten] shutdown: going to flush diaglog...
2019-07-19T16:40:47.512+0800 I CONTROL [initandlisten] now exiting
2019-07-19T16:40:47.512+0800 I CONTROL [initandlisten] shutting down with code:100
[root@localhost ~]# cd /root
[root@localhost ~]#
[root@localhost ~]# ./xy.sh
0. 启动mongodb
1. 启动GM GS GW Web
2. 重启GS GW
3. 在线人数
4. 关闭mongodb
5. 关闭GM GS GW Web
1
开始启动GM GS GW Web
2017年 05月 16日 星期二 13:33:10 EDT
GM服务器 启动.
GS服务器 启动.
panic: listen tcp 127.0.0.1:9101: bind: address already in use
goroutine 17 [running]:
net/rpc/rpcserver.(*RPCServer).Init(0xc4201004f0, 0xc4201004a0, 0xe, 0x782f04, 0x2, 0x7575c0, 0x945da0)
C:/MyWork/PkGameServer/server/src/net/rpc/rpcserver/rpcserver.go:16 +0x114
created by main.main
C:/MyWork/PkGameServer/server/src/GW/main.go:52 +0x59a
./xy.sh: line 15: 2739 已杀死 ./Path
19 Jul 16:42:12 ntpdate[2795]: step time server 120.25.108.11 offset 68569686.481358 sec
[root@localhost ~]#
[root@localhost ~]# chmod -R 777 /root
[root@localhost ~]#
这样算架设成功了吗。。点进入游戏还是没反应。。
|
|