{"action":"created","issue":{"url":"https://api.github.com/repos/facebook/mcrouter/issues/85","labels_url":"https://api.github.com/repos/facebook/mcrouter/issues/85/labels{/name}","comments_url":"https://api.github.com/repos/facebook/mcrouter/issues/85/comments","events_url":"https://api.github.com/repos/facebook/mcrouter/issues/85/events","html_url":"https://github.com/facebook/mcrouter/issues/85","id":103639249,"number":85,"title":"start mcrouter with flavor, start up with error \" invalid ports\",please help","user":{"login":"meishd","id":13401014,"avatar_url":"https://avatars.githubusercontent.com/u/13401014?v=3","gravatar_id":"","url":"https://api.github.com/users/meishd","html_url":"https://github.com/meishd","followers_url":"https://api.github.com/users/meishd/followers","following_url":"https://api.github.com/users/meishd/following{/other_user}","gists_url":"https://api.github.com/users/meishd/gists{/gist_id}","starred_url":"https://api.github.com/users/meishd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/meishd/subscriptions","organizations_url":"https://api.github.com/users/meishd/orgs","repos_url":"https://api.github.com/users/meishd/repos","events_url":"https://api.github.com/users/meishd/events{/privacy}","received_events_url":"https://api.github.com/users/meishd/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-08-28T03:15:01Z","updated_at":"2015-08-28T03:22:47Z","closed_at":null,"body":"[root@lin-188-171 mcrouter]# cat myflavor-standalone \r\n{\r\n  \"libmcrouter_options\": {\r\n    \"config_file\": \"/root/mcrouter/mcrouter.conf\",\r\n    \"async_dir\": \"/root/mcrouter/spool\"\r\n  },\r\n  \"standalone_options\": {\r\n    \"log_file\": \"/root/mcrouter/mcrouter.log\",\r\n    \"ports\": \"11200\"\r\n  }\r\n}\r\n[root@lin-188-171 mcrouter]# \r\n[root@lin-188-171 mcrouter]# mcrouter myflavor-standalone \r\nE0828 11:12:40.998445 26729 mcrouter_config.cpp:30] CRITICAL: Couldn't initialize from standalone flavor file myflavor-standalone\r\nI0828 11:12:40.998965 26729 main.cpp:389] mcrouter myflavor-standalone \r\nE0828 11:12:40.998986 26729 main.cpp:318] invalid ports\r\nmcrouter 6.0.0\r\nusage: mcrouter [options] -p port(s) -f config\r\n\r\nlibmcrouter options:\r\n"},"comment":{"url":"https://api.github.com/repos/facebook/mcrouter/issues/comments/135622465","html_url":"https://github.com/facebook/mcrouter/issues/85#issuecomment-135622465","issue_url":"https://api.github.com/repos/facebook/mcrouter/issues/85","id":135622465,"user":{"login":"meishd","id":13401014,"avatar_url":"https://avatars.githubusercontent.com/u/13401014?v=3","gravatar_id":"","url":"https://api.github.com/users/meishd","html_url":"https://github.com/meishd","followers_url":"https://api.github.com/users/meishd/followers","following_url":"https://api.github.com/users/meishd/following{/other_user}","gists_url":"https://api.github.com/users/meishd/gists{/gist_id}","starred_url":"https://api.github.com/users/meishd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/meishd/subscriptions","organizations_url":"https://api.github.com/users/meishd/orgs","repos_url":"https://api.github.com/users/meishd/repos","events_url":"https://api.github.com/users/meishd/events{/privacy}","received_events_url":"https://api.github.com/users/meishd/received_events","type":"User","site_admin":false},"created_at":"2015-08-28T03:22:47Z","updated_at":"2015-08-28T03:22:47Z","body":"startup with options in command is OK:\r\n[root@lin-188-171 mcrouter]# nohup mcrouter -p 11200 -f /root/mcrouter/mcrouter.conf -a /root/mcrouter/spool >/root/mcrouter/mcrouter.log 2>&1 &\r\n[1] 26730\r\n[root@lin-188-171 mcrouter]# ps -ef | grep mcrouter.\r\nroot     26730 26631  0 11:15 pts/0    00:00:00 mcrouter -p 11200 -f /root/mcrouter/mcrouter.conf -a /root/mcrouter/spool\r\nroot     26740 26631  0 11:15 pts/0    00:00:00 grep mcrouter.\r\n[root@lin-188-171 mcrouter]# more mcrouter.log \r\nnohup: 忽略输入\r\nI0828 11:15:44.177534 26730 main.cpp:389] mcrouter -p 11200 -f /root/mcrouter/mcrouter.conf -a /root/mcrouter/spool \r\nI0828 11:15:44.177777 26730 main.cpp:490] mcrouter 6.0.0 startup (26730)\r\nI0828 11:15:44.177839 26730 server.cpp:157] Spawning AsyncMcServer\r\nI0828 11:15:44.193786 26730 McrouterInstance.cpp:558] reconfigured 1 proxies with 8 clients (660b2fc28d964bf5aa3f7486b7a9eea4)\r\n"}}