incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dave Cottlehuber <d...@muse.net.nz>
Subject Re: New Install on Windows 2011 SBS
Date Tue, 19 Jun 2012 11:38:22 GMT
On 18 June 2012 18:18, Ronnie F. Moller, Jr.
<ronnie@redbaronconsulting.com> wrote:
>> -----Original Message-----
>> From: Dave Cottlehuber [mailto:dave@muse.net.nz]
>> Sent: Monday, June 18, 2012 10:13 AM
>> To: Ronnie F. Moller, Jr.
>> Subject: Re: New Install on Windows 2011 SBS
>>
>> On 18 June 2012 14:27, Ronnie F. Moller, Jr.
>> <ronnie@redbaronconsulting.com> wrote:
>> > I cannot find any differences between sbs2011 and 2008r2. In fact, this
>> documents claims that it is a 2008R2 server integrated.
>> >
>> >
>> http://www.google.com/url?sa=t&rct=j&q=&esrc=s&source=web&cd=3&ve
>> d=0CGIQFjAC&url=http%3A%2F%2Fdownload.microsoft.com%2Fdownload%
>> 2F4%2F8%2F6%2F486BFC1A-C7E8-4E25-ACD1-
>> F4B3910829F5%2FCompare%2520SBS%25202011%2520Family%2520Features.
>> pdf&ei=Ax7fT_vVB8Te2QWY76CUAQ&usg=AFQjCNHHEjAYnMwa500AQi8GI
>> VLitB4N5A&sig2=TF98KsiJ4fC1yxSGXB9PDw
>> >
>> >
>> > Here is the output of the requested commands.
>> > ----------------------------------------------------
>> > c:\>cd /
>> >
>> > c:\>pushd "c:\Program Files (x86)\Apache Software
>> Foundation\CouchDB\bin"
>> >
>> > c:\Program Files (x86)\Apache Software Foundation\CouchDB\bin>erl -
>> init_debug
>> > {progress,preloaded}
>> > {progress,kernel_load_completed}
>> > {progress,modules_loaded}
>> > {start,heart}
>> > {start,error_logger}
>> > {start,application_controller}
>> > {progress,init_kernel_started}
>> > {apply,{application,load,[{application,stdlib,[{description,"ERTS  CXC 138
10"
>> >
>> {vsn,"1.18"},{id,[]},{modules,[array,base64,beam_lib,binary,c,calendar,dets,
>> de
>> >
>> _server,dets_sup,dets_utils,dets_v8,dets_v9,dict,digraph,digraph_utils,edli
>> n,e
>> >
>> in_expand,epp,eval_bits,erl_bits,erl_compile,erl_eval,erl_expand_records,
>> erl_i
>> >
>> ernal,erl_lint,erl_parse,erl_posix_msg,erl_pp,erl_scan,erl_tar,error_logger_
>> fi
>> >
>> _h,error_logger_tty_h,escript,ets,file_sorter,filelib,filename,gb_trees,gb_se
>> t
>> >
>> gen,gen_event,gen_fsm,gen_server,io,io_lib,io_lib_format,io_lib_fread,io_l
>> ib_p
>> >
>> tty,lib,lists,log_mf_h,math,ms_transform,orddict,ordsets,otp_internal,pg,po
>> ol,
>> >
>> oc_lib,proplists,qlc,qlc_pt,queue,random,re,sets,shell,shell_default,slave,so
>> f
>> >
>> string,supervisor,supervisor_bridge,sys,timer,unicode,win32reg,zip]},{regist
>> er
>> >
>> ,[timer_server,rsh_starter,take_over_monitor,pool_master,dets]},{applicati
>> ons,
>> >
>> ernel]},{included_applications,[]},{env,[]},{start_phases,undefined},{maxT,i
>> nf
>> > ity},{maxP,infinity}]}]}}
>> > {progress,applications_loaded}
>> > {apply,{application,start_boot,[kernel,permanent]}}
>> > {apply,{application,start_boot,[stdlib,permanent]}}
>> > {apply,{c,erlangrc,[]}}
>> > {progress,started}
>> > Eshell V5.9  (abort with ^G)
>> > 1> pwd().
>> > c:/Program Files (x86)/Apache Software Foundation/CouchDB/bin
>> > ok
>> > 2> application:start(sasl).
>> > ok
>> > 3>
>> > =PROGRESS REPORT==== 18-Jun-2012::07:22:44 ===
>> >          supervisor: {local,sasl_safe_sup}
>> >             started: [{pid,<0.38.0>},
>> >                       {name,alarm_handler},
>> >                       {mfargs,{alarm_handler,start_link,[]}},
>> >                       {restart_type,permanent},
>> >                       {shutdown,2000},
>> >                       {child_type,worker}]
>> > 3>
>> > =PROGRESS REPORT==== 18-Jun-2012::07:22:44 ===
>> >          supervisor: {local,sasl_safe_sup}
>> >             started: [{pid,<0.39.0>},
>> >                       {name,overload},
>> >                       {mfargs,{overload,start_link,[]}},
>> >                       {restart_type,permanent},
>> >                       {shutdown,2000},
>> >                       {child_type,worker}]
>> > 3>
>> > =PROGRESS REPORT==== 18-Jun-2012::07:22:44 ===
>> >          supervisor: {local,sasl_sup}
>> >             started: [{pid,<0.37.0>},
>> >                       {name,sasl_safe_sup},
>> >                       {mfargs,
>> >                           {supervisor,start_link,
>> >                               [{local,sasl_safe_sup},sasl,safe]}},
>> >                       {restart_type,permanent},
>> >                       {shutdown,infinity},
>> >                       {child_type,supervisor}]
>> > 3>
>> > =PROGRESS REPORT==== 18-Jun-2012::07:22:44 ===
>> >          supervisor: {local,sasl_sup}
>> >             started: [{pid,<0.40.0>},
>> >                       {name,release_handler},
>> >                       {mfargs,{release_handler,start_link,[]}},
>> >                       {restart_type,permanent},
>> >                       {shutdown,2000},
>> >                       {child_type,worker}]
>> > 3>
>> > =PROGRESS REPORT==== 18-Jun-2012::07:22:44 ===
>> >         application: sasl
>> >          started_at: nonode@nohost
>> > 3> application:start(os_mon).
>> > {error,{shutdown,{os_mon,start,[normal,[]]}}}
>> > 4>
>> > =CRASH REPORT==== 18-Jun-2012::07:23:12 ===
>> >  crasher:
>> >    initial call: os_mon_sysinfo:init/1
>> >    pid: <0.47.0>
>> >    registered_name: []
>> >    exception exit: {enoent,
>> >                        [{erlang,open_port,
>> >                             [{spawn,
>> >                                  "c:/PROGRA~2/Apache Software
Foundation/Couc
>> > B/lib/os_mon-2.2.8/priv/bin/win32sysinfo.exe"},
>> >                              [{packet,1}]],
>> >                             []},
>> >                         {os_mon_sysinfo,start_portprogram,0,
>> >                             [{file,"os_mon_sysinfo.erl"},{line,113}]},
>> >                         {os_mon_sysinfo,init,1,
>> >                             [{file,"os_mon_sysinfo.erl"},{line,60}]},
>> >                         {gen_server,init_it,6,
>> >                             [{file,"gen_server.erl"},{line,297}]},
>> >                         {proc_lib,init_p_do_apply,3,
>> >                             [{file,"proc_lib.erl"},{line,227}]}]}
>> >      in function  gen_server:init_it/6 (gen_server.erl, line 321)
>> >    ancestors: [os_mon_sup,<0.45.0>]
>> >    messages: []
>> >    links: [<0.46.0>]
>> >    dictionary: []
>> >    trap_exit: true
>> >    status: running
>> >    heap_size: 987
>> >    stack_size: 24
>> >    reductions: 484
>> >  neighbours:
>> > 4>
>> > =SUPERVISOR REPORT==== 18-Jun-2012::07:23:12 ===
>> >     Supervisor: {local,os_mon_sup}
>> >     Context:    start_error
>> >     Reason:     {enoent,
>> >                     [{erlang,open_port,
>> >                          [{spawn,
>> >                               "c:/PROGRA~2/Apache Software Foundation/CouchDB
>> > ib/os_mon-2.2.8/priv/bin/win32sysinfo.exe"},
>> >                           [{packet,1}]],
>> >                          []},
>> >                      {os_mon_sysinfo,start_portprogram,0,
>> >                          [{file,"os_mon_sysinfo.erl"},{line,113}]},
>> >                      {os_mon_sysinfo,init,1,
>> >                          [{file,"os_mon_sysinfo.erl"},{line,60}]},
>> >                      {gen_server,init_it,6,
>> >                          [{file,"gen_server.erl"},{line,297}]},
>> >                      {proc_lib,init_p_do_apply,3,
>> >                          [{file,"proc_lib.erl"},{line,227}]}]}
>> >     Offender:   [{pid,undefined},
>> >                  {name,os_mon_sysinfo},
>> >                  {mfargs,{os_mon_sysinfo,start_link,[]}},
>> >                  {restart_type,permanent},
>> >                  {shutdown,2000},
>> >                  {child_type,worker}]
>> >
>> > 4>
>> > =INFO REPORT==== 18-Jun-2012::07:23:12 ===
>> >    application: os_mon
>> >    exited: {shutdown,{os_mon,start,[normal,[]]}}
>> >    type: temporary
>> > 4> application:start(crypto).
>> > ok
>> >
>> > =PROGRESS REPORT==== 18-Jun-2012::07:23:24 ===
>> >          supervisor: {local,crypto_sup}
>> >             started: [{pid,<0.53.0>},
>> >                       {name,crypto_server},
>> >                       {mfargs,{crypto_server,start_link,[]}},
>> >                       {restart_type,permanent},
>> >                       {shutdown,2000},
>> >                       {child_type,worker}]
>> > 5>
>> > =PROGRESS REPORT==== 18-Jun-2012::07:23:24 ===
>> >         application: crypto
>> >          started_at: nonode@nohost
>> > 5>
>> >
>> > -----Original Message-----
>> > From: Dave Cottlehuber [mailto:dave@muse.net.nz]
>> > Sent: Monday, June 18, 2012 4:25 AM
>> > To: user@couchdb.apache.org; Ronnie F. Moller, Jr.
>> > Subject: Re: New Install on Windows 2011 SBS
>> >
>> > Moved to user list from dev@.
>> >
>> > On 18 June 2012 03:52, Ronnie F. Moller, Jr.
>> > <ronnie@redbaronconsulting.com> wrote:
>> >> I have downloaded and installed CouchDB 1.20 (R15B) on a SBS2011
>> server.
>> >> Upon first start, it fails, with the following.
>> >>
>> >>
>> >>
>> >> ---------------
>> >>
>> >>
>> >>
>> >> Erlang R15B (erts-5.9) [source] [smp:8:8] [async-threads:0]
>> >>
>> >>
>> >>
>> >> Eshell V5.9  (abort with ^G)
>> >>
>> >> 1> {"init terminating in
>> >>
>> do_boot",{{badmatch,{error,{{app_would_not_start,os_mon},{couch_app,s
>> t
>> >> ar
>> >> t,[normal,["../etc/couchdb/default.ini","../etc/couchdb/local.ini"]]}}
>> >> }}
>> >> ,[{couch,start,0,[{file,"d:/relax/couchdb/src/couchdb/couch.erl"},{lin
>> >> e,
>> >> 18}]},{init,start_it,1,[{file,"init.erl"},{line,1041}]},{init,start_em
>> >> ,1
>> >> ,[{file,"init.erl"},{line,1022}]}]}}
>> >>
>> >> init terminating in do_boot ()
>> >>
>> >>
>> >>
>> >>
>> >>
>> >> Abnormal termination
>> >>
>> >>
>> >>
>> >>
>> >>
>> >> ---------------
>> >>
>> >>
>> >>
>> >>
>> >>
>> >> I do not have a drive D:, and I am not sure where the setting D:/relax
>> >> is coming from. I have checked the default.ini, and local.ini, and
>> >> these
>> >
>> > This is a line number error reported that refers to the source, which is a D:
>> drive on the box I use to build releases. Don't worry about that.
>> >
>> >> are stock. I tested on a win7 x64, and it worked without a problem. Is
>> >> this an error with SBS2011?
>> >
>> > Very likely. What is different about SBS2011? I can't find a great deal.
>> >
>> > The os_mon application is part of erlang itself.
>> >
>> > Can you try starting just erlang?
>> >
>> > open a command prompt
>> >
>> >    pushd %where_ever_you_installed_couchdb%\bin
>> >    erl -init_debug
>> >
>> > Erlang starts up, then enter these:
>> >
>> >    pwd().
>> >    application:start(sasl).
>> >    application:start(os_mon).
>> >    application:start(crypto).
>> >
>> > & send back what (if anything) happens.
>> > You should get something like this:
>> >
>> >
>> > c:\couch\r15b01\bin>erl -init_debug
>> > {progress,preloaded}
>> > {progress,kernel_load_completed}
>> > {progress,modules_loaded}
>> > {start,heart}
>> > {start,error_logger}
>> > {start,application_controller}
>> > {progress,init_kernel_started}
>> > {apply,{application,load,[{application,stdlib,[{description,"ERTS  CXC
>> > 138 10"},{vsn,"1.18.1"},{id,[]},{modules,[array,base64,beam_lib,binar
>> >
>> y,c,calendar,dets,dets_server,dets_sup,dets_utils,dets_v8,dets_v9,dict,digr
>> aph,digraph_utils,edlin,edlin_expand,epp,eval_bits,erl_bits,erl_c
>> >
>> ompile,erl_eval,erl_expand_records,erl_internal,erl_lint,erl_parse,erl_posix
>> _msg,erl_pp,erl_scan,erl_tar,error_logger_file_h,error_logger_tt
>> >
>> y_h,escript,ets,file_sorter,filelib,filename,gb_trees,gb_sets,gen,gen_event,
>> gen_fsm,gen_server,io,io_lib,io_lib_format,io_lib_fread,io_lib_p
>> >
>> retty,lib,lists,log_mf_h,math,ms_transform,orddict,ordsets,otp_internal,pg,
>> pool,proc_lib,proplists,qlc,qlc_pt,queue,random,re,sets,shell,she
>> >
>> ll_default,slave,sofs,string,supervisor,supervisor_bridge,sys,timer,unicode,
>> win32reg,zip]},{registered,[timer_server,rsh_starter,take_over_m
>> >
>> onitor,pool_master,dets]},{applications,[kernel]},{included_applications,[]},{
>> env,[]},{maxT,infinity},{maxP,infinity}]}]}}
>> > {progress,applications_loaded}
>> > {apply,{application,start_boot,[kernel,permanent]}}
>> > {apply,{application,start_boot,[stdlib,permanent]}}
>> > {apply,{c,erlangrc,[]}}
>> > {progress,started}
>> >
>> > Eshell V5.9.1  (abort with ^G)
>> >
>> > 1> pwd().
>> > c:/couch/r15b01/bin
>> > ok
>> > 2> application:start(sasl).
>> > ok
>> >
>> > =PROGRESS REPORT==== 18-Jun-2012::11:21:56 ===
>> >          supervisor: {local,sasl_safe_sup}
>> >             started: [{pid,<0.38.0>},
>> >                       {name,alarm_handler},
>> >                       {mfargs,{alarm_handler,start_link,[]}},
>> >                       {restart_type,permanent},
>> >                       {shutdown,2000},
>> >                       {child_type,worker}]
>> > 3>
>> > =PROGRESS REPORT==== 18-Jun-2012::11:21:56 ===
>> >          supervisor: {local,sasl_safe_sup}
>> >             started: [{pid,<0.39.0>},
>> >                       {name,overload},
>> >                       {mfargs,{overload,start_link,[]}},
>> >                       {restart_type,permanent},
>> >                       {shutdown,2000},
>> >                       {child_type,worker}]
>> > 3>
>> > =PROGRESS REPORT==== 18-Jun-2012::11:21:56 ===
>> >          supervisor: {local,sasl_sup}
>> >             started: [{pid,<0.37.0>},
>> >                       {name,sasl_safe_sup},
>> >                       {mfargs,
>> >                           {supervisor,start_link,
>> >                               [{local,sasl_safe_sup},sasl,safe]}},
>> >                       {restart_type,permanent},
>> >                       {shutdown,infinity},
>> >                       {child_type,supervisor}]
>> > 3>
>> > =PROGRESS REPORT==== 18-Jun-2012::11:21:56 ===
>> >          supervisor: {local,sasl_sup}
>> >             started: [{pid,<0.40.0>},
>> >                       {name,release_handler},
>> >                       {mfargs,{release_handler,start_link,[]}},
>> >                       {restart_type,permanent},
>> >                       {shutdown,2000},
>> >                       {child_type,worker}]
>> > 3>
>> > =PROGRESS REPORT==== 18-Jun-2012::11:21:56 ===
>> >         application: sasl
>> >          started_at: nonode@nohost
>> > 3> application:start(os_mon).
>> >
>> > =PROGRESS REPORT==== 18-Jun-2012::11:21:58 ===
>> >          supervisor: {local,os_mon_sup}
>> >             started: [{pid,<0.47.0>},
>> >                       {name,os_mon_sysinfo},
>> >                       {mfargs,{os_mon_sysinfo,start_link,[]}},
>> >                       {restart_type,permanent},
>> >                       {shutdown,2000},
>> >                       {child_type,worker}]
>> >
>> > =PROGRESS REPORT==== 18-Jun-2012::11:21:58 ===
>> >          supervisor: {local,os_mon_sup}
>> >             started: [{pid,<0.48.0>},
>> >                       {name,disksup},
>> >                       {mfargs,{disksup,start_link,[]}},
>> >                       {restart_type,permanent},
>> >                       {shutdown,2000},
>> >                       {child_type,worker}]
>> >
>> > =PROGRESS REPORT==== 18-Jun-2012::11:21:58 ===
>> >          supervisor: {local,os_mon_sup}
>> >             started: [{pid,<0.49.0>},
>> >                       {name,memsup},
>> >                       {mfargs,{memsup,start_link,[]}},
>> >                       {restart_type,permanent},
>> >                       {shutdown,2000},
>> >                       {child_type,worker}]
>> >
>> > =PROGRESS REPORT==== 18-Jun-2012::11:21:58 ===
>> >         application: os_mon
>> >          started_at: nonode@nohost
>> > ok
>> >
>> > =PROGRESS REPORT==== 18-Jun-2012::11:21:58 ===
>> >          supervisor: {local,kernel_safe_sup}
>> >             started: [{pid,<0.51.0>},
>> >                       {name,timer_server},
>> >                       {mfargs,{timer,start_link,[]}},
>> >                       {restart_type,permanent},
>> >                       {shutdown,1000},
>> >                       {child_type,worker}]
>> > 4> application:start(crypto).
>> >
>> > =PROGRESS REPORT==== 18-Jun-2012::11:22:06 ===
>> >          supervisor: {local,crypto_sup}
>> >             started: [{pid,<0.57.0>},
>> >                       {name,crypto_server},
>> >                       {mfargs,{crypto_server,start_link,[]}},
>> >                       {restart_type,permanent},
>> >                       {shutdown,2000},
>> >                       {child_type,worker}]
>> >
>> > =PROGRESS REPORT==== 18-Jun-2012::11:22:06 ===
>> >         application: crypto
>> >          started_at: nonode@nohost
>> > ok
>> > 5>
>>
>>
>> Ronnie,
>>
>> can you try this build
>> https://www.dropbox.com/s/bb895htvpknnbcj/setup-couchdb-
>> 1.2.0%2BCOUCHDB-1482_otp_R15B01.exe
>> and see if you get the same error?
>>
>> I'll take a look at the erlang source tomorrow and see if anything
>> jumps out that this might be an issue.
>>
>> A+
>> Dave
>
> Dave:
>
> I do not see much of a difference. Here is the output when running manually:
>
> C:\Program Files (x86)\Apache Software Foundation\CouchDB\bin>erl -init_debug
> {progress,preloaded}
> {progress,kernel_load_completed}
> {progress,modules_loaded}
> {start,heart}
> {start,error_logger}
> {start,application_controller}
> {progress,init_kernel_started}
> {apply,{application,load,[{application,stdlib,[{description,"ERTS  CXC 138 10"},
> {vsn,"1.18.1"},{id,[]},{modules,[array,base64,beam_lib,binary,c,calendar,dets,de
> ts_server,dets_sup,dets_utils,dets_v8,dets_v9,dict,digraph,digraph_utils,edlin,e
> dlin_expand,epp,eval_bits,erl_bits,erl_compile,erl_eval,erl_expand_records,erl_i
> nternal,erl_lint,erl_parse,erl_posix_msg,erl_pp,erl_scan,erl_tar,error_logger_fi
> le_h,error_logger_tty_h,escript,ets,file_sorter,filelib,filename,gb_trees,gb_set
> s,gen,gen_event,gen_fsm,gen_server,io,io_lib,io_lib_format,io_lib_fread,io_lib_p
> retty,lib,lists,log_mf_h,math,ms_transform,orddict,ordsets,otp_internal,pg,pool,
> proc_lib,proplists,qlc,qlc_pt,queue,random,re,sets,shell,shell_default,slave,sof
> s,string,supervisor,supervisor_bridge,sys,timer,unicode,win32reg,zip]},{register
> ed,[timer_server,rsh_starter,take_over_monitor,pool_master,dets]},{applications,
> [kernel]},{included_applications,[]},{env,[]},{maxT,infinity},{maxP,infinity}]}]
> }}
> {progress,applications_loaded}
> {apply,{application,start_boot,[kernel,permanent]}}
> {apply,{application,start_boot,[stdlib,permanent]}}
> {apply,{c,erlangrc,[]}}
> {progress,started}
> Eshell V5.9.1  (abort with ^G)
> 1> pwd().
> C:/Program Files (x86)/Apache Software Foundation/CouchDB/bin
> ok
> 2> application:start(couch).
>
> =PROGRESS REPORT==== 18-Jun-2012::10:52:43 ===
>          supervisor: {local,sasl_safe_sup}
>             started: [{pid,<0.47.0>},
>                       {name,alarm_handler},
>                       {mfargs,{alarm_handler,start_link,[]}},
>                       {restart_type,permanent},
>                       {shutdown,2000},
>                       {child_type,worker}]
>
> =PROGRESS REPORT==== 18-Jun-2012::10:52:43 ===
>          supervisor: {local,sasl_safe_sup}
>             started: [{pid,<0.48.0>},
>                       {name,overload},
>                       {mfargs,{overload,start_link,[]}},
>                       {restart_type,permanent},
>                       {shutdown,2000},
>                       {child_type,worker}]
>
> =PROGRESS REPORT==== 18-Jun-2012::10:52:43 ===
>          supervisor: {local,sasl_sup}
>             started: [{pid,<0.46.0>},
>                       {name,sasl_safe_sup},
>                       {mfargs,
>                           {supervisor,start_link,
>                               [{local,sasl_safe_sup},sasl,safe]}},
>                       {restart_type,permanent},
>                       {shutdown,infinity},
>                       {child_type,supervisor}]
>
> =PROGRESS REPORT==== 18-Jun-2012::10:52:43 ===
>          supervisor: {local,sasl_sup}
>             started: [{pid,<0.49.0>},
>                       {name,release_handler},
>                       {mfargs,{release_handler,start_link,[]}},
>                       {restart_type,permanent},
>                       {shutdown,2000},
>                       {child_type,worker}]
>
> =PROGRESS REPORT==== 18-Jun-2012::10:52:43 ===
>         application: sasl
>          started_at: nonode@nohost
>
> =PROGRESS REPORT==== 18-Jun-2012::10:52:43 ===
>          supervisor: {local,inets_sup}
>             started: [{pid,<0.55.0>},
>                       {name,ftp_sup},
>                       {mfargs,{ftp_sup,start_link,[]}},
>                       {restart_type,permanent},
>                       {shutdown,infinity},
>                       {child_type,supervisor}]
>
> =PROGRESS REPORT==== 18-Jun-2012::10:52:43 ===
>          supervisor: {local,httpc_profile_sup}
>             started: [{pid,<0.58.0>},
>                       {name,httpc_manager},
>                       {mfargs,
>                           {httpc_manager,start_link,
>                               [default,only_session_cookies,inets]}},
>                       {restart_type,permanent},
>                       {shutdown,4000},
>                       {child_type,worker}]
>
> =PROGRESS REPORT==== 18-Jun-2012::10:52:43 ===
>          supervisor: {local,httpc_sup}
>             started: [{pid,<0.57.0>},
>                       {name,httpc_profile_sup},
>                       {mfargs,
>                           {httpc_profile_sup,start_link,
>                               [[{httpc,{default,only_session_cookies}}]]}},
>                       {restart_type,permanent},
>                       {shutdown,infinity},
>                       {child_type,supervisor}]
>
> =PROGRESS REPORT==== 18-Jun-2012::10:52:43 ===
>          supervisor: {local,httpc_sup}
>             started: [{pid,<0.59.0>},
>                       {name,httpc_handler_sup},
>                       {mfargs,{httpc_handler_sup,start_link,[]}},
>                       {restart_type,permanent},
>                       {shutdown,infinity},
>                       {child_type,supervisor}]
>
> =PROGRESS REPORT==== 18-Jun-2012::10:52:43 ===
>          supervisor: {local,inets_sup}
>             started: [{pid,<0.56.0>},
>                       {name,httpc_sup},
>                       {mfargs,
>                           {httpc_sup,start_link,
>                               [[{httpc,{default,only_session_cookies}}]]}},
>                       {restart_type,permanent},
>                       {shutdown,infinity},
>                       {child_type,supervisor}]
>
> =PROGRESS REPORT==== 18-Jun-2012::10:52:43 ===
>          supervisor: {local,inets_sup}
>             started: [{pid,<0.60.0>},
>                       {name,httpd_sup},
>                       {mfargs,{httpd_sup,start_link,[[]]}},
>                       {restart_type,permanent},
>                       {shutdown,infinity},
>                       {child_type,supervisor}]
>
> =PROGRESS REPORT==== 18-Jun-2012::10:52:43 ===
>          supervisor: {local,inets_sup}
>             started: [{pid,<0.61.0>},
>                       {name,tftp_sup},
>                       {mfargs,{tftp_sup,start_link,[[]]}},
>                       {restart_type,permanent},
>                       {shutdown,infinity},
>                       {child_type,supervisor}]
>
> =PROGRESS REPORT==== 18-Jun-2012::10:52:43 ===
>         application: inets
>          started_at: nonode@nohost
>
> =PROGRESS REPORT==== 18-Jun-2012::10:52:43 ===
>         application: oauth
>          started_at: nonode@nohost
>
> =PROGRESS REPORT==== 18-Jun-2012::10:52:43 ===
>          supervisor: {local,ssl_sup}
>             started: [{pid,<0.67.0>},
>                       {name,ssl_manager},
>                       {mfargs,{ssl_manager,start_link,[[]]}},
>                       {restart_type,permanent},
>                       {shutdown,4000},
>                       {child_type,worker}]
>
> =PROGRESS REPORT==== 18-Jun-2012::10:52:43 ===
>          supervisor: {local,ssl_sup}
>             started: [{pid,<0.68.0>},
>                       {name,ssl_connection},
>                       {mfargs,{ssl_connection_sup,start_link,[]}},
>                       {restart_type,permanent},
>                       {shutdown,4000},
>                       {child_type,supervisor}]
>
> =PROGRESS REPORT==== 18-Jun-2012::10:52:43 ===
>         application: ssl
>          started_at: nonode@nohost
>
> =PROGRESS REPORT==== 18-Jun-2012::10:52:43 ===
>          supervisor: {local,ibrowse_sup}
>             started: [{pid,<0.73.0>},
>                       {name,ibrowse},
>                       {mfargs,{ibrowse,start_link,[]}},
>                       {restart_type,permanent},
>                       {shutdown,2000},
>                       {child_type,worker}]
>
> =PROGRESS REPORT==== 18-Jun-2012::10:52:43 ===
>         application: ibrowse
>          started_at: nonode@nohost
>
> =PROGRESS REPORT==== 18-Jun-2012::10:52:43 ===
>         application: mochiweb
>          started_at: nonode@nohost
> {error,{{app_would_not_start,os_mon},
>        {couch_app,start,
>                   [normal,
>                    ["../etc/couchdb/default.ini",
>                     "../etc/couchdb/local.ini"]]}}}
> 3>
> =CRASH REPORT==== 18-Jun-2012::10:52:43 ===
>  crasher:
>    initial call: os_mon_sysinfo:init/1
>    pid: <0.83.0>
>    registered_name: []
>    exception exit: {enoent,
>                        [{erlang,open_port,
>                             [{spawn,
>                                  "c:/PROGRA~2/Apache Software Foundation/CouchD
> B/lib/os_mon-2.2.9/priv/bin/win32sysinfo.exe"},
>                              [{packet,1}]],
>                             []},
>                         {os_mon,open_port,2,[{file,"os_mon.erl"},{line,88}]},
>                         {os_mon_sysinfo,start_portprogram,0,
>                             [{file,"os_mon_sysinfo.erl"},{line,111}]},
>                         {os_mon_sysinfo,init,1,
>                             [{file,"os_mon_sysinfo.erl"},{line,60}]},
>                         {gen_server,init_it,6,
>                             [{file,"gen_server.erl"},{line,304}]},
>                         {proc_lib,init_p_do_apply,3,
>                             [{file,"proc_lib.erl"},{line,227}]}]}
>      in function  gen_server:init_it/6 (gen_server.erl, line 328)
>    ancestors: [os_mon_sup,<0.81.0>]
>    messages: []
>    links: [<0.82.0>]
>    dictionary: []
>    trap_exit: true
>    status: running
>    heap_size: 987
>    stack_size: 24
>    reductions: 604
>  neighbours:
> 3>
> =SUPERVISOR REPORT==== 18-Jun-2012::10:52:43 ===
>     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.9/priv/bin/win32sysinfo.exe"},
>                           [{packet,1}]],
>                          []},
>                      {os_mon,open_port,2,[{file,"os_mon.erl"},{line,88}]},
>                      {os_mon_sysinfo,start_portprogram,0,
>                          [{file,"os_mon_sysinfo.erl"},{line,111}]},
>                      {os_mon_sysinfo,init,1,
>                          [{file,"os_mon_sysinfo.erl"},{line,60}]},
>                      {gen_server,init_it,6,
>                          [{file,"gen_server.erl"},{line,304}]},
>                      {proc_lib,init_p_do_apply,3,
>                          [{file,"proc_lib.erl"},{line,227}]}]}
>     Offender:   [{pid,undefined},
>                  {name,os_mon_sysinfo},
>                  {mfargs,{os_mon_sysinfo,start_link,[]}},
>                  {restart_type,permanent},
>                  {shutdown,2000},
>                  {child_type,worker}]
>
> 3>
> =INFO REPORT==== 18-Jun-2012::10:52:43 ===
>    application: os_mon
>    exited: {shutdown,{os_mon,start,[normal,[]]}}
>    type: temporary
> 3>
> =CRASH REPORT==== 18-Jun-2012::10:52:43 ===
>  crasher:
>    initial call: application_master:init/4
>    pid: <0.34.0>
>    registered_name: []
>    exception exit: {{app_would_not_start,os_mon},
>                     {couch_app,start,
>                                [normal,
>                                 ["../etc/couchdb/default.ini",
>                                  "../etc/couchdb/local.ini"]]}}
>      in function  application_master:init/4 (application_master.erl, line 138)
>    ancestors: [<0.33.0>]
>    messages: [{'EXIT',<0.35.0>,normal}]
>    links: [<0.33.0>,<0.6.0>]
>    dictionary: []
>    trap_exit: true
>    status: running
>    heap_size: 987
>    stack_size: 24
>    reductions: 165
>  neighbours:
> 3>
> =INFO REPORT==== 18-Jun-2012::10:52:43 ===
>    application: couch
>    exited: {{app_would_not_start,os_mon},
>             {couch_app,start,
>                        [normal,
>                         ["../etc/couchdb/default.ini",
>                          "../etc/couchdb/local.ini"]]}}
>    type: temporary
> 3>

Hi Ronnie, I replied back on list again.

Couple more things, erlang source doesn't highlight any issues immediately,
"worksformehere" so its either system specific or possibly SBS2011 specific.

Can you check if ntfs8.3 creation is disabled or not in registry:

    http://technet.microsoft.com/en-us/library/cc778996%28v=ws.10%29.aspx

And also its status on the C: volume? detais in above link.

Finally check what the paths are, this example is with the erlang
15B01 version,
so if you still have the R15B release version os_mon will be 2.2.8
instead I think.

dir "\Program Files (x86)\Apache Software Foundation\CouchDB\lib\os*" /x

dir "\Program Files (x86)\Apache Software
Foundation\CouchDB\lib\os_mon-2.2.9\priv"\bin\*.exe /x

dir  \progra~2\apache~1\couchdb\lib\os_mon~1.9\priv\bin\win32s~1.exe

The next suggestion I have is to download and run procmon[1] while
filtering for the win32*.exe pattern
in couchdb folder, start up sasl first, turn monitoring on, and then
start os_mon application. Hopefully
that will flush out the issue.

If you've not used it before, just google procmon and there are 3-4
good intro videos and sample walkthroughs.

Once you get the output please save it somewhere and email me a link.
We only need file events so
make sure you have filtered those all out. output of

    dir "\Program Files (x86)\Apache Software Foundation\CouchDB\" /s/b

and

    dir "\Program Files (x86)\Apache Software Foundation\CouchDB\" /s/b  /x

will be the last piece, confirming we are not missing any files for some reason.

[1]: http://technet.microsoft.com/en-us/sysinternals/bb896645.aspx

A+
Dave

Mime
View raw message