liquanchen9 / snova

Automatically exported from code.google.com/p/snova
0 stars 0 forks source link

win32位版为什么总是秒退 #331

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
黑色命令行一闪即退

2013/01/01 00:00:00 c4.go:448: Init C4.
2013/01/01 00:00:00 c4.go:437: UserToken is 00:53:45:00:00:00
2013/01/01 00:00:00 launch.go:83: [WARN]Failed to init C4:No configed C4 server.
2013/01/01 00:00:00 launch.go:93: [WARN]Failed to init GAE:GAE not inited since 
[GAE] Enable=0
2013/01/01 00:00:00 launch.go:98: =============Start gsnova 0.19.4==============
2013/01/01 00:00:00 launch.go:52: Listen on address localhost:48102
2013/01/01 00:00:00 launch.go:49: Can NOT listen on address:localhost:48102

用的Cloud Foundry,服务端已部署成功

请开发者解答

Original issue reported on code.google.com by linju...@gmail.com on 24 Jan 2013 at 12:49

GoogleCodeExporter commented 8 years ago
你可以在配置文件里尝试更换端口

Original comment by aishan.B...@gmail.com on 24 Jan 2013 at 2:16

GoogleCodeExporter commented 8 years ago
换了好几个都没用,该换成什么?

配置文件:
[LocalServer]
Listen=localhost:48102
#AutoOpenWebUI=false

[GAE]
Enable=0
Listen=localhost:48102
WorkerNode[0]=
ConnectionMode=HTTP
Compressor=Snappy
Encrypter=SE1
RangeFetchRetryLimit=1
ConnectionPoolSize=20
RangeFetchLimitSize=262144
RangeConcurrentFetcher=1
UserAgent=Mozilla/5.0 (Windows NT 6.1; WOW64; rv:15.0) Gecko/20100101 
Firefox/15.0.1

[C4]
Enable=1
Listen=localhost:48102
WorkerNode[0]=xxx.xxxxxxxx.xxx
MaxReadBytes = 65536
ReadTimeout = 25
Compressor=Snappy
Encrypter=SE1
UserAgent=Mozilla/5.0 (Windows NT 6.1; WOW64; rv:15.0) Gecko/20100101 
Firefox/15.0.1

[Google]
Enable=1
UseGlobalProxy=2
ConnectTimeout=1500
PreferIP=false

[Hosts]
#0:Disable 1:Only for HTTPS 2:All Protocols
Enable=0
CloudHosts=https://snova.googlecode.com/svn/trunk/repository/cloud_hosts.conf
CloudHostsRepo[0]=https://smarthosts.googlecode.com/svn/trunk/hosts
ExceptCloudHosts=(www.)?facebook.com|www.chromium.org
TrustedDNS=8.8.8.8|208.67.222.222|8.8.4.4|208.67.220.220
#If host:port is not connected in 5s, consider it's blocked and removed from 
DNS cache
BlockVerifyTimeout=5
RangeFetchLimitSize=262144
RangeConcurrentFetcher=5

[SSH]
Enable=0
#Config identify file as url's i para.
Server[0]=ssh://user:pass@host:port
#Server[1]=ssh://user@host:port/?i=C:\Users\myname\.ssh\id_rsa
#Use remote DNS over SSH tunnel
RemoteResolve=1
UseGlobalProxy=0

[SPAC]
Enable=1
Default=C4
GFWList=https://autoproxy-gfwlist.googlecode.com/svn/trunk/gfwlist.txt
IPRangeRepo=http://ftp.apnic.net/apnic/stats/apnic/delegated-apnic-latest
CloudRule=https://snova.googlecode.com/svn/trunk/repository/cloud_spac.json
#Proxy address for generated PAC
PACProxy=127.0.0.1:48100

[LocalProxy]
#Proxy=http://GoogleCN
Proxy=https://GoogleHttps

[Debug]
Enable=0

Original comment by linju...@gmail.com on 25 Jan 2013 at 8:29

GoogleCodeExporter commented 8 years ago
[WARN]Failed to init C4:No configed C4 server. 
说明没连接上c4服务端,保证你的那个地址没填错,切可以打
开

Original comment by xilo...@gmail.com on 26 Jan 2013 at 4:20

GoogleCodeExporter commented 8 years ago
服务端弄好了,但还是不行

2013/01/26 15:57:16 google.go:439: Init Google.
2013/01/26 15:57:16 c4.go:448: Init C4.
2013/01/26 15:57:16 c4.go:437: UserToken is 00:53:45:00:00:00
2013/01/26 15:57:18 launch.go:93: [WARN]Failed to init GAE:GAE not inited since 
[GAE] Enable=0
2013/01/26 15:57:18 launch.go:98: =============Start gsnova 0.19.4==============
2013/01/26 15:57:18 launch.go:52: Listen on address localhost:48102
2013/01/26 15:57:18 launch.go:49: Can NOT listen on address:localhost:48102

Original comment by linju...@gmail.com on 26 Jan 2013 at 7:58

GoogleCodeExporter commented 8 years ago
Can NOT listen on address:localhost:48102 
,检查这个端口是否被占用了,如果还不行就坐等作者回答��
�。

Original comment by xilo...@gmail.com on 28 Jan 2013 at 2:14

GoogleCodeExporter commented 8 years ago
從 #2 看來, 你將[LocalServer][GAE][C4]的端口都改成48102, 
造成端口衝突, 而且[SSH]還缺少端口監聽.

Original comment by CassidyS...@gmail.com on 28 Jan 2013 at 3:58

GoogleCodeExporter commented 8 years ago
无论端口改成什么都不行,总是出现[Can NOT listen on 
address:localhost:]错误提示。

是gsnova问题还是我电脑问题?
请作者回答

Original comment by linju...@gmail.com on 28 Jan 2013 at 5:56

GoogleCodeExporter commented 8 years ago
你不要把所有端口都改成一樣啊....... 
使用默認的端口不就可以麽...幹嘛要改端口呢???

Original comment by CassidyS...@gmail.com on 28 Jan 2013 at 6:21

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
今天我电脑优化了之后也出现了不能监听端口的问题,我把3�
��端口换成其他了。比如48110 48111 48112 
之类就可以监听了.最后检查发现有端口占用48100了,是开了��
�个snova后造成的,snova不正常退出,可能会有进程还在。所以
监听不了。

Original comment by xilo...@gmail.com on 30 Jan 2013 at 1:01