[jira] [Commented] (COUCHDB-1402) Crash on Views - {'EXIT', {{badmatch, {error, {enoent, [{erlang,open_port,

2012-02-09 Thread Dave Cottlehuber (Commented) (JIRA)

[ 
https://issues.apache.org/jira/browse/COUCHDB-1402?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13204458#comment-13204458
 ] 

Dave Cottlehuber commented on COUCHDB-1402:
---

@christopher, I've been unable to replicate this on a MS-supported version. I 
assume you were using a 32-bit Windows which I don't have handy. %ProgramFiles% 
should work; its the default and hasn't changed in a while.

Can you re-run the installer with /LOG=filename somewhere and post that back?

Some checks also;

- if you installed as a service, what is the config?

c:\Program Files (x86)\Apache CouchDBerts-5.8.4\bin\erlsrv.exe 
list
erts-5.8.4\bin\erlsrv.exe: No services found in registry.

- what is the erlang install showing? erl.ini and install.ini

c:\Program Files (x86)\Apache CouchDBmore Install.ini
[Install]
VSN=5.8.4
SYSTEM_VSN=R14B03
c:\Program Files (x86)\Apache CouchDBmore bin\erl.ini
[erlang]
Bindir=c:\\Program Files (x86)\\Apache CouchDB\\erts-5.8.4\\bin
Progname=erl
Rootdir=c:\\Program Files (x86)\\Apache CouchDB

- what is the couchdb config showing?

c:\Program Files (x86)\Apache CouchDBfindstr /s /r /i [/\\.] 
etc\couchdb\*.ini | findstr /v ;
etc\couchdb\default.ini:database_dir = ../var/lib/couchdb
etc\couchdb\default.ini:view_index_dir = ../var/lib/couchdb
etc\couchdb\default.ini:util_driver_dir = 
../lib/couch-1.1.1/priv/lib
etc\couchdb\default.ini:uri_file = ../var/run/couchdb/couch.uri
etc\couchdb\default.ini:bind_address = 127.0.0.1
etc\couchdb\default.ini:file = ../var/log/couchdb/couch.log
etc\couchdb\default.ini:authentication_redirect = 
/_utils/session.html
etc\couchdb\default.ini:javascript = ./couchjs.exe 
../share/couchdb/server/main.js
etc\couchdb\default.ini:/ = {couch_httpd_misc_handlers, 
handle_welcome_req, Welcome}
etc\couchdb\default.ini:favicon.ico = 
{couch_httpd_misc_handlers, handle_favicon_req, ../share/couchdb/www}
etc\couchdb\default.ini:_utils = {couch_httpd_misc_handlers, 
handle_utils_dir_req, ../share/couchdb/www}
etc\couchdb\default.ini:compressible_types = text/*, 
application/javascript, application/json, application/xml


 

 Crash on Views - {'EXIT', {{badmatch, {error, {enoent, [{erlang,open_port,
 --

 Key: COUCHDB-1402
 URL: https://issues.apache.org/jira/browse/COUCHDB-1402
 Project: CouchDB
  Issue Type: Bug
  Components: Database Core
Affects Versions: 1.1.1
 Environment: Windows Server 2003 R2 SP3
Reporter: Christopher Betz

 Every time I go to access a view, I get this error, even from futon. I am 
 currently running Windows 2003 Server R3, SP3. 
 ** Reason for termination ==
 ** {'EXIT',
 {{badmatch,
 {error,
 {enoent,
 [{erlang,open_port,
 [{spawn,
 c:/PROGRA~1/Apache Software 
 Foundation/CouchDB/lib/couch-1.1.1/priv/couchspawnkillable ./couchjs.exe 
 ../share/couchdb/server/main.js},
 [stream,{line,1024},binary,exit_status,hide]]},
 {couch_os_process,init,1},
 {gen_server,init_it,6},
 {proc_lib,init_p_do_apply,3}]}}},
 [{couch_query_servers,new_process,3},
 {couch_query_servers,lang_proc,3},
 {couch_query_servers,handle_call,3},
 {gen_server,handle_msg,5},
 {proc_lib,init_p_do_apply,3}]}}
 [Mon, 06 Feb 2012 18:59:17 GMT] [error] [0.19625.0] {error_report,0.34.0,
 {0.19625.0,crash_report,
 [[{initial_call,{couch_file,init,['Argument__1']}},
 {pid,0.19625.0},
 {registered_name,[]},
 {error_info,
 {exit,
 {'EXIT',
 {{badmatch,
 {error,
 {enoent,
 [{erlang,open_port,
 [{spawn,
 c:/PROGRA~1/Apache Software 
 Foundation/CouchDB/lib/couch-1.1.1/priv/couchspawnkillable ./couchjs.exe 
 ../share/couchdb/server/main.js},
 [stream,
 {line,1024},
 binary,exit_status,hide]]},
 {couch_os_process,init,1},
 {gen_server,init_it,6},
 {proc_lib,init_p_do_apply,3}]}}},
 [{couch_query_servers,new_process,3},
 {couch_query_servers,lang_proc,3},
 {couch_query_servers,handle_call,3},
 {gen_server,handle_msg,5},
 {proc_lib,init_p_do_apply,3}]}},
 [{gen_server,terminate,6},
 {proc_lib,init_p_do_apply,3}]}},
 {ancestors,[0.19624.0,0.19623.0]},
 {messages,[{'EXIT',0.19627.0,shutdown}]},
 {links,[]},
 {dictionary,[]},
 {trap_exit,true},
 {status,running},
 {heap_size,987},
 {stack_size,24},
 {reductions,1331}],
 []]}}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: 

[jira] [Commented] (COUCHDB-1402) Crash on Views - {'EXIT', {{badmatch, {error, {enoent, [{erlang,open_port,

2012-02-07 Thread James Howe (Commented) (JIRA)

[ 
https://issues.apache.org/jira/browse/COUCHDB-1402?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13202197#comment-13202197
 ] 

James Howe commented on COUCHDB-1402:
-

ENOENT is basically file not found. Looks like you've not installed couchdb 
correctly and one of couchspawnkillable, couchjs.exe or main.js aren't in the 
right place.

Windows installers can be found here if you're having trouble.
https://github.com/dch/couchdb/downloads

 Crash on Views - {'EXIT', {{badmatch, {error, {enoent, [{erlang,open_port,
 --

 Key: COUCHDB-1402
 URL: https://issues.apache.org/jira/browse/COUCHDB-1402
 Project: CouchDB
  Issue Type: Bug
  Components: Database Core
Affects Versions: 1.1.1
 Environment: Windows Server 2003 R2 SP3
Reporter: Christopher Betz

 Every time I go to access a view, I get this error, even from futon. I am 
 currently running Windows 2003 Server R3, SP3. 
 ** Reason for termination ==
 ** {'EXIT',
 {{badmatch,
 {error,
 {enoent,
 [{erlang,open_port,
 [{spawn,
 c:/PROGRA~1/Apache Software 
 Foundation/CouchDB/lib/couch-1.1.1/priv/couchspawnkillable ./couchjs.exe 
 ../share/couchdb/server/main.js},
 [stream,{line,1024},binary,exit_status,hide]]},
 {couch_os_process,init,1},
 {gen_server,init_it,6},
 {proc_lib,init_p_do_apply,3}]}}},
 [{couch_query_servers,new_process,3},
 {couch_query_servers,lang_proc,3},
 {couch_query_servers,handle_call,3},
 {gen_server,handle_msg,5},
 {proc_lib,init_p_do_apply,3}]}}
 [Mon, 06 Feb 2012 18:59:17 GMT] [error] [0.19625.0] {error_report,0.34.0,
 {0.19625.0,crash_report,
 [[{initial_call,{couch_file,init,['Argument__1']}},
 {pid,0.19625.0},
 {registered_name,[]},
 {error_info,
 {exit,
 {'EXIT',
 {{badmatch,
 {error,
 {enoent,
 [{erlang,open_port,
 [{spawn,
 c:/PROGRA~1/Apache Software 
 Foundation/CouchDB/lib/couch-1.1.1/priv/couchspawnkillable ./couchjs.exe 
 ../share/couchdb/server/main.js},
 [stream,
 {line,1024},
 binary,exit_status,hide]]},
 {couch_os_process,init,1},
 {gen_server,init_it,6},
 {proc_lib,init_p_do_apply,3}]}}},
 [{couch_query_servers,new_process,3},
 {couch_query_servers,lang_proc,3},
 {couch_query_servers,handle_call,3},
 {gen_server,handle_msg,5},
 {proc_lib,init_p_do_apply,3}]}},
 [{gen_server,terminate,6},
 {proc_lib,init_p_do_apply,3}]}},
 {ancestors,[0.19624.0,0.19623.0]},
 {messages,[{'EXIT',0.19627.0,shutdown}]},
 {links,[]},
 {dictionary,[]},
 {trap_exit,true},
 {status,running},
 {heap_size,987},
 {stack_size,24},
 {reductions,1331}],
 []]}}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Commented] (COUCHDB-1402) Crash on Views - {'EXIT', {{badmatch, {error, {enoent, [{erlang,open_port,

2012-02-07 Thread Christopher Betz (Commented) (JIRA)

[ 
https://issues.apache.org/jira/browse/COUCHDB-1402?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13202317#comment-13202317
 ] 

Christopher Betz commented on COUCHDB-1402:
---

Thanks for the reply! I downloaded and installed this specific version: 
setup-couchdb-1.1.1_js185_otp_R14B03+fix-win32-crypto.exe. I tried uninstalling 
and reinstalling on 2 different machines to no avail. 

I've confirmed that the files listed above exist:

C:\Program Files\Apache Software 
Foundation\CouchDB\lib\couch-1.1.1\priv\couchspawnkillable.exe
C:\Program Files\Apache Software Foundation\CouchDB\bin\couchjs.exe
C:\Program Files\Apache Software Foundation\CouchDB\share\couchdb\server\main.js

Any other thoughts? Thanks again!

 Crash on Views - {'EXIT', {{badmatch, {error, {enoent, [{erlang,open_port,
 --

 Key: COUCHDB-1402
 URL: https://issues.apache.org/jira/browse/COUCHDB-1402
 Project: CouchDB
  Issue Type: Bug
  Components: Database Core
Affects Versions: 1.1.1
 Environment: Windows Server 2003 R2 SP3
Reporter: Christopher Betz

 Every time I go to access a view, I get this error, even from futon. I am 
 currently running Windows 2003 Server R3, SP3. 
 ** Reason for termination ==
 ** {'EXIT',
 {{badmatch,
 {error,
 {enoent,
 [{erlang,open_port,
 [{spawn,
 c:/PROGRA~1/Apache Software 
 Foundation/CouchDB/lib/couch-1.1.1/priv/couchspawnkillable ./couchjs.exe 
 ../share/couchdb/server/main.js},
 [stream,{line,1024},binary,exit_status,hide]]},
 {couch_os_process,init,1},
 {gen_server,init_it,6},
 {proc_lib,init_p_do_apply,3}]}}},
 [{couch_query_servers,new_process,3},
 {couch_query_servers,lang_proc,3},
 {couch_query_servers,handle_call,3},
 {gen_server,handle_msg,5},
 {proc_lib,init_p_do_apply,3}]}}
 [Mon, 06 Feb 2012 18:59:17 GMT] [error] [0.19625.0] {error_report,0.34.0,
 {0.19625.0,crash_report,
 [[{initial_call,{couch_file,init,['Argument__1']}},
 {pid,0.19625.0},
 {registered_name,[]},
 {error_info,
 {exit,
 {'EXIT',
 {{badmatch,
 {error,
 {enoent,
 [{erlang,open_port,
 [{spawn,
 c:/PROGRA~1/Apache Software 
 Foundation/CouchDB/lib/couch-1.1.1/priv/couchspawnkillable ./couchjs.exe 
 ../share/couchdb/server/main.js},
 [stream,
 {line,1024},
 binary,exit_status,hide]]},
 {couch_os_process,init,1},
 {gen_server,init_it,6},
 {proc_lib,init_p_do_apply,3}]}}},
 [{couch_query_servers,new_process,3},
 {couch_query_servers,lang_proc,3},
 {couch_query_servers,handle_call,3},
 {gen_server,handle_msg,5},
 {proc_lib,init_p_do_apply,3}]}},
 [{gen_server,terminate,6},
 {proc_lib,init_p_do_apply,3}]}},
 {ancestors,[0.19624.0,0.19623.0]},
 {messages,[{'EXIT',0.19627.0,shutdown}]},
 {links,[]},
 {dictionary,[]},
 {trap_exit,true},
 {status,running},
 {heap_size,987},
 {stack_size,24},
 {reductions,1331}],
 []]}}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Commented] (COUCHDB-1402) Crash on Views - {'EXIT', {{badmatch, {error, {enoent, [{erlang,open_port,

2012-02-07 Thread Dave Cottlehuber (Commented) (JIRA)

[ 
https://issues.apache.org/jira/browse/COUCHDB-1402?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13202414#comment-13202414
 ] 

Dave Cottlehuber commented on COUCHDB-1402:
---

the path is odd - c:/PROGRA~1/Apache Software Foundation - mix of 8.3 and full 
path. Not sure how this would happen though.

I'm travelling ATM so can't look further but can you install into (say) a 
non-spaces path  try again?


 Crash on Views - {'EXIT', {{badmatch, {error, {enoent, [{erlang,open_port,
 --

 Key: COUCHDB-1402
 URL: https://issues.apache.org/jira/browse/COUCHDB-1402
 Project: CouchDB
  Issue Type: Bug
  Components: Database Core
Affects Versions: 1.1.1
 Environment: Windows Server 2003 R2 SP3
Reporter: Christopher Betz

 Every time I go to access a view, I get this error, even from futon. I am 
 currently running Windows 2003 Server R3, SP3. 
 ** Reason for termination ==
 ** {'EXIT',
 {{badmatch,
 {error,
 {enoent,
 [{erlang,open_port,
 [{spawn,
 c:/PROGRA~1/Apache Software 
 Foundation/CouchDB/lib/couch-1.1.1/priv/couchspawnkillable ./couchjs.exe 
 ../share/couchdb/server/main.js},
 [stream,{line,1024},binary,exit_status,hide]]},
 {couch_os_process,init,1},
 {gen_server,init_it,6},
 {proc_lib,init_p_do_apply,3}]}}},
 [{couch_query_servers,new_process,3},
 {couch_query_servers,lang_proc,3},
 {couch_query_servers,handle_call,3},
 {gen_server,handle_msg,5},
 {proc_lib,init_p_do_apply,3}]}}
 [Mon, 06 Feb 2012 18:59:17 GMT] [error] [0.19625.0] {error_report,0.34.0,
 {0.19625.0,crash_report,
 [[{initial_call,{couch_file,init,['Argument__1']}},
 {pid,0.19625.0},
 {registered_name,[]},
 {error_info,
 {exit,
 {'EXIT',
 {{badmatch,
 {error,
 {enoent,
 [{erlang,open_port,
 [{spawn,
 c:/PROGRA~1/Apache Software 
 Foundation/CouchDB/lib/couch-1.1.1/priv/couchspawnkillable ./couchjs.exe 
 ../share/couchdb/server/main.js},
 [stream,
 {line,1024},
 binary,exit_status,hide]]},
 {couch_os_process,init,1},
 {gen_server,init_it,6},
 {proc_lib,init_p_do_apply,3}]}}},
 [{couch_query_servers,new_process,3},
 {couch_query_servers,lang_proc,3},
 {couch_query_servers,handle_call,3},
 {gen_server,handle_msg,5},
 {proc_lib,init_p_do_apply,3}]}},
 [{gen_server,terminate,6},
 {proc_lib,init_p_do_apply,3}]}},
 {ancestors,[0.19624.0,0.19623.0]},
 {messages,[{'EXIT',0.19627.0,shutdown}]},
 {links,[]},
 {dictionary,[]},
 {trap_exit,true},
 {status,running},
 {heap_size,987},
 {stack_size,24},
 {reductions,1331}],
 []]}}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Commented] (COUCHDB-1402) Crash on Views - {'EXIT', {{badmatch, {error, {enoent, [{erlang,open_port,

2012-02-07 Thread Christopher Betz (Commented) (JIRA)

[ 
https://issues.apache.org/jira/browse/COUCHDB-1402?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13202443#comment-13202443
 ] 

Christopher Betz commented on COUCHDB-1402:
---

I installed to C:\Apache\CouchDB and it works! Thank you!

 Crash on Views - {'EXIT', {{badmatch, {error, {enoent, [{erlang,open_port,
 --

 Key: COUCHDB-1402
 URL: https://issues.apache.org/jira/browse/COUCHDB-1402
 Project: CouchDB
  Issue Type: Bug
  Components: Database Core
Affects Versions: 1.1.1
 Environment: Windows Server 2003 R2 SP3
Reporter: Christopher Betz

 Every time I go to access a view, I get this error, even from futon. I am 
 currently running Windows 2003 Server R3, SP3. 
 ** Reason for termination ==
 ** {'EXIT',
 {{badmatch,
 {error,
 {enoent,
 [{erlang,open_port,
 [{spawn,
 c:/PROGRA~1/Apache Software 
 Foundation/CouchDB/lib/couch-1.1.1/priv/couchspawnkillable ./couchjs.exe 
 ../share/couchdb/server/main.js},
 [stream,{line,1024},binary,exit_status,hide]]},
 {couch_os_process,init,1},
 {gen_server,init_it,6},
 {proc_lib,init_p_do_apply,3}]}}},
 [{couch_query_servers,new_process,3},
 {couch_query_servers,lang_proc,3},
 {couch_query_servers,handle_call,3},
 {gen_server,handle_msg,5},
 {proc_lib,init_p_do_apply,3}]}}
 [Mon, 06 Feb 2012 18:59:17 GMT] [error] [0.19625.0] {error_report,0.34.0,
 {0.19625.0,crash_report,
 [[{initial_call,{couch_file,init,['Argument__1']}},
 {pid,0.19625.0},
 {registered_name,[]},
 {error_info,
 {exit,
 {'EXIT',
 {{badmatch,
 {error,
 {enoent,
 [{erlang,open_port,
 [{spawn,
 c:/PROGRA~1/Apache Software 
 Foundation/CouchDB/lib/couch-1.1.1/priv/couchspawnkillable ./couchjs.exe 
 ../share/couchdb/server/main.js},
 [stream,
 {line,1024},
 binary,exit_status,hide]]},
 {couch_os_process,init,1},
 {gen_server,init_it,6},
 {proc_lib,init_p_do_apply,3}]}}},
 [{couch_query_servers,new_process,3},
 {couch_query_servers,lang_proc,3},
 {couch_query_servers,handle_call,3},
 {gen_server,handle_msg,5},
 {proc_lib,init_p_do_apply,3}]}},
 [{gen_server,terminate,6},
 {proc_lib,init_p_do_apply,3}]}},
 {ancestors,[0.19624.0,0.19623.0]},
 {messages,[{'EXIT',0.19627.0,shutdown}]},
 {links,[]},
 {dictionary,[]},
 {trap_exit,true},
 {status,running},
 {heap_size,987},
 {stack_size,24},
 {reductions,1331}],
 []]}}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira