{"action":"created","issue":{"url":"https://api.github.com/repos/erlio/vernemq/issues/104","repository_url":"https://api.github.com/repos/erlio/vernemq","labels_url":"https://api.github.com/repos/erlio/vernemq/issues/104/labels{/name}","comments_url":"https://api.github.com/repos/erlio/vernemq/issues/104/comments","events_url":"https://api.github.com/repos/erlio/vernemq/issues/104/events","html_url":"https://github.com/erlio/vernemq/issues/104","id":142877515,"number":104,"title":"VerneMQ is not starting on a new node","user":{"login":"sunnyjain1","id":16525561,"avatar_url":"https://avatars.githubusercontent.com/u/16525561?v=3","gravatar_id":"","url":"https://api.github.com/users/sunnyjain1","html_url":"https://github.com/sunnyjain1","followers_url":"https://api.github.com/users/sunnyjain1/followers","following_url":"https://api.github.com/users/sunnyjain1/following{/other_user}","gists_url":"https://api.github.com/users/sunnyjain1/gists{/gist_id}","starred_url":"https://api.github.com/users/sunnyjain1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sunnyjain1/subscriptions","organizations_url":"https://api.github.com/users/sunnyjain1/orgs","repos_url":"https://api.github.com/users/sunnyjain1/repos","events_url":"https://api.github.com/users/sunnyjain1/events{/privacy}","received_events_url":"https://api.github.com/users/sunnyjain1/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2016-03-23T06:51:24Z","updated_at":"2016-06-01T07:22:46Z","closed_at":"2016-05-05T09:23:16Z","body":"I created a new node using `make dev1`\r\n\r\nWhen I tried starting vernemq using `_build/dev1/rel/vernemq/bin/vernemq start`\r\n\r\nIt shows:\r\n```\r\n!!!!\r\n!!!! WARNING: ulimit -n is 2560; 65536 is the recommended minimum.\r\n!!!!\r\nvernemq failed to start within 15 seconds,\r\nsee the output of 'vernemq console' for more information.\r\nIf you want to wait longer, set the environment variable\r\nWAIT_FOR_ERLANG to the number of seconds to wait.\r\n```\r\n\r\n`_build/dev1/rel/vernemq/bin/vernemq console` shows:\r\n```\r\nUsage: /Users/sunnyjain/Desktop/vernemq/_build/dev1/rel/vernemq/bin/../erts-6.4/bin/cuttlefish\r\n  [-h] [-e [<etc_dir>]] [-d <dest_dir>] [-f [<dest_file>]]\r\n  [-s <schema_dir>] [-i <schema_file>] [-c <conf_file>] [-a <app_config>]\r\n  [-l [<log_level>]] [-p] [-m [<max_history>]]\r\n\r\n  -h, --help         Print this usage page\r\n  -e, --etc_dir      etc dir [default: /etc]\r\n  -d, --dest_dir     specifies the directory to write the config file to\r\n  -f, --dest_file    the file name to write [default: app]\r\n  -s, --schema_dir   a directory containing .schema files\r\n  -i, --schema_file  individual schema file, will be processed in command\r\n                     line order, after -s\r\n  -c, --conf_file    a cuttlefish conf file, multiple files allowed\r\n  -a, --app_config   the advanced erlangy app.config\r\n  -l, --log_level    log level for cuttlefish output [default: notice]\r\n  -p, --print        prints schema mappings on stderr\r\n  -m, --max_history  the maximum number of generated config files to keep\r\n                     [default: 3]\r\n\r\nError generating config with cuttlefish\r\n  run `vernemq config generate -l debug` for more information.\r\n```\r\nAnd `_build/dev1/rel/vernemq/bin/vernemq config generate -l debug` shows:\r\n```\r\n12:11:16.172 [debug] Lager installed handler error_logger_lager_h into error_logger\r\n12:11:16.183 [debug] Supervisor gr_param_sup started gr_param:start_link(gr_lager_default_tracer_params) at pid <0.50.0>\r\n12:11:16.183 [debug] Supervisor gr_counter_sup started gr_counter:start_link(gr_lager_default_tracer_counters) at pid <0.51.0>\r\n12:11:16.183 [debug] Supervisor gr_manager_sup started gr_manager:start_link(gr_lager_default_tracer_params_mgr, gr_lager_default_tracer_params, []) at pid <0.52.0>\r\n12:11:16.183 [debug] Supervisor gr_manager_sup started gr_manager:start_link(gr_lager_default_tracer_counters_mgr, gr_lager_default_tracer_counters, [{input,0},{filter,0},{output,0}]) at pid <0.53.0>\r\n12:11:16.473 [debug] Cuttlefish set to debug level logging\r\n12:11:16.473 [info] Application lager started on node nonode@nohost\r\nUsage: /Users/sunnyjain/Desktop/vernemq/_build/dev1/rel/vernemq/bin/../erts-6.4/bin/cuttlefish\r\n  [-h] [-e [<etc_dir>]] [-d <dest_dir>] [-f [<dest_file>]]\r\n  [-s <schema_dir>] [-i <schema_file>] [-c <conf_file>] [-a <app_config>]\r\n  [-l [<log_level>]] [-p] [-m [<max_history>]]\r\n\r\n  -h, --help         Print this usage page\r\n  -e, --etc_dir      etc dir [default: /etc]\r\n  -d, --dest_dir     specifies the directory to write the config file to\r\n  -f, --dest_file    the file name to write [default: app]\r\n  -s, --schema_dir   a directory containing .schema files\r\n  -i, --schema_file  individual schema file, will be processed in command\r\n                     line order, after -s\r\n  -c, --conf_file    a cuttlefish conf file, multiple files allowed\r\n  -a, --app_config   the advanced erlangy app.config\r\n  -l, --log_level    log level for cuttlefish output [default: notice]\r\n  -p, --print        prints schema mappings on stderr\r\n  -m, --max_history  the maximum number of generated config files to keep\r\n                     [default: 3]\r\n```\r\n\r\nI used this [Video](https://asciinema.org/a/chgu8z156pc9nqvv2ug7p4blr) to do it.\r\n\r\nAnd also I get this line extra on the top while creating new node which I didn't see in the video:\r\n`===> No entry for profile dev1 in config.` "},"comment":{"url":"https://api.github.com/repos/erlio/vernemq/issues/comments/222913520","html_url":"https://github.com/erlio/vernemq/issues/104#issuecomment-222913520","issue_url":"https://api.github.com/repos/erlio/vernemq/issues/104","id":222913520,"user":{"login":"ioolkos","id":282359,"avatar_url":"https://avatars.githubusercontent.com/u/282359?v=3","gravatar_id":"","url":"https://api.github.com/users/ioolkos","html_url":"https://github.com/ioolkos","followers_url":"https://api.github.com/users/ioolkos/followers","following_url":"https://api.github.com/users/ioolkos/following{/other_user}","gists_url":"https://api.github.com/users/ioolkos/gists{/gist_id}","starred_url":"https://api.github.com/users/ioolkos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ioolkos/subscriptions","organizations_url":"https://api.github.com/users/ioolkos/orgs","repos_url":"https://api.github.com/users/ioolkos/repos","events_url":"https://api.github.com/users/ioolkos/events{/privacy}","received_events_url":"https://api.github.com/users/ioolkos/received_events","type":"User","site_admin":false},"created_at":"2016-06-01T07:22:46Z","updated_at":"2016-06-01T07:22:46Z","body":"Hi!\r\nI understand you use the `make dev1 dev2` command?\r\nYou seem to be stuck after a node rename in the vernemq.conf\r\n\r\nFor the dev1 dev2 testing it's best to just leave the nodenames as they are. \r\nTo start/stop the server again, change the nodename back to how it was originally. (you also might play around with deleting the _build/dev1/rel/vernemq/data/meta folder."}}
{"actor":{"display_login":"ioolkos"}}