{"action":"created","issue":{"url":"https://api.github.com/repos/wzxjohn/moeSS/issues/41","labels_url":"https://api.github.com/repos/wzxjohn/moeSS/issues/41/labels{/name}","comments_url":"https://api.github.com/repos/wzxjohn/moeSS/issues/41/comments","events_url":"https://api.github.com/repos/wzxjohn/moeSS/issues/41/events","html_url":"https://github.com/wzxjohn/moeSS/issues/41","id":59202812,"number":41,"title":"一个moeSS如何管理多台VPS上的shadowsocks manyuser","user":{"login":"gaojifans","id":7163148,"avatar_url":"https://avatars.githubusercontent.com/u/7163148?v=3","gravatar_id":"","url":"https://api.github.com/users/gaojifans","html_url":"https://github.com/gaojifans","followers_url":"https://api.github.com/users/gaojifans/followers","following_url":"https://api.github.com/users/gaojifans/following{/other_user}","gists_url":"https://api.github.com/users/gaojifans/gists{/gist_id}","starred_url":"https://api.github.com/users/gaojifans/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gaojifans/subscriptions","organizations_url":"https://api.github.com/users/gaojifans/orgs","repos_url":"https://api.github.com/users/gaojifans/repos","events_url":"https://api.github.com/users/gaojifans/events{/privacy}","received_events_url":"https://api.github.com/users/gaojifans/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-02-27T08:03:23Z","updated_at":"2015-02-27T08:42:22Z","closed_at":"2015-02-27T08:42:22Z","body":"VPS A 搭建了moeSS + shadowsocks manyuser\r\nVPS B 只搭建了shadowsocks manyuser ，数据库配置的是用VPS A的\r\n现在想通过把VPS B上shadowsocks manyuser接入到VPS A上的 moeSS面板进行管理\r\nVPS A的Config.py 中的配置：\r\n#Config\r\nMYSQL_HOST = 'localhost'\r\nMYSQL_PORT = 3306\r\nMYSQL_USER = 'shadowsocks'\r\nMYSQL_PASS = 'password'\r\nMYSQL_DB = 'shadowsocks'\r\n\r\nMANAGE_PASS = '123456'\r\n#if you want manage in other server you should set this value to global ip\r\nMANAGE_BIND_IP = '107.170.250.196'\r\n#make sure this port is idle\r\nMANAGE_PORT = 23333\r\n\r\nVPS B的Config.py 中的配置：（VPS A IP=107.170.250.196）\r\n#Config\r\nMYSQL_HOST = '107.170.250.196'\r\nMYSQL_PORT = 3306\r\nMYSQL_USER = 'shadowsocks'\r\nMYSQL_PASS = 'password'\r\nMYSQL_DB = 'shadowsocks'\r\n\r\nMANAGE_PASS = '123456'\r\n#if you want manage in other server you should set this value to global ip\r\nMANAGE_BIND_IP = '107.170.250.196'\r\n#make sure this port is idle\r\nMANAGE_PORT = 23333\r\n\r\npython server.py启动 VPS B 上的出现以下错误：\r\n\r\nINFO: loading config from config.json\r\nshadowsocks 2.6.8\r\n2015-02-27 16:02:00 ERROR    [Errno 99] Cannot assign requested address\r\nTraceback (most recent call last):\r\n  File \"/home/shadowsocks/shadowsocks/server_pool.py\", line 64, in _loop\r\n    mgr.add_to_loop(loop)\r\n  File \"/home/shadowsocks/shadowsocks/asyncmgr.py\", line 49, in add_to_loop\r\n    self._sock.bind((Config.MANAGE_BIND_IP, Config.MANAGE_PORT))\r\n  File \"<string>\", line 1, in bind\r\nerror: [Errno 99] Cannot assign requested address\r\nUnhandled exception in thread started by <function _loop at 0xb72d6bfc>\r\nTraceback (most recent call last):\r\n  File \"/home/shadowsocks/shadowsocks/server_pool.py\", line 71, in _loop\r\n    os.exit(0)\r\nAttributeError: 'module' object has no attribute 'exit'\r\n\r\n求问，该如何解决"},"comment":{"url":"https://api.github.com/repos/wzxjohn/moeSS/issues/comments/76356784","html_url":"https://github.com/wzxjohn/moeSS/issues/41#issuecomment-76356784","issue_url":"https://api.github.com/repos/wzxjohn/moeSS/issues/41","id":76356784,"user":{"login":"wzxjohn","id":1193593,"avatar_url":"https://avatars.githubusercontent.com/u/1193593?v=3","gravatar_id":"","url":"https://api.github.com/users/wzxjohn","html_url":"https://github.com/wzxjohn","followers_url":"https://api.github.com/users/wzxjohn/followers","following_url":"https://api.github.com/users/wzxjohn/following{/other_user}","gists_url":"https://api.github.com/users/wzxjohn/gists{/gist_id}","starred_url":"https://api.github.com/users/wzxjohn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wzxjohn/subscriptions","organizations_url":"https://api.github.com/users/wzxjohn/orgs","repos_url":"https://api.github.com/users/wzxjohn/repos","events_url":"https://api.github.com/users/wzxjohn/events{/privacy}","received_events_url":"https://api.github.com/users/wzxjohn/received_events","type":"User","site_admin":false},"created_at":"2015-02-27T08:42:22Z","updated_at":"2015-02-27T08:42:22Z","body":"配置问题，特别是与项目无关的配置问题请不要发 issue。已邮件回答。"}}