{"action":"closed","issue":{"url":"https://api.github.com/repos/tencent-wechat/phxsql/issues/4","repository_url":"https://api.github.com/repos/tencent-wechat/phxsql","labels_url":"https://api.github.com/repos/tencent-wechat/phxsql/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/tencent-wechat/phxsql/issues/4/comments","events_url":"https://api.github.com/repos/tencent-wechat/phxsql/issues/4/events","html_url":"https://github.com/tencent-wechat/phxsql/issues/4","id":174230682,"number":4,"title":"an error  No such file or directory: '/usr/phxsql//etc/my.cnf'  happened , when executing install.py","user":{"login":"theseusyang","id":863136,"avatar_url":"https://avatars.githubusercontent.com/u/863136?v=3","gravatar_id":"","url":"https://api.github.com/users/theseusyang","html_url":"https://github.com/theseusyang","followers_url":"https://api.github.com/users/theseusyang/followers","following_url":"https://api.github.com/users/theseusyang/following{/other_user}","gists_url":"https://api.github.com/users/theseusyang/gists{/gist_id}","starred_url":"https://api.github.com/users/theseusyang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/theseusyang/subscriptions","organizations_url":"https://api.github.com/users/theseusyang/orgs","repos_url":"https://api.github.com/users/theseusyang/repos","events_url":"https://api.github.com/users/theseusyang/events{/privacy}","received_events_url":"https://api.github.com/users/theseusyang/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":11,"created_at":"2016-08-31T09:50:15Z","updated_at":"2016-09-01T03:40:51Z","closed_at":"2016-09-01T03:40:51Z","body":"when executing this install command line:\r\n\r\n`python install.py -i loalhost -p 54321 -g 6000 -y 11111 -P 17000 -a 8001 -f/tmp/data/`\r\n\r\nNamespace(agent_port=6000, base_dir='/usr/phxsql/', data_dir='/tmp/data/', inner_ip='192.168.56.102', ip_list='192.168.56.102', module_name='test', mysql_port=11111, paxos_port=8001, phxbinlogsvr_port=17000, phxsqlproxy_port=54321, process_name='all')\r\nkill all binaries success....\r\nTraceback (most recent call last):\r\n  File \"install.py\", line 89, in <module>\r\n    generate_config_ret = cg.generate_config()\r\n  File \"/usr/phxsql/tools/config_generator.py\", line 17, in generate_config\r\n    ret = self.generate_mysql_config()\r\n  File \"/usr/phxsql/tools/config_generator.py\", line 49, in generate_mysql_config\r\n    cp.write( open( '%s/etc/my.cnf'%self.m_args.base_dir, 'w' ) )\r\nIOError: [Errno 2] No such file or directory: '/usr/phxsql//etc/my.cnf'"}}
{"actor":{"display_login":"mariohuang"}}