CouchDB on Ubuntu VM in Azure does not start -


i evaluating couchdb new project perfect fit instead of db use (mongo). however, installation seems have problems. have installed dependencies with

sudo apt-get install build-essential sudo apt-get install erlang-base-hipe sudo apt-get install erlang-dev sudo apt-get install erlang-manpages sudo apt-get install erlang-eunit sudo apt-get install erlang-nox sudo apt-get install libicu-dev sudo apt-get install libmozjs-dev sudo apt-get install libcurl4-openssl-dev 

and went rep installation. however, if start service seems start, when entering db couchdb error message

apache couchdb 1.5.0 (loglevel=info) starting. failure start mochiweb: eaddrinuse [error] [<0.107.0>] {error_report,<0.31.0>,                      {<0.107.0>,crash_report,                       [[{initial_call,                          {mochiweb_socket_server,init,['argument__1']}},                         {pid,<0.107.0>},                         {registered_name,[]},                         {error_info,                          {exit,eaddrinuse,                           [{gen_server,init_it,6,                             [{file,"gen_server.erl"},{line,320}]},                            {proc_lib,init_p_do_apply,3,                             [{file,"proc_lib.erl"},{line,239}]}]}},                         {ancestors,                          [couch_secondary_services,couch_server_sup,<0.32.0>]},                         {messages,[]},                         {links,[<0.94.0>]},                         {dictionary,[]},                         {trap_exit,true},                         {status,running},                         {heap_size,987},                         {stack_size,27},                         {reductions,597}],                        []]}} {"init terminating in do_boot",{{badmatch,{error,{bad_return,{{couch_app,start,[normal,["/etc/couchdb/default.ini","/etc/couchdb/local.ini"]]},{'exit',{{badmatch,{error,{shutdown,{failed_to_start_child,couch_secondary_services,{shutdown,{failed_to_start_child,httpd,eaddrinuse}}}}}},[{couch_server_sup,start_server,1,[{file,"couch_server_sup.erl"},{line,98}]},{application_master,start_it_old,4,[{file,"application_master.erl"},{line,269}]}]}}}}}},[{couch,start,0,[{file,"couch.erl"},{line,18}]},{init,start_it,1,[]},{init,start_em,1,[]}]}}  crash dump written to: erl_crash.dump init terminating in do_boot () 

thanks suggestion , please remember first time user of couchdb.

it looks problem fact did not open port on azure vm. posting in case gets same problem.


Comments