Return-Path: X-Original-To: apmail-couchdb-user-archive@www.apache.org Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 4EE3210B03 for ; Thu, 30 Jan 2014 15:24:49 +0000 (UTC) Received: (qmail 44252 invoked by uid 500); 30 Jan 2014 15:24:47 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 44226 invoked by uid 500); 30 Jan 2014 15:24:47 -0000 Mailing-List: contact user-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@couchdb.apache.org Delivered-To: mailing list user@couchdb.apache.org Received: (qmail 44218 invoked by uid 99); 30 Jan 2014 15:24:46 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 30 Jan 2014 15:24:46 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of bcitrin@gmail.com designates 209.85.220.45 as permitted sender) Received: from [209.85.220.45] (HELO mail-pa0-f45.google.com) (209.85.220.45) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 30 Jan 2014 15:24:41 +0000 Received: by mail-pa0-f45.google.com with SMTP id lf10so3215505pab.18 for ; Thu, 30 Jan 2014 07:24:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=Ne4Fh7AhP85W1NKx9peUrWtKXvaCoB8WLVOUhlSmLeM=; b=MUjH75cb8C+hnel7Z9Q+YtnGZpgUcUWHSAPP4PZ1/nVE4LbCdHzUVtKc/+VIIexQwp Z03e5WqtS9HrdWttH9P5ias2R7CVl5tvLk0fyZeqj/WDgJ5sytEmVjp9jNqFaIELMqsi innIqRLnlqUdgGyU+uD5KCSCEP9kUJGGCScfjVntQuvqjsw7S/26M6DP8lJVZN1UooJm QX5YJA4n59ChH2+Z0LVD4+q78J90sB6jXar1RmBU3+4rAp5SyHVa9WpwWBuNlZsf9CuO hpw9h6eX320SDetcf/d1VcwEvwEhBiwErJuHCjIajH0oiXs2lCmZSoq1dEdr5eqqS/3v eYew== MIME-Version: 1.0 X-Received: by 10.66.66.234 with SMTP id i10mr14800296pat.127.1391095460047; Thu, 30 Jan 2014 07:24:20 -0800 (PST) Received: by 10.70.85.130 with HTTP; Thu, 30 Jan 2014 07:24:19 -0800 (PST) In-Reply-To: References: <8EDCC6D2-0184-4C26-BF08-22CF7D53288A@apache.org> <524F6E88-A18A-4E55-B8E1-E7C49601B70A@apache.org> <6CB5C43B-178F-4712-8403-62536864C3B3@apache.org> Date: Thu, 30 Jan 2014 17:24:19 +0200 Message-ID: Subject: Re: Cannot connect to CouchDb on Windows 7 64 bit professional From: Boaz Citrin To: "user@couchdb.apache.org" Content-Type: multipart/alternative; boundary=001a11362ee8beb18004f131a627 X-Virus-Checked: Checked by ClamAV on apache.org --001a11362ee8beb18004f131a627 Content-Type: text/plain; charset=ISO-8859-1 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 wrote: > > Hrm, no clue then. Will need a Windows/Erlang developer. > > B. > > On 30 Jan 2014, at 14:51, Boaz Citrin 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 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 wrote: > >>>> > >>>>> attached crash dump > >>>>> > >>>>> > >>>>> On Thu, Jan 30, 2014 at 4:22 PM, Boaz Citrin > >> 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 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 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 > >>>>>>> > >>>>>>> > >>>>> > >>>>> > >>>>> > >>>> > >>>> > >> > >> > > --001a11362ee8beb18004f131a627--