页次: 1
今天早上发现goagent又不能用了,错误代码如下:
1.官方软件仓库的:
GoAgent CA - GoAgent CT,C,C
------------------------------------------------------
GoAgent Version : 2.1.15 (python/2.7.4 gevent/1.0dev pyopenssl/0.13)
Listen Address : 127.0.0.1:8087
GAE Mode : https
GAE Profile : google_cn
GAE APPID : ****|*****|*******
Pac Server : http://127.0.0.1:8086/proxy.pac
Pac File : file:///opt/goagent/local/proxy.pac
------------------------------------------------------
Traceback (most recent call last):
File "/opt/goagent/local/proxy.py", line 2122, in <module>
main()
File "/opt/goagent/local/proxy.py", line 2118, in main
server.serve_forever()
File "/usr/lib/python2.7/site-packages/gevent/baseserver.py", line 282, in serve_forever
self.start()
File "/usr/lib/python2.7/site-packages/gevent/baseserver.py", line 234, in start
self.init_socket()
File "/usr/lib/python2.7/site-packages/gevent/server.py", line 78, in init_socket
self.socket = self.get_listener(self.address, self.backlog, self.family)
File "/usr/lib/python2.7/site-packages/gevent/server.py", line 89, in get_listener
return _tcp_listener(address, backlog=backlog, reuse_addr=self.reuse_addr, family=family)
File "/usr/lib/python2.7/site-packages/gevent/server.py", line 153, in _tcp_listener
sock.bind(address)
File "<string>", line 1, in bind
socket.error: [Errno 98] Address already in use: ('127.0.0.1', 8087)
Exception KeyError: KeyError(139997541790896,) in <module 'threading' from '/usr/lib/python2.7/threading.pyc'> ignored
2.自己下载的:
------------------------------------------------------
GoAgent Version : 2.1.9 (python/2.7.4 gevent/1.0dev pyopenssl/0.13)
Listen Address : 127.0.0.1:8087
GAE Mode : https
GAE Profile : google_cn
GAE APPID : ****|*******|******
Pac Server : http://127.0.0.1:8086/proxy.pac
------------------------------------------------------
INFO - [Apr 13 10:01:24] Enable aggressive create_ssl_connection to connect google_hk
Traceback (most recent call last):
File "/home/cool/google_appengine/goagent/local/proxy.py", line 1829, in <module>
main()
File "/home/cool/google_appengine/goagent/local/proxy.py", line 1825, in main
server.serve_forever()
File "/usr/lib/python2.7/site-packages/gevent/baseserver.py", line 282, in serve_forever
self.start()
File "/usr/lib/python2.7/site-packages/gevent/baseserver.py", line 234, in start
self.init_socket()
File "/usr/lib/python2.7/site-packages/gevent/server.py", line 78, in init_socket
self.socket = self.get_listener(self.address, self.backlog, self.family)
File "/usr/lib/python2.7/site-packages/gevent/server.py", line 89, in get_listener
return _tcp_listener(address, backlog=backlog, reuse_addr=self.reuse_addr, family=family)
File "/usr/lib/python2.7/site-packages/gevent/server.py", line 153, in _tcp_listener
sock.bind(address)
File "<string>", line 1, in bind
socket.error: [Errno 98] Address already in use: ('127.0.0.1', 8087)
哪位大神知道怎么解决吗?
PS:今天看了看google code里的goagent.7z里面的README只有一句话:DON'T PANIC,告诉我们不要恐慌,但我已经在恐慌了*_*
最近编辑记录 极简主义 (2013-04-13 10:59:53)
离线
这种软件没出问题就不要升级,IgnorePKG = goagent hplip linux linux-headers
现在downgrade就行了。
离线
看错误可能是你开了多个goagent
离线
看错误可能是你开了多个goagent
确实!
今天升级时,pacman提示sudo systemctl enable goagent,照着做了,然后就挂了.
disable & stop就OK了!
多谢!
离线
今天升级时,pacman提示sudo systemctl enable goagent,照着做了,然后就挂了.
disable & stop就OK了!
多谢!
因为你错误信息贴得全知道的人一看就明白了 :-)
离线
xgdgscarch 说:看错误可能是你开了多个goagent
确实!
今天升级时,pacman提示sudo systemctl enable goagent,照着做了,然后就挂了.
disable & stop就OK了!
多谢!
enable 的意思是开机自动启动, 之后肯定不能再手动启动咯 :S
Felix Yan
Twitter: @felixonmars
Web: http://felixc.at
离线
页次: 1