I've been couch surfing for about 2 weeks so far & this is quite out of my depth to handle. After this error I can't get CouchDB to start up successfully - no idea what caused this - sometime between stopping for the night & starting again in the morning.
I since removed all DB data, restarted, and reloaded data from couchapps and all seems to be fine. As I've not lost production data, no crisis here - relax.... This is running on a shared Mac OS X 10.6 in 64bit mode, with 0.11.0 compiled & installed via MacPorts as server into launchd. I've a 1.2m tgz available with all the bits if somebody sees value in progressing this further. Just let me know how I can help. [Fri, 16 Apr 2010 12:58:37 GMT] [info] [<0.14051.11>] 127.0.0.1 - - 'GET' /easel/_design/easel 200 [Fri, 16 Apr 2010 12:58:37 GMT] [info] [<0.14051.11>] 127.0.0.1 - - 'PUT' /easel/_design/easel 201 [Fri, 16 Apr 2010 17:12:46 GMT] [error] [<0.84.0>] {error_report,<0.30.0>, {<0.84.0>,supervisor_report, [{supervisor,{local,couch_secondary_services}}, {errorContext,start_error}, {reason, {'EXIT', {{case_clause, {error,{1,erl_parse,["syntax error before: ","')'"]}}}, [{couch_httpd,make_arity_1_fun,1}, {couch_httpd,'-start_link/0-fun-0-',1}, {lists,map,2}, {lists,map,2}, {couch_httpd,start_link,0}, {supervisor,do_start_child,2}, {supervisor,start_children,3}, {supervisor,init_children,2}]}}}, {offender, [{pid,undefined}, {name,httpd}, {mfa,{couch_httpd,start_link,[]}}, {restart_type,permanent}, {shutdown,brutal_kill}, {child_type,worker}]}]}} [Fri, 16 Apr 2010 17:12:46 GMT] [error] [<0.76.0>] {error_report,<0.30.0>, {<0.76.0>,supervisor_report, [{supervisor,{local,couch_server_sup}}, {errorContext,start_error}, {reason,shutdown}, {offender, [{pid,undefined}, {name,couch_secondary_services}, {mfa,{couch_server_sup,start_secondary_services,[]}}, {restart_type,permanent}, {shutdown,infinity}, {child_type,supervisor}]}]}} [Sat, 17 Apr 2010 13:31:44 GMT] [error] [<0.84.0>] {error_report,<0.30.0>, {<0.84.0>,supervisor_report, [{supervisor,{local,couch_secondary_services}}, {errorContext,start_error}, {reason, {'EXIT', {{case_clause, {error,{1,erl_parse,["syntax error before: ","')'"]}}}, [{couch_httpd,make_arity_1_fun,1}, {couch_httpd,'-start_link/0-fun-0-',1}, {lists,map,2}, {lists,map,2}, {couch_httpd,start_link,0}, {supervisor,do_start_child,2}, {supervisor,start_children,3}, {supervisor,init_children,2}]}}}, {offender, [{pid,undefined}, {name,httpd}, {mfa,{couch_httpd,start_link,[]}}, {restart_type,permanent}, {shutdown,brutal_kill}, {child_type,worker}]}]}} http://easel.s3.amazonaws.com/dev/couchdb_crash_on_startup_MacOSX10.6_64bit_built_from_macports_0.11.0_syntax_error.tar.gz drwxr-xr-x 0 couchdb couchdb 0 13 Apr 23:06 var/lib/couchdb/ drwxr-xr-x 0 couchdb couchdb 0 12 Apr 00:37 var/lib/couchdb/.sofa_design/ -rw-r--r-- 0 root couchdb 0 11 Apr 10:46 var/lib/couchdb/.turd_couchdb -rw-r--r-- 0 couchdb couchdb 65625 15 Apr 21:04 var/lib/couchdb/couchtasks.couch -rw-r--r-- 0 couchdb couchdb 1392729 17 Apr 00:58 var/lib/couchdb/easel.couch -rw-r--r-- 0 couchdb couchdb 102489 12 Apr 00:36 var/lib/couchdb/sofa.couch -rw-r--r-- 0 couchdb couchdb 24665 13 Apr 20:34 var/lib/couchdb/testapp.couch -rw-r--r-- 0 couchdb couchdb 4192 12 Apr 00:37 var/lib/couchdb/.sofa_design/9442ba48354c26c91d4f5a770df8c5dc.view drwxr-xr-x 0 couchdb couchdb 0 11 Apr 13:49 var/log/couchdb/ -rw-r--r-- 0 root couchdb 0 11 Apr 10:46 var/log/couchdb/.turd_couchdb -rw-r--r-- 0 couchdb couchdb 81334 18 Apr 01:31 var/log/couchdb/couch.log drwxr-xr-x 0 root admin 0 17 Apr 00:53 etc/couchdb/ -rw-r--r-- 0 root admin 4659 11 Apr 10:46 etc/couchdb/default.ini -rw-r--r-- 0 root admin 1434 17 Apr 00:53 etc/couchdb/local.ini