{"action":"created","issue":{"url":"https://api.github.com/repos/processone/ejabberd/issues/1505","repository_url":"https://api.github.com/repos/processone/ejabberd","labels_url":"https://api.github.com/repos/processone/ejabberd/issues/1505/labels{/name}","comments_url":"https://api.github.com/repos/processone/ejabberd/issues/1505/comments","events_url":"https://api.github.com/repos/processone/ejabberd/issues/1505/events","html_url":"https://github.com/processone/ejabberd/issues/1505","id":204188960,"number":1505,"title":"ejabberd 17.01 has problem in starting up when captcha is enabled","user":{"login":"cmeng-git","id":7959606,"avatar_url":"https://avatars.githubusercontent.com/u/7959606?v=3","gravatar_id":"","url":"https://api.github.com/users/cmeng-git","html_url":"https://github.com/cmeng-git","followers_url":"https://api.github.com/users/cmeng-git/followers","following_url":"https://api.github.com/users/cmeng-git/following{/other_user}","gists_url":"https://api.github.com/users/cmeng-git/gists{/gist_id}","starred_url":"https://api.github.com/users/cmeng-git/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cmeng-git/subscriptions","organizations_url":"https://api.github.com/users/cmeng-git/orgs","repos_url":"https://api.github.com/users/cmeng-git/repos","events_url":"https://api.github.com/users/cmeng-git/events{/privacy}","received_events_url":"https://api.github.com/users/cmeng-git/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2017-01-31T02:29:10Z","updated_at":"2017-02-10T12:29:08Z","closed_at":"2017-02-10T12:29:08Z","body":"> What version of ejabberd are you using?\r\n\r\nversion 17.01\r\n\r\n> What operating system (version) are you using?\r\n\r\nUbuntu 16.04\r\n\r\n> How did you install ejabberd (source, package, distribution)?\r\n\r\nCompiled from source\r\n\r\n> What did not work as expected? Are there error messages in the log? What\r\n> was the unexpected behavior? What was the expected result?\r\n\r\nOn system startup, ejabberd 17.01 has error in captcha option initialization: Following is the log of the problem.\r\nManual start up the ejabberd with $sudo /etc/init.d/ejabberd start is OK.\r\n\r\n---------------- ejabberd.log ---------------------\r\n```\r\n2017-01-31 10:13:24.769 [debug] <0.410.0> Supervisor ejabberd_sup started\r\n ejabberd_local:start_link() at pid <0.433.0>\r\n2017-01-31 10:13:29.773 [error] <0.435.0>@ejabberd_captcha:do_create_image:342\r\n Failed to process an output from \"/usr/lib/ejabberd/priv/bin/captcha.sh 357921\": timeout\r\n2017-01-31 10:13:29.773 [critical] <0.435.0>@ejabberd_captcha:check_captcha_setup:489\r\n Captcha is enabled in the option captcha_cmd, but it can't generate images.\r\n2017-01-31 10:13:29.773 [error] <0.435.0> CRASH REPORT\r\n Process ejabberd_captcha with 0 neighbours exited with reason:\r\n bad return value: {error,captcha_cmd_enabled_but_fails} in gen_server:init_it/6 line 356\r\n2017-01-31 10:13:29.774 [error] <0.410.0>\r\n Supervisor ejabberd_sup had child ejabberd_captcha\r\n started with ejabberd_captcha:start_link() at undefined exit with reason\r\n bad return value: {error,captcha_cmd_enabled_but_fails} in context start_error\r\n2017-01-31 10:13:30.386 [info] <0.31.0> Application p1_mysql started on node ejabberd@engsvr\r\n2017-01-31 10:13:30.386 [error] <0.62.0> CRASH REPORT\r\n Process <0.62.0> with 0 neighbours exited with reason:\r\n no such process or port in call to\r\n gen_server:call(ejabberd_sup, {start_child,{'ejabberd_sql_sup_atalk.org',\r\n {ejabberd_sql_sup,start_link,[<<\"atalk.org\">>]},transient,...}}, infinity)\r\n in application_master:init/4 line 134\r\n2017-01-31 10:13:30.387 [info] <0.31.0> Application ejabberd exited with reason:\r\n no such process or port in call to gen_server:call(ejabberd_sup,\r\n {start_child,{'ejabberd_sql_sup_atalk.org',\r\n {ejabberd_sql_sup,start_link,[<<\"atalk.org\">>]},transient,...}}, infinity)\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/processone/ejabberd/issues/comments/278931379","html_url":"https://github.com/processone/ejabberd/issues/1505#issuecomment-278931379","issue_url":"https://api.github.com/repos/processone/ejabberd/issues/1505","id":278931379,"user":{"login":"badlop","id":96807,"avatar_url":"https://avatars.githubusercontent.com/u/96807?v=3","gravatar_id":"","url":"https://api.github.com/users/badlop","html_url":"https://github.com/badlop","followers_url":"https://api.github.com/users/badlop/followers","following_url":"https://api.github.com/users/badlop/following{/other_user}","gists_url":"https://api.github.com/users/badlop/gists{/gist_id}","starred_url":"https://api.github.com/users/badlop/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/badlop/subscriptions","organizations_url":"https://api.github.com/users/badlop/orgs","repos_url":"https://api.github.com/users/badlop/repos","events_url":"https://api.github.com/users/badlop/events{/privacy}","received_events_url":"https://api.github.com/users/badlop/received_events","type":"User","site_admin":false},"created_at":"2017-02-10T12:29:08Z","updated_at":"2017-02-10T12:29:08Z","body":"The original problem does not appear, so this ticket is closed. If there is another problem, it takes another ticket."}}
{"actor":{"display_login":"badlop"}}