incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dave Cottlehuber <d...@muse.net.nz>
Subject Re: crashes leaving .turd_couchdb behind & then fails to start up [CouchDB 0.11.0 compiled from MacPorts on OS X 10.6 64bit kernel mode]
Date Mon, 19 Apr 2010 11:45:20 GMT
SOLVED -  pure incompetence (ouch).

in trying to fix this pb I re-ran port install couchdb. This then
wrote a fresh version of local.ini which corrected my original error.
I have a ) instead of a } in local.ini. Only excuse is in my vi font
these look the same..... especially round 2am.

which bit of the below shows more experienced people that this is
failing during reading of config files rather than later on?

>>>    {<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}]}}},

>>> 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
>>>
>>
>>
>>
>> --
>> Filipe David Manana,
>> fdmanana@gmail.com
>>
>> "Reasonable men adapt themselves to the world.
>> Unreasonable men adapt the world to themselves.
>> That's why all progress depends on unreasonable men."
>>
>

Mime
View raw message