我目前正在使用 G-WAN 进行静态 CMS 的测试部署。使用 SSH 将文件复制到服务器并尝试启动 G-WAN 后,我会收到以下消息:
- /home/[ELASTIC_COMPUTING_USER]/[GWAN_BINARY_DIRECTORY] 中没有监听器
[1] 这是使用命令 './gwan' 时来自 gwan.log 的转储
[Wed Oct 01 04:47:04 2014 GMT] ------------------------------------------------
[Wed Oct 01 04:47:04 2014 GMT] G-WAN 4.3.14 64-bit (Mar 14 2013 07:33:12)
[Wed Oct 01 04:47:04 2014 GMT] ------------------------------------------------
[Wed Oct 01 04:47:04 2014 GMT] Local Time: Wed, 01 Oct 2014 00:47:04 GMT-4
[Wed Oct 01 04:47:04 2014 GMT] RAM: (732.98 MiB free + 0 shared + 0 buffers) / 992.87 MiB total
[Wed Oct 01 04:47:04 2014 GMT] Physical Pages: 732.98 MiB / 992.87 MiB
[Wed Oct 01 04:47:04 2014 GMT] DISK: 4.79 GiB free / 5.10 GiB total
[Wed Oct 01 04:47:04 2014 GMT] Filesystem Type Size Used Avail Use% Mounted on
[Wed Oct 01 04:47:04 2014 GMT] /dev/xvda1 xfs 6.0G 1.3G 4.8G 21% /
[Wed Oct 01 04:47:04 2014 GMT] devtmpfs devtmpfs 487M 0 487M 0% /dev
[Wed Oct 01 04:47:04 2014 GMT] tmpfs tmpfs 497M 0 497M 0% /dev/shm
[Wed Oct 01 04:47:04 2014 GMT] tmpfs tmpfs 497M 13M 484M 3% /run
[Wed Oct 01 04:47:04 2014 GMT] tmpfs tmpfs 497M 0 497M 0% /sys/fs/cgroup
[Wed Oct 01 04:47:04 2014 GMT] Page-size:4,096 Child-max:7,788 Stream-max:16
[Wed Oct 01 04:47:04 2014 GMT] CPU: 1x Intel(R) Xeon(R) CPU E5-2670 v2 @ 2.50GHz
[Wed Oct 01 04:47:04 2014 GMT] 0 id: 0 0
[Wed Oct 01 04:47:04 2014 GMT] Cores: possible:0-14 present:0 online:0
[Wed Oct 01 04:47:04 2014 GMT] L1d cache: 32K line:64 0
[Wed Oct 01 04:47:04 2014 GMT] L1i cache: 32K line:64 0
[Wed Oct 01 04:47:04 2014 GMT] L2 cache: 256K line:64 0
[Wed Oct 01 04:47:04 2014 GMT] L3 cache:25600K line:64 0
[Wed Oct 01 04:47:04 2014 GMT] NUMA node #1 0
[Wed Oct 01 04:47:04 2014 GMT] CPU(s):1, Core(s)/CPU:1, Thread(s)/Core:1
[Wed Oct 01 04:47:04 2014 GMT] Bogomips: 5,000.07
[Wed Oct 01 04:47:04 2014 GMT] Hypervisor: XenVMMXenVMM
[Wed Oct 01 04:47:04 2014 GMT] using 1 workers 0[1]0
[Wed Oct 01 04:47:04 2014 GMT] among 1 threads 0[1]0
[Wed Oct 01 04:47:04 2014 GMT] 64-bit little-endian (least significant byte first)
[Wed Oct 01 04:47:04 2014 GMT] \S (3.10.0-123.) 64-bit
[Wed Oct 01 04:47:04 2014 GMT] user: root (uid:0), group: root (uid:0)
[Wed Oct 01 04:47:04 2014 GMT] system fd_max: 1,024
[Wed Oct 01 04:47:04 2014 GMT] program fd_max: 1,024
[Wed Oct 01 04:47:04 2014 GMT] updated fd_max: 500,000
[Wed Oct 01 04:47:04 2014 GMT] Available network interfaces (2):
[Wed Oct 01 04:47:04 2014 GMT] XXX.X.X.X
[Wed Oct 01 04:47:04 2014 GMT] XXX.XX.XX.XXX
[Wed Oct 01 04:47:04 2014 GMT] * no listener in /home/[ELASTIC_COMPUTING_USER]/[GWAN_BINARY_DIRECTORY]
我检查并得到相同的输出,即使使用此命令 './gwan -d:[ELASTIC_GROUP]:[ELASTIC_USER]'。尝试在守护程序模式下运行 G-WAN,没有成功。
此外,在尝试将 G-WAN 作为守护程序启动后,我得到以下几行:
[Wed, 01 Oct 2014 04:47:04 GMT] * child normal exit(1)
[Wed, 01 Oct 2014 04:47:04 GMT] * child abort(8)
[Wed, 01 Oct 2014 04:47:04 GMT] * child abort(8)
[Wed, 01 Oct 2014 04:47:04 GMT] * child died 3 times within 3 seconds
我的目录结构是:
/home/[ELASTIC_COMPUTING_USER]/[GWAN_BINARY_DIRECTORY]/XXX.XX.XX.XXX_80/#XXX.XX.XX.XXX
其中 XXX.XX.XX.XXX 是“ifconfig”命令输出中的本地 IP。我需要使用外部/公共 IP 还是可以?
我究竟做错了什么?