You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@couchdb.apache.org by Joshua Cassidy <ca...@gmail.com> on 2011/12/08 04:41:07 UTC

Geocouch 1.1.2 for couchdb 1.1.0 on ubuntu 10.10

Hi,

I am getting the following error when starting couchdb after attempting to
install geocouch on ubuntu 10.10


     [{supervisor,{local,couch_secondary_services}},
      {errorContext,start_error},
      {reason,
          {'EXIT',
              {undef,
                  [{couch_spatial,start_link,[]},
                   {supervisor,do_start_child,2},
                   {supervisor,start_children,3},
                   {supervisor,init_children,2},
                   {gen_server,init_it,6},
                   {proc_lib,init_p_do_apply,3}]}}},
      {offender,
          [{pid,undefined},
           {name,spatial_manager},
           {mfa,{couch_spatial,start_link,[]}},
           {restart_type,permanent},
           {shutdown,1000},
           {child_type,worker}]}]}}

Installation instructions followed from here: 
https://github.com/couchbase/geocouch

I am guessing that earlang is unable to find the 
spatail beam files however I am
no expert on earlang and have been unable 
to solve this any help would be
appreciated.

I ahve already tried the following:

export ERL_FLAGS="-pa /usr/local/src/geocouch/build"

and also

export ERL_FLAGS="-pz /usr/local/src/geocouch/build"

before launching couchdb but to no avail






Re: Geocouch 1.1.2 for couchdb 1.1.0 on ubuntu 10.10

Posted by Volker Mische <vo...@gmail.com>.
On 12/08/2011 04:41 AM, Joshua Cassidy wrote:
> Hi,
> 
> I am getting the following error when starting couchdb after attempting to
> install geocouch on ubuntu 10.10
> 
> 
>      [{supervisor,{local,couch_secondary_services}},
>       {errorContext,start_error},
>       {reason,
>           {'EXIT',
>               {undef,
>                   [{couch_spatial,start_link,[]},
>                    {supervisor,do_start_child,2},
>                    {supervisor,start_children,3},
>                    {supervisor,init_children,2},
>                    {gen_server,init_it,6},
>                    {proc_lib,init_p_do_apply,3}]}}},
>       {offender,
>           [{pid,undefined},
>            {name,spatial_manager},
>            {mfa,{couch_spatial,start_link,[]}},
>            {restart_type,permanent},
>            {shutdown,1000},
>            {child_type,worker}]}]}}
> 
> Installation instructions followed from here: 
> https://github.com/couchbase/geocouch
> 
> I am guessing that earlang is unable to find the 
> spatail beam files however I am
> no expert on earlang and have been unable 
> to solve this any help would be
> appreciated.
> 
> I ahve already tried the following:
> 
> export ERL_FLAGS="-pa /usr/local/src/geocouch/build"
> 
> and also
> 
> export ERL_FLAGS="-pz /usr/local/src/geocouch/build"
> 
> before launching couchdb but to no avail


Hi Joshua,

you are right, the beam files can't be found by CouchDB. Can you please
make sure that GeoCouch was built and the beam files are in that location?

Please do an "ls /usr/local/src/geocouch/build" and see if the beam
files are there.

Cheers,
  Volker



Re: Geocouch 1.1.2 for couchdb 1.1.0 on ubuntu 10.10

Posted by Jason Woodruff <ja...@btinternet.com>.
This of any help?

http://euroside.wordpress.com/2011/12/06/installing-geocouch/

I blogged my experiences of installing on ubuntu 11.10.  I also had
problems with erlang finding the .beam files.  At first I had geocouch
installed in my home directory.  I switched to /usr/local and it was ok.  I
guess my home directory isn't in Erlang's path.

Jason

On 8 December 2011 03:41, Joshua Cassidy <ca...@gmail.com> wrote:

> Hi,
>
> I am getting the following error when starting couchdb after attempting to
> install geocouch on ubuntu 10.10
>
>
>     [{supervisor,{local,couch_secondary_services}},
>      {errorContext,start_error},
>      {reason,
>          {'EXIT',
>              {undef,
>                  [{couch_spatial,start_link,[]},
>                   {supervisor,do_start_child,2},
>                   {supervisor,start_children,3},
>                   {supervisor,init_children,2},
>                   {gen_server,init_it,6},
>                   {proc_lib,init_p_do_apply,3}]}}},
>      {offender,
>          [{pid,undefined},
>           {name,spatial_manager},
>           {mfa,{couch_spatial,start_link,[]}},
>           {restart_type,permanent},
>           {shutdown,1000},
>           {child_type,worker}]}]}}
>
> Installation instructions followed from here:
> https://github.com/couchbase/geocouch
>
> I am guessing that earlang is unable to find the
> spatail beam files however I am
> no expert on earlang and have been unable
> to solve this any help would be
> appreciated.
>
> I ahve already tried the following:
>
> export ERL_FLAGS="-pa /usr/local/src/geocouch/build"
>
> and also
>
> export ERL_FLAGS="-pz /usr/local/src/geocouch/build"
>
> before launching couchdb but to no avail
>
>
>
>
>
>