You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@couchdb.apache.org by Boaz Citrin <bc...@gmail.com> on 2014/01/30 11:54:35 UTC

Cannot connect to CouchDb on Windows 7 64 bit professional

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

Re: Cannot connect to CouchDb on Windows 7 64 bit professional

Posted by Nick North <no...@gmail.com>.
I think the "c:/PROGRA~2" may ultimately come from the erl.ini file in the
CouchDb bin directory but I'm not sure of that, and don't know if changing
it there would be sufficient. The "~2" business may not be an error either
- some programs still live in the days of 8.3 file names and use this
convention for reporting names that don't fit that convention.

If you want to try another path, the simplest way would be to uninstall
CouchDb and reinstall somewhere like C:\CouchDb which is short and has no
spaces. While the uninstall should leave your local.ini file and databases
alone, it would be best to back them up somewhere and then copy to the new
installation.

Nick


On 30 January 2014 15:24, Boaz Citrin <bc...@gmail.com> wrote:

> btw, where does it take the "c:/PROGRA~2" from? can i instruct it to use
> another path?
> [note that we don't have the issue on many other windows 7 machines with
> the exact paths]
>
>
> On Thu, Jan 30, 2014 at 4:55 PM, Robert Samuel Newson <rnewson@apache.org
> >wrote:
>
> >
> > Hrm, no clue then. Will need a Windows/Erlang developer.
> >
> > B.
> >
> > On 30 Jan 2014, at 14:51, Boaz Citrin <bc...@gmail.com> wrote:
> >
> > > it is there. no problem to run that command.
> > >
> > >
> > > On Thu, Jan 30, 2014 at 4:42 PM, Robert Samuel Newson <
> > rnewson@apache.org>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 <bc...@gmail.com> 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 <
> > >> rnewson@apache.org>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 <bc...@gmail.com> wrote:
> > >>>>
> > >>>>> attached crash dump
> > >>>>>
> > >>>>>
> > >>>>> On Thu, Jan 30, 2014 at 4:22 PM, Boaz Citrin <bc...@gmail.com>
> > >> 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 <
> > >>>> rnewson@apache.org> wrote:
> > >>>>> application:start(sasl). ;)
> > >>>>>
> > >>>>> B.
> > >>>>>
> > >>>>> On 30 Jan 2014, at 13:39, Boaz Citrin <bc...@gmail.com> wrote:
> > >>>>>
> > >>>>>> Got:
> > >>>>>>
> > >>>>>> {error,{not_started,sasl}}
> > >>>>>>
> > >>>>>>
> > >>>>>> On Thu, Jan 30, 2014 at 1:06 PM, Robert Samuel Newson <
> > >>>> rnewson@apache.org>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 <bc...@gmail.com> 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
> > >>>>>>>
> > >>>>>>>
> > >>>>>
> > >>>>>
> > >>>>>
> > >>>>
> > >>>>
> > >>
> > >>
> >
> >
>

Re: Cannot connect to CouchDb on Windows 7 64 bit professional

Posted by Boaz Citrin <bc...@gmail.com>.
btw, where does it take the "c:/PROGRA~2" from? can i instruct it to use
another path?
[note that we don't have the issue on many other windows 7 machines with
the exact paths]


On Thu, Jan 30, 2014 at 4:55 PM, Robert Samuel Newson <rn...@apache.org>wrote:

>
> Hrm, no clue then. Will need a Windows/Erlang developer.
>
> B.
>
> On 30 Jan 2014, at 14:51, Boaz Citrin <bc...@gmail.com> wrote:
>
> > it is there. no problem to run that command.
> >
> >
> > On Thu, Jan 30, 2014 at 4:42 PM, Robert Samuel Newson <
> rnewson@apache.org>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 <bc...@gmail.com> 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 <
> >> rnewson@apache.org>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 <bc...@gmail.com> wrote:
> >>>>
> >>>>> attached crash dump
> >>>>>
> >>>>>
> >>>>> On Thu, Jan 30, 2014 at 4:22 PM, Boaz Citrin <bc...@gmail.com>
> >> 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 <
> >>>> rnewson@apache.org> wrote:
> >>>>> application:start(sasl). ;)
> >>>>>
> >>>>> B.
> >>>>>
> >>>>> On 30 Jan 2014, at 13:39, Boaz Citrin <bc...@gmail.com> wrote:
> >>>>>
> >>>>>> Got:
> >>>>>>
> >>>>>> {error,{not_started,sasl}}
> >>>>>>
> >>>>>>
> >>>>>> On Thu, Jan 30, 2014 at 1:06 PM, Robert Samuel Newson <
> >>>> rnewson@apache.org>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 <bc...@gmail.com> 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
> >>>>>>>
> >>>>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>
> >>>>
> >>
> >>
>
>

Re: Cannot connect to CouchDb on Windows 7 64 bit professional

Posted by Boaz Citrin <bc...@gmail.com>.
Hi,

The path in erl.ini was just like on my machine where it works fine -
C:\\Program Files (x86)\\Apache Software Foundation\\CouchDB

So I followed the suggestion and installed on C:\ and all works fine :-)

Thanks!

Boaz



On Thu, Jan 30, 2014 at 6:44 PM, Dave Cottlehuber <dc...@jsonified.com> wrote:

> On 30. Jänner 2014 at 15:55:09, Robert Samuel Newson (rnewson@apache.org)
> wrote:
> >
>
> >
> From: Robert Samuel Newson <rn...@apache.org>
>
> >
> To: user <us...@couchdb.apache.org>
>
> >
> Subject: Cannot connect to CouchDb on Windows
> > 7 64 bit professional
> Date: 30. Jänner
> > 2014 15:55:02 MEZ
>
> Hrm, no clue
> > then. Will need a Windows/Erlang developer.
>
> B.
>
>
> I've seen this periodically, but never reproduced it locally.
>
> Somehow Windows (or possibly Erlang) is unable to handle this combination
> of an abbreviated 8.3 mangled path & a full path, even though on a default
> windows install this works perfectly.
>
> The workaround for impacted boxes is simply to install to a path without
> spaces, which IMO is always a Good Thing Anyway.
>
> A+
> Dave
>
>
>

Re: Cannot connect to CouchDb on Windows 7 64 bit professional

Posted by Dave Cottlehuber <dc...@jsonified.com>.
On 30. Jänner 2014 at 15:55:09, Robert Samuel Newson (rnewson@apache.org) wrote:
>

>
From: Robert Samuel Newson <rn...@apache.org>

>
To: user <us...@couchdb.apache.org>

>
Subject: Cannot connect to CouchDb on Windows  
> 7 64 bit professional
Date: 30. Jänner  
> 2014 15:55:02 MEZ

Hrm, no clue  
> then. Will need a Windows/Erlang developer.  

B.  


I’ve seen this periodically, but never reproduced it locally.

Somehow Windows (or possibly Erlang) is unable to handle this combination of an abbreviated 8.3 mangled path & a full path, even though on a default windows install this works perfectly.

The workaround for impacted boxes is simply to install to a path without spaces, which IMO is always a Good Thing Anyway.

A+
Dave



Re: Cannot connect to CouchDb on Windows 7 64 bit professional

Posted by Robert Samuel Newson <rn...@apache.org>.
Hrm, no clue then. Will need a Windows/Erlang developer.

B.

On 30 Jan 2014, at 14:51, Boaz Citrin <bc...@gmail.com> wrote:

> it is there. no problem to run that command.
> 
> 
> On Thu, Jan 30, 2014 at 4:42 PM, Robert Samuel Newson <rn...@apache.org>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 <bc...@gmail.com> 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 <
>> rnewson@apache.org>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 <bc...@gmail.com> wrote:
>>>> 
>>>>> attached crash dump
>>>>> 
>>>>> 
>>>>> On Thu, Jan 30, 2014 at 4:22 PM, Boaz Citrin <bc...@gmail.com>
>> 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 <
>>>> rnewson@apache.org> wrote:
>>>>> application:start(sasl). ;)
>>>>> 
>>>>> B.
>>>>> 
>>>>> On 30 Jan 2014, at 13:39, Boaz Citrin <bc...@gmail.com> wrote:
>>>>> 
>>>>>> Got:
>>>>>> 
>>>>>> {error,{not_started,sasl}}
>>>>>> 
>>>>>> 
>>>>>> On Thu, Jan 30, 2014 at 1:06 PM, Robert Samuel Newson <
>>>> rnewson@apache.org>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 <bc...@gmail.com> 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
>>>>>>> 
>>>>>>> 
>>>>> 
>>>>> 
>>>>> 
>>>> 
>>>> 
>> 
>> 


Re: Cannot connect to CouchDb on Windows 7 64 bit professional

Posted by Boaz Citrin <bc...@gmail.com>.
it is there. no problem to run that command.


On Thu, Jan 30, 2014 at 4:42 PM, Robert Samuel Newson <rn...@apache.org>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 <bc...@gmail.com> 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 <
> rnewson@apache.org>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 <bc...@gmail.com> wrote:
> >>
> >>> attached crash dump
> >>>
> >>>
> >>> On Thu, Jan 30, 2014 at 4:22 PM, Boaz Citrin <bc...@gmail.com>
> 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 <
> >> rnewson@apache.org> wrote:
> >>> application:start(sasl). ;)
> >>>
> >>> B.
> >>>
> >>> On 30 Jan 2014, at 13:39, Boaz Citrin <bc...@gmail.com> wrote:
> >>>
> >>>> Got:
> >>>>
> >>>> {error,{not_started,sasl}}
> >>>>
> >>>>
> >>>> On Thu, Jan 30, 2014 at 1:06 PM, Robert Samuel Newson <
> >> rnewson@apache.org>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 <bc...@gmail.com> 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
> >>>>>
> >>>>>
> >>>
> >>>
> >>>
> >>
> >>
>
>

Re: Cannot connect to CouchDb on Windows 7 64 bit professional

Posted by Robert Samuel Newson <rn...@apache.org>.
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 <bc...@gmail.com> 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 <rn...@apache.org>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 <bc...@gmail.com> wrote:
>> 
>>> attached crash dump
>>> 
>>> 
>>> On Thu, Jan 30, 2014 at 4:22 PM, Boaz Citrin <bc...@gmail.com> 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 <
>> rnewson@apache.org> wrote:
>>> application:start(sasl). ;)
>>> 
>>> B.
>>> 
>>> On 30 Jan 2014, at 13:39, Boaz Citrin <bc...@gmail.com> wrote:
>>> 
>>>> Got:
>>>> 
>>>> {error,{not_started,sasl}}
>>>> 
>>>> 
>>>> On Thu, Jan 30, 2014 at 1:06 PM, Robert Samuel Newson <
>> rnewson@apache.org>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 <bc...@gmail.com> 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
>>>>> 
>>>>> 
>>> 
>>> 
>>> 
>> 
>> 


Re: Cannot connect to CouchDb on Windows 7 64 bit professional

Posted by Boaz Citrin <bc...@gmail.com>.
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 <rn...@apache.org>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 <bc...@gmail.com> wrote:
>
> > attached crash dump
> >
> >
> > On Thu, Jan 30, 2014 at 4:22 PM, Boaz Citrin <bc...@gmail.com> 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 <
> rnewson@apache.org> wrote:
> > application:start(sasl). ;)
> >
> > B.
> >
> > On 30 Jan 2014, at 13:39, Boaz Citrin <bc...@gmail.com> wrote:
> >
> > > Got:
> > >
> > > {error,{not_started,sasl}}
> > >
> > >
> > > On Thu, Jan 30, 2014 at 1:06 PM, Robert Samuel Newson <
> rnewson@apache.org>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 <bc...@gmail.com> 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
> > >>
> > >>
> >
> >
> >
>
>

Re: Cannot connect to CouchDb on Windows 7 64 bit professional

Posted by Robert Samuel Newson <rn...@apache.org>.
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 <bc...@gmail.com> wrote:

> attached crash dump
> 
> 
> On Thu, Jan 30, 2014 at 4:22 PM, Boaz Citrin <bc...@gmail.com> 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 <rn...@apache.org> wrote:
> application:start(sasl). ;)
> 
> B.
> 
> On 30 Jan 2014, at 13:39, Boaz Citrin <bc...@gmail.com> wrote:
> 
> > Got:
> >
> > {error,{not_started,sasl}}
> >
> >
> > On Thu, Jan 30, 2014 at 1:06 PM, Robert Samuel Newson <rn...@apache.org>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 <bc...@gmail.com> 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
> >>
> >>
> 
> 
> 


Re: Cannot connect to CouchDb on Windows 7 64 bit professional

Posted by Boaz Citrin <bc...@gmail.com>.
attached crash dump


On Thu, Jan 30, 2014 at 4:22 PM, Boaz Citrin <bc...@gmail.com> 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 <rn...@apache.org>wrote:
>
>> application:start(sasl). ;)
>>
>> B.
>>
>> On 30 Jan 2014, at 13:39, Boaz Citrin <bc...@gmail.com> wrote:
>>
>> > Got:
>> >
>> > {error,{not_started,sasl}}
>> >
>> >
>> > On Thu, Jan 30, 2014 at 1:06 PM, Robert Samuel Newson <
>> rnewson@apache.org>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 <bc...@gmail.com> 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
>> >>
>> >>
>>
>>
>

Re: Cannot connect to CouchDb on Windows 7 64 bit professional

Posted by Boaz Citrin <bc...@gmail.com>.
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 <rn...@apache.org>wrote:

> application:start(sasl). ;)
>
> B.
>
> On 30 Jan 2014, at 13:39, Boaz Citrin <bc...@gmail.com> wrote:
>
> > Got:
> >
> > {error,{not_started,sasl}}
> >
> >
> > On Thu, Jan 30, 2014 at 1:06 PM, Robert Samuel Newson <
> rnewson@apache.org>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 <bc...@gmail.com> 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
> >>
> >>
>
>

Re: Cannot connect to CouchDb on Windows 7 64 bit professional

Posted by Robert Samuel Newson <rn...@apache.org>.
application:start(sasl). ;)

B.

On 30 Jan 2014, at 13:39, Boaz Citrin <bc...@gmail.com> wrote:

> Got:
> 
> {error,{not_started,sasl}}
> 
> 
> On Thu, Jan 30, 2014 at 1:06 PM, Robert Samuel Newson <rn...@apache.org>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 <bc...@gmail.com> 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
>> 
>> 


Re: Cannot connect to CouchDb on Windows 7 64 bit professional

Posted by Boaz Citrin <bc...@gmail.com>.
Got:

{error,{not_started,sasl}}


On Thu, Jan 30, 2014 at 1:06 PM, Robert Samuel Newson <rn...@apache.org>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 <bc...@gmail.com> 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
>
>

Re: Cannot connect to CouchDb on Windows 7 64 bit professional

Posted by Robert Samuel Newson <rn...@apache.org>.
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 <bc...@gmail.com> 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