Problem starting MongooseIM

Home Forums MongooseIM Problem starting MongooseIM

This topic contains 4 replies, has 3 voices, and was last updated by  yogenr 5 months ago.

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #55142

    yogenr
    Member

    Hi All,

    I am new to MongooseIM. I have successfully installed MongooseIM 1.5 on OS X 10.10. However when I enter ‘mongooseim start’ nothing happens, when I enter ‘mongooseim ping’ the following error is returned ‘Node mongooseim@localhost not responding to pings’. If I enter ‘mongooseim version’ I get a response ‘MongooseIM version 1.5.0′.

    I am not sure what else I need to do to start a MongooseIM node in server mode.

    Any help is greatly appreciated.

    Thanks

    #55143

    mariodlg
    Member

    Try mongooseimctl start and then see what is in ejabberd.log file, or better include the log file errors here, so we can help.

    #55144

    yogenr
    Member

    Thanks for your response mariodlg.

    I tried ‘mongooseimctl start’ but nothing happened. I searched for ejabberd.log but did not find it.

    ymac:~ yogenreddy$ mongooseim start
    ymac:~ yogenreddy$ mongooseim ping
    Node mongooseim@localhost not responding to pings.
    ymac:~ yogenreddy$ mongooseimctl start
    ymac:~ yogenreddy$

    #55145

    tele
    Member

    Try with:

    mongooseim console

    And see what error it gives you on console

    #55247

    yogenr
    Member

    Thanks for your response tele.

    ymac:~ yogenreddy$ mongooseim console
    Exec: /usr/local/lib/mongooseim/erts-6.2/bin/erlexec -boot /usr/local/lib/mongooseim/releases//mongooseim -embedded -config /usr/local/lib/mongooseim/etc/app.config -args_file /usr/local/lib/mongooseim/etc/vm.args — console
    Root: /usr/local/lib/mongooseim
    Erlang/OTP 17 [erts-6.2] [source-aaaefb3] [64-bit] [smp:2:2] [async-threads:5] [hipe] [kernel-poll:true]

    2015-03-29 09:50:04.485 [error] <0.50.0>@lager_file_backend:116 Failed to open log file log/ejabberd.log with error permission denied
    2015-03-29 09:50:04.638 [info] <0.7.0> Application lager started on node mongooseim@localhost
    2015-03-29 09:50:04.641 [info] <0.7.0> Application ranch started on node mongooseim@localhost
    2015-03-29 09:50:04.713 [info] <0.7.0> Application mnesia started on node mongooseim@localhost
    2015-03-29 09:50:04.713 [info] <0.7.0> Application asn1 started on node mongooseim@localhost
    2015-03-29 09:50:04.714 [info] <0.7.0> Application public_key started on node mongooseim@localhost
    2015-03-29 09:50:04.732 [info] <0.7.0> Application sasl started on node mongooseim@localhost
    2015-03-29 09:50:04.744 [info] <0.7.0> Application ssl started on node mongooseim@localhost
    2015-03-29 09:50:04.749 [info] <0.7.0> Application p1_stringprep started on node mongooseim@localhost
    2015-03-29 09:50:04.776 [info] <0.7.0> Application inets started on node mongooseim@localhost
    2015-03-29 09:50:04.776 [info] <0.7.0> Application exml started on node mongooseim@localhost
    2015-03-29 09:50:04.777 [info] <0.7.0> Application cowlib started on node mongooseim@localhost
    2015-03-29 09:50:04.783 [info] <0.7.0> Application cowboy started on node mongooseim@localhost
    2015-03-29 09:50:04.789 [notice] <0.50.0>@lager_file_backend:128 Changed loglevel of log/ejabberd.log to info
    2015-03-29 09:50:04.830 [info] <0.7.0> Application mnesia exited with reason: stopped
    2015-03-29 09:50:04.972 [error] <0.52.0>@lager_crash_log:76 Failed to open crash log file log/crash.log with error: permission denied
    2015-03-29 09:50:05.717 [error] <0.131.0> CRASH REPORT Process <0.131.0> with 0 neighbours exited with reason: {aborted,{no_exists,[passwd,[{{passwd,'$1','_'},[{'==',{element,2,'$1'},<<"localhost">>}],['$1']}]]}} in application_master:init/4 line 133
    {“Kernel pid terminated”,application_controller,”{application_start_failure,ejabberd,{bad_return,{{ejabberd_app,start,[normal,[]]},{‘EXIT’,{aborted,{no_exists,[passwd,[{{passwd,'$1','_'},[{'==',{element,2,'$1'},<<\"localhost\">>}],['$1']}]]}}}}}}”}
    Kernel pid terminated (application_controller) ({application_start_failure,ejabberd,{bad_return,{{ejabberd_app,start,[normal,[]]},{‘EXIT’,{aborted,{no_exists,[passwd,[{{passwd,’$1′,’_'},[{‘==’,{elem
    ymac:~ yogenreddy$

    This revealed that I did not have permissions on the relevant files and folders. I resolved this by selecting ‘Get Info’ on the mongooseim folder and under ‘Sharing and Permissions’, added my account with ‘Read and Write’ access. Happy days…

    Thanks to all who responded. Much appreciated.

Viewing 5 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.