Hrm, no clue then. Will need a Windows/Erlang developer. B.
On 30 Jan 2014, at 14:51, Boaz Citrin <[email protected]> wrote: > it is there. no problem to run that command. > > > On Thu, Jan 30, 2014 at 4:42 PM, Robert Samuel Newson > <[email protected]>wrote: > >> The error is; >> >> {enoent, [{erlang,open_port, [{spawn, "c:/PROGRA~2/Apache Software >> Foundation/CouchDB/lib/os_mon-2.2.7/priv/bin/win32sysinfo.exe"} >> >> Meaning it can't find that to launch it. Does it exist? Or is ~2 or the >> spaces confusing erlang? >> >> B. >> >> On 30 Jan 2014, at 14:39, Boaz Citrin <[email protected]> wrote: >> >>> any idea why it happens? any way to overcome it? any way to workaround >> it? >>> >>> Thanks!! >>> >>> >>> On Thu, Jan 30, 2014 at 4:32 PM, Robert Samuel Newson < >> [email protected]>wrote: >>> >>>> we should make os_mon optional (it's buggy/broken in other situations, >>>> like if a mountpoint has a space in the name..) >>>> >>>> It exists only for the compaction daemon which is disabled by default, >> so >>>> this is just breaking you for no upside. >>>> >>>> B. >>>> >>>> On 30 Jan 2014, at 14:24, Boaz Citrin <[email protected]> wrote: >>>> >>>>> attached crash dump >>>>> >>>>> >>>>> On Thu, Jan 30, 2014 at 4:22 PM, Boaz Citrin <[email protected]> >> wrote: >>>>> C:\Program Files (x86)\Apache Software Foundation\CouchDB\bin>erl >>>>> >>>>> Eshell V5.8.5 (abort with ^G) >>>>> 1> application:start(sasl). >>>>> ok >>>>> >>>>> =PROGRESS REPORT==== 30-Jan-2014::14:20:21 === >>>>> supervisor: {local,sasl_safe_sup} >>>>> started: [{pid,<0.37.0>}, >>>>> {name,alarm_handler}, >>>>> {mfargs,{alarm_handler,start_link,[]}}, >>>>> {restart_type,permanent}, >>>>> {shutdown,2000}, >>>>> {child_type,worker}] >>>>> 2> >>>>> =PROGRESS REPORT==== 30-Jan-2014::14:20:21 === >>>>> supervisor: {local,sasl_safe_sup} >>>>> started: [{pid,<0.38.0>}, >>>>> {name,overload}, >>>>> {mfargs,{overload,start_link,[]}}, >>>>> {restart_type,permanent}, >>>>> {shutdown,2000}, >>>>> {child_type,worker}] >>>>> 2> >>>>> =PROGRESS REPORT==== 30-Jan-2014::14:20:21 === >>>>> supervisor: {local,sasl_sup} >>>>> started: [{pid,<0.36.0>}, >>>>> {name,sasl_safe_sup}, >>>>> {mfargs, >>>>> {supervisor,start_link, >>>>> [{local,sasl_safe_sup},sasl,safe]}}, >>>>> {restart_type,permanent}, >>>>> {shutdown,infinity}, >>>>> {child_type,supervisor}] >>>>> 2> >>>>> =PROGRESS REPORT==== 30-Jan-2014::14:20:21 === >>>>> supervisor: {local,sasl_sup} >>>>> started: [{pid,<0.39.0>}, >>>>> {name,release_handler}, >>>>> {mfargs,{release_handler,start_link,[]}}, >>>>> {restart_type,permanent}, >>>>> {shutdown,2000}, >>>>> {child_type,worker}] >>>>> 2> >>>>> =PROGRESS REPORT==== 30-Jan-2014::14:20:21 === >>>>> application: sasl >>>>> started_at: nonode@nohost >>>>> 2> application:start(os_mon). >>>>> {error,{shutdown,{os_mon,start,[normal,[]]}}} >>>>> >>>>> =CRASH REPORT==== 30-Jan-2014::14:21:16 === >>>>> crasher: >>>>> initial call: os_mon_sysinfo:init/1 >>>>> pid: <0.46.0> >>>>> registered_name: [] >>>>> exception exit: {enoent, >>>>> [{erlang,open_port, >>>>> [{spawn, >>>>> "c:/PROGRA~2/Apache Software >>>> Foundation/CouchD >>>>> B/lib/os_mon-2.2.7/priv/bin/win32sysinfo.exe"}, >>>>> [{packet,1}]]}, >>>>> {os_mon_sysinfo,start_portprogram,0}, >>>>> {os_mon_sysinfo,init,1}, >>>>> {gen_server,init_it,6}, >>>>> {proc_lib,init_p_do_apply,3}]} >>>>> in function gen_server:init_it/6 >>>>> ancestors: [os_mon_sup,<0.44.0>] >>>>> messages: [] >>>>> links: [<0.45.0>] >>>>> dictionary: [] >>>>> trap_exit: true >>>>> status: running >>>>> heap_size: 987 >>>>> stack_size: 24 >>>>> reductions: 444 >>>>> neighbours: >>>>> 3> >>>>> =SUPERVISOR REPORT==== 30-Jan-2014::14:21:16 === >>>>> Supervisor: {local,os_mon_sup} >>>>> Context: start_error >>>>> Reason: {enoent, >>>>> [{erlang,open_port, >>>>> [{spawn, >>>>> "c:/PROGRA~2/Apache Software >>>> Foundation/CouchDB/l >>>>> ib/os_mon-2.2.7/priv/bin/win32sysinfo.exe"}, >>>>> [{packet,1}]]}, >>>>> {os_mon_sysinfo,start_portprogram,0}, >>>>> {os_mon_sysinfo,init,1}, >>>>> {gen_server,init_it,6}, >>>>> {proc_lib,init_p_do_apply,3}]} >>>>> Offender: [{pid,undefined}, >>>>> {name,os_mon_sysinfo}, >>>>> {mfargs,{os_mon_sysinfo,start_link,[]}}, >>>>> {restart_type,permanent}, >>>>> {shutdown,2000}, >>>>> {child_type,worker}] >>>>> >>>>> 3> >>>>> =INFO REPORT==== 30-Jan-2014::14:21:16 === >>>>> application: os_mon >>>>> exited: {shutdown,{os_mon,start,[normal,[]]}} >>>>> type: temporary >>>>> 3> >>>>> >>>>> >>>>> On Thu, Jan 30, 2014 at 4:09 PM, Robert Samuel Newson < >>>> [email protected]> wrote: >>>>> application:start(sasl). ;) >>>>> >>>>> B. >>>>> >>>>> On 30 Jan 2014, at 13:39, Boaz Citrin <[email protected]> wrote: >>>>> >>>>>> Got: >>>>>> >>>>>> {error,{not_started,sasl}} >>>>>> >>>>>> >>>>>> On Thu, Jan 30, 2014 at 1:06 PM, Robert Samuel Newson < >>>> [email protected]>wrote: >>>>>> >>>>>>> Try 'erl' (or 'werl'?) then 'application:start(os_mon).' excluding >>>> single >>>>>>> quotes and including the dot, and report what it says. >>>>>>> >>>>>>> >>>>>>> On 30 Jan 2014, at 10:54, Boaz Citrin <[email protected]> wrote: >>>>>>> >>>>>>>> Hello, >>>>>>>> >>>>>>>> Service starts successfully but cannot connect.Tried netstat but >>>> don't >>>>>>> see >>>>>>>> the port used. >>>>>>>> >>>>>>>> No log file created. >>>>>>>> >>>>>>>> Trying to run from Start menu (couchdb.bat) I get this in Erlan >>>> console: >>>>>>>> >>>>>>>> --- >>>>>>>> >>>>>>>> Erlang R14B04 (erts-5.8.5) [source] [smp:16:16] [rq:16] >>>> [async-threads:0] >>>>>>>> >>>>>>>> Eshell V5.8.5 (abort with ^G) >>>>>>>> 1> {"init terminating in >>>>>>>> >>>>>>> >>>> >> do_boot",{{badmatch,{error,{{app_would_not_start,os_mon},{couch_app,start,[normal,["../etc/couchdb/default.ini","../etc/couchdb/local.ini"]]}}}},[{couch,start,0},{init,start_it,1},{init,start_em,1}]}} >>>>>>>> >>>>>>>> Crash dump was written to: erl_crash.dump >>>>>>>> init terminating in do_boot () >>>>>>>> >>>>>>>> >>>>>>>> Abnormal termination >>>>>>>> >>>>>>>> --- >>>>>>>> >>>>>>>> And erl_crash.dump was not found on the machine... >>>>>>>> >>>>>>>> Thanks, >>>>>>>> >>>>>>>> Boaz >>>>>>> >>>>>>> >>>>> >>>>> >>>>> >>>> >>>> >> >>
