couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Benoit Chesneau <bchesn...@gmail.com>
Subject Re: Installing couchdb 0.11 on Ubuntu does not work
Date Fri, 02 Apr 2010 15:42:24 GMT
On Fri, Apr 2, 2010 at 4:18 PM, Jan Lehnardt <jan@apache.org> wrote:
>
> On 2 Apr 2010, at 13:15, Benoit Chesneau wrote:
>
>> On Fri, Apr 2, 2010 at 12:49 PM, Julian Moritz <mailings@julianmoritz.de> wrote:
>>> Hi,
>>>
>>> Paul Davis schrieb:
>>>> Julian,
>>>>
>>>> As the user that should run couchdb can you do:
>>>>
>>>>     $ couchdb -i
>>>>
>>>> And report what's printed. If nothing other than the Erlang shell appears
try:
>>>>
>>>>     1> application:start(couch).
>>>>
>>>> and report what that does.
>>>>
>>>
>>> I see this:
>>>
>>> julian@laptop:~$ couchdb -i
>>> Erlang R13B01 (erts-5.7.2) [source] [smp:2:2] [rq:2] [async-threads:0]
>>> [kernel-poll:true]
>>>
>>> Eshell V5.7.2  (abort with ^G)
>>> 1> application:start(couch).
>>> {error,{not_started,crypto}}
>>>
>>>
>>>
>> build erlang with crypto support (with openssl).
>
> I think in this case he needs to do
>
>    application:start(crypto).
>    application:start(ibrowse).
>    application:start(couch).
>
> Only if that fails, it is a hint that the crypto module is missing.
>
> Cheers
> Jan
> --
>
>

the application:start already handle that ;

start(_Type, DefaultIniFiles) ->
    IniFiles = get_ini_files(DefaultIniFiles),
    case start_apps([crypto, sasl, inets, oauth, ssl, ibrowse, mochiweb]) of
    ok ->
        couch_server_sup:start_link(IniFiles);
    {error, Reason} ->
        {error, Reason}
    end.

- benoit

Mime
View raw message