您尚未登录。

#1 2013-04-13 10:06:18

极简主义
会员
注册时间: 2013-04-06
帖子: 64

goagent貌似又挂了*_*(已解决!本坛解决问题的速度真的很赞!!!)

今天早上发现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)

离线

#2 2013-04-13 10:41:16

xgdgscarch
会员
注册时间: 2012-05-07
帖子: 191

Re: goagent貌似又挂了*_*(已解决!本坛解决问题的速度真的很赞!!!)

这种软件没出问题就不要升级,IgnorePKG = goagent hplip linux linux-headers
现在downgrade就行了。

离线

#3 2013-04-13 10:42:38

xgdgscarch
会员
注册时间: 2012-05-07
帖子: 191

Re: goagent貌似又挂了*_*(已解决!本坛解决问题的速度真的很赞!!!)

看错误可能是你开了多个goagent

离线

#4 2013-04-13 10:58:20

极简主义
会员
注册时间: 2013-04-06
帖子: 64

Re: goagent貌似又挂了*_*(已解决!本坛解决问题的速度真的很赞!!!)

xgdgscarch 说:

看错误可能是你开了多个goagent

确实!
今天升级时,pacman提示sudo systemctl enable goagent,照着做了,然后就挂了.
disable & stop就OK了!
多谢!

离线

#5 2013-04-13 22:02:27

依云
会员
所在地: a.k.a. 百合仙子
注册时间: 2011-08-21
帖子: 8,917
个人网站

Re: goagent貌似又挂了*_*(已解决!本坛解决问题的速度真的很赞!!!)

极简主义 说:

今天升级时,pacman提示sudo systemctl enable goagent,照着做了,然后就挂了.
disable & stop就OK了!
多谢!

因为你错误信息贴得全知道的人一看就明白了 :-)

离线

#6 2013-04-27 12:28:21

felixonmars
Arch Linux Developer
所在地: Wuhan, Hubei, China
注册时间: 2011-08-21
帖子: 148
个人网站

Re: goagent貌似又挂了*_*(已解决!本坛解决问题的速度真的很赞!!!)

极简主义 说:
xgdgscarch 说:

看错误可能是你开了多个goagent

确实!
今天升级时,pacman提示sudo systemctl enable goagent,照着做了,然后就挂了.
disable & stop就OK了!
多谢!

enable 的意思是开机自动启动, 之后肯定不能再手动启动咯 :S


Felix Yan
Twitter: @felixonmars
Web: http://felixc.at
tongue

离线

页脚