- 精华
- 阅读权限
- 90
- 好友
- 相册
- 分享
- 听众
- 收听
- 注册时间
- 2018-4-14
- 在线时间
- 小时
- 最后登录
- 1970-1-1
|

楼主 |
发表于 2019-7-19 17:05:06
|
显示全部楼层
[root@localhost 桌面]# chmod -R 777 /root
[root@localhost 桌面]#
[root@localhost 桌面]# cd /root
[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:56:03.274+0800 I CONTROL [initandlisten] MongoDB starting : pid=2591 port=2007 dbpath=./data 64-bit host=localhost.localdomain
2019-07-19T16:56:03.274+0800 I CONTROL [initandlisten] db version v3.4.4
2019-07-19T16:56:03.274+0800 I CONTROL [initandlisten] git version: 888390515874a9debd1b6c5d36559ca86b44babd
2019-07-19T16:56:03.274+0800 I CONTROL [initandlisten] allocator: tcmalloc
2019-07-19T16:56:03.274+0800 I CONTROL [initandlisten] modules: none
2019-07-19T16:56:03.274+0800 I CONTROL [initandlisten] build environment:
2019-07-19T16:56:03.274+0800 I CONTROL [initandlisten] distarch: x86_64
2019-07-19T16:56:03.274+0800 I CONTROL [initandlisten] target_arch: x86_64
2019-07-19T16:56:03.274+0800 I CONTROL [initandlisten] options: { net: { port: 2007 }, security: { authorization: "enabled" }, storage: { dbPath: "./data" } }
2019-07-19T16:56:03.275+0800 W - [initandlisten] Detected unclean shutdown - ./data/mongod.lock is not empty.
2019-07-19T16:56:03.302+0800 I - [initandlisten] Detected data files in ./data created by the 'mmapv1' storage engine, so setting the active storage engine to 'mmapv1'.
2019-07-19T16:56:03.426+0800 I JOURNAL [initandlisten] journal dir=./data/journal
2019-07-19T16:56:03.426+0800 I JOURNAL [initandlisten] recover begin
2019-07-19T16:56:03.426+0800 I JOURNAL [initandlisten] info no lsn file in journal/ directory
2019-07-19T16:56:03.426+0800 I JOURNAL [initandlisten] recover lsn: 0
2019-07-19T16:56:03.426+0800 I JOURNAL [initandlisten] recover ./data/journal/j._0
2019-07-19T16:56:03.428+0800 I JOURNAL [initandlisten] recover applying initial journal section with sequence number 9824
2019-07-19T16:56:03.458+0800 I JOURNAL [initandlisten] recover cleaning up
2019-07-19T16:56:03.458+0800 I JOURNAL [initandlisten] removeJournalFiles
2019-07-19T16:56:03.458+0800 I JOURNAL [initandlisten] old journal file will be removed: ./data/journal/j._0
2019-07-19T16:56:03.485+0800 I JOURNAL [initandlisten] recover done
2019-07-19T16:56:03.485+0800 I JOURNAL [initandlisten] preallocating a journal file ./data/journal/prealloc.0
2019-07-19T16:56:06.071+0800 I - [initandlisten] File Preallocator Progress: 293601280/1073741824 27%
2019-07-19T16:56:09.069+0800 I - [initandlisten] File Preallocator Progress: 650117120/1073741824 60%
2019-07-19T16:56:12.006+0800 I - [initandlisten] File Preallocator Progress: 1006632960/1073741824 93%
2019-07-19T16:56:12.579+0800 I JOURNAL [durability] Durability thread started
2019-07-19T16:56:12.580+0800 I JOURNAL [journal writer] Journal writer thread started
2019-07-19T16:56:12.580+0800 I CONTROL [initandlisten] ** WARNING: You are running this process as the root user, which is not recommended.
2019-07-19T16:56:12.580+0800 I CONTROL [initandlisten]
2019-07-19T16:56:12.581+0800 I CONTROL [initandlisten]
2019-07-19T16:56:12.581+0800 I CONTROL [initandlisten] ** WARNING: /sys/kernel/mm/transparent_hugepage/enabled is 'always'.
2019-07-19T16:56:12.581+0800 I CONTROL [initandlisten] ** We suggest setting it to 'never'
2019-07-19T16:56:12.581+0800 I CONTROL [initandlisten]
2019-07-19T16:56:12.581+0800 I CONTROL [initandlisten] ** WARNING: /sys/kernel/mm/transparent_hugepage/defrag is 'always'.
2019-07-19T16:56:12.581+0800 I CONTROL [initandlisten] ** We suggest setting it to 'never'
2019-07-19T16:56:12.581+0800 I CONTROL [initandlisten]
2019-07-19T16:56:12.927+0800 I FTDC [initandlisten] Initializing full-time diagnostic data capture with directory './data/diagnostic.data'
2019-07-19T16:56:12.931+0800 I NETWORK [thread1] waiting for connections on port 2007
2019-07-19T16:56:13.016+0800 I FTDC [ftdc] Unclean full-time diagnostic data capture shutdown detected, found interim file, some metrics may have been lost. OK
[root@localhost ~]# 2017-05-17T01:33:15.070+0800 I NETWORK [thread1] connection accepted from 127.0.0.1:40892 #1 (1 connection now open)
2017-05-17T01:33:15.093+0800 I ACCESS [conn1] Successfully authenticated as principal root on admin
2017-05-17T01:33:30.072+0800 I NETWORK [thread1] connection accepted from 127.0.0.1:40893 #2 (2 connections now open)
[root@localhost 桌面]# cd /root
[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(0xc4200fa4f0, 0xc4200fa4a0, 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: 2818 已杀死 ./Path
19 Jul 17:04:22 ntpdate[2872]: step time server 223.113.97.104 offset 68571017.016356 sec
[root@localhost ~]#
哪一部出问题了 有没大神在线。。点进入游戏没反应 |
|