[Loris-dev] DQT install - couchdb
Tom Beaudry
waveflux at gmail.com
Wed Feb 11 15:30:13 EST 2015
OK i have a solution.
Thanks,
Tom
On Wed, Feb 11, 2015 at 3:19 PM, Tom Beaudry <waveflux at gmail.com> wrote:
> Hi Everyone,
>
> I figured out what the problem was, I pressed ctrl+z which left couchdb
> running in the background (which is why I coudn't start a new one).
>
> So my next problem is when I do:
>
> *>curl -H 'Content-Type: application/json' -X POST
> http://lorisadmin:lorisadmin1234@127.0.0.1:5984/_replicate
> <http://lorisadmin:lorisadmin1234@127.0.0.1:5984/_replicate> -d
> '{"source":"http://couchdb.loris.ca:5984/dataquerytool-1_0_0
> <http://couchdb.loris.ca:5984/dataquerytool-1_0_0>",
> "target":"canadachina"}'*
> *\*
> {"error":"unauthorized","reason":"Name or password is incorrect."}
>
> I have edited my local.ini already (and have changed the username and
> password in this example for privacy). Does the local.ini need to be in a
> specific folder for it to recognize the username and password i chose??
> Also, how can i check what is the latest version of the dataquerytool? Is
> it 2_0_0?
>
> thanks,
> Tom
>
>
> On Wed, Feb 11, 2015 at 3:03 PM, Tom Beaudry <waveflux at gmail.com> wrote:
>
>> Hi Everyone,
>>
>> I think I have successfully installed couchdb, and am now trying to
>> finish installing the DQT. I got to the stage in which I had to edit the
>> local.ini file with the newCouchDBusername and password I wanted, and then
>> the wiki stated to restart couchdb. Upon trying to restart couchdb, I now
>> get this error:
>>
>> *[lorisadmin at canadachina couchdb]$ couchdb*
>> *Apache CouchDB 1.6.1 (LogLevel=info) is starting.*
>> *Failure to start Mochiweb: eaddrinuse*
>> *[error] [<0.107.0>] {error_report,<0.31.0>,*
>> * {<0.107.0>,crash_report,*
>> * [[{initial_call,*
>> * {mochiweb_socket_server,init,['Argument__1']}},*
>> * {pid,<0.107.0>},*
>> * {registered_name,[]},*
>> * {error_info,*
>> * {exit,eaddrinuse,*
>> * [{gen_server,init_it,6,*
>> * [{file,"gen_server.erl"},{line,320}]},*
>> * {proc_lib,init_p_do_apply,3,*
>> * [{file,"proc_lib.erl"},{line,227}]}]}},*
>> * {ancestors,*
>> *
>> [couch_secondary_services,couch_server_sup,<0.32.0>]},*
>> * {messages,[]},*
>> * {links,[<0.94.0>]},*
>> * {dictionary,[]},*
>> * {trap_exit,true},*
>> * {status,running},*
>> * {heap_size,987},*
>> * {stack_size,24},*
>> * {reductions,466}],*
>> * []]}}*
>> *{"init terminating in
>> do_boot",{{badmatch,{error,{bad_return,{{couch_app,start,[normal,["/usr/local/etc/couchdb/default.ini","/usr/local/etc/couchdb/local.ini"]]},{'EXIT',{{badmatch,{error,shutdown}},[{couch_server_sup,start_server,1,[{file,"couch_server_sup.erl"},{line,98}]},{application_master,start_it_old,4,[{file,"application_master.erl"},{line,274}]}]}}}}}},[{couch,start,0,[{file,"couch.erl"},{line,18}]},{init,start_it,1,[]},{init,start_em,1,[]}]}}*
>>
>> *Crash dump was written to: erl_crash.dump*
>> *init terminating in do_boot ()*
>>
>> Any help would be greatly appreciated!
>> Tom
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.bic.mni.mcgill.ca/pipermail/loris-dev/attachments/20150211/917afcfa/attachment-0001.html>
More information about the Loris-dev
mailing list