ok it works thx it was indeed mixed lib files of old version.
On Tue, Mar 27, 2012 at 6:13 PM, Gert Cuykens <[email protected]> wrote: > gert@couchdb:~$ erl > Erlang R16B (erts-5.10) [source] [64-bit] [smp:8:8] [async-threads:0] > [hipe] [kernel-poll:false] > > Eshell V5.10 (abort with ^G) > 1> application:start(crypt). > {error,{"no such file or directory","crypt.app"}} > 2> start(crypt). > ** exception error: undefined shell command start/1 > 3> crypto:start(). > ok > 4> > > On Tue, Mar 27, 2012 at 5:56 PM, Paul Davis <[email protected]> > wrote: >> On Tue, Mar 27, 2012 at 10:40 AM, Gert Cuykens <[email protected]> >> wrote: >>> thx ps is there a script to test erlang to make sure its not erlang? >>> >> >> I'm not at certain what you mean. If you mean you want to test your >> Erlang install, you could try running the erlang shell (erl) and >> running: application:start(crypt). <- That period is important. That >> should print ok in the shell. >> >>> On Tue, Mar 27, 2012 at 5:31 PM, Paul Davis <[email protected]> >>> wrote: >>>> It appears as though you've got a mismatched set of compiled files in >>>> the code directories. That badrecord error means there are things >>>> using different definitions of an internal structure at run time. Your >>>> best bet is to completely remove all of the old code and reinstall the >>>> newer version again. >>>> >>>> On Tue, Mar 27, 2012 at 10:27 AM, Gert Cuykens <[email protected]> >>>> wrote: >>>>> yes both erlang and couchdb was previously installed but its not clear >>>>> to me in the logs what is actually going on. >>>>> all *.couch dbs have been deleted. And have been recreated on couchdb >>>>> start up. >>>>> >>>>> source is a clone from git >>>>> sorry for double mail (was not yet subscribed on mailing list) >>>>> >>>>> On Tue, Mar 27, 2012 at 9:35 AM, Paul Davis <[email protected]> >>>>> wrote: >>>>>> Looks like you have a bad build. Did you perhaps try to upgrade >>>>>> something in place? >>>>>> >>>>>> On Mon, Mar 26, 2012 at 11:52 PM, Gert Cuykens <[email protected]> >>>>>> wrote: >>>>>>> erlang source >>>>>>> couchdb source >>>>>>> config default >>>>>>> user couchdb >>>>>>> ubuntu 12.04 >>>>>>> >>>>>>> gert@couchdb:~$ sudo /etc/init.d/couchdb start >>>>>>> * Starting database server couchdb >>>>>>> [ OK ] >>>>>>> >>>>>>> gert@couchdb:~$ sudo /etc/init.d/couchdb status >>>>>>> Apache CouchDB is running as process 5349, time to relax. >>>>>>> >>>>>>> Nmap scan report for localhost (127.0.0.1) >>>>>>> 22/tcp open ssh OpenSSH 5.9p1 Debian 4ubuntu1 (protocol 2.0) >>>>>>> 53/tcp open domain dnsmasq 2.59 >>>>>>> 631/tcp open ipp CUPS 1.5 >>>>>>> >>>>>>> log: >>>>>>> [Mon, 26 Mar 2012 21:43:44 GMT] [info] [<0.1073.0>] Stopping all >>>>>>> ongoing replications because the replicator database was deleted or >>>>>>> changed >>>>>>> [Mon, 26 Mar 2012 21:43:44 GMT] [error] [<0.1073.0>] ** Generic server >>>>>>> couch_replicator_manager terminating >>>>>>> ** Last message in was {'EXIT',<0.1074.0>, >>>>>>> {{badrecord,db}, >>>>>>> [{couch_replicator_manager, >>>>>>> '-changes_feed_loop/0-fun-1-',3,[]}]}} >>>>>>> ** When Server state == >>>>>>> {state,<0.1074.0>,<0.1075.0>,<<"_replicator">>,[],10} >>>>>>> ** Reason for termination == >>>>>>> ** {unexpected_msg, >>>>>>> {'EXIT',<0.1074.0>, >>>>>>> {{badrecord,db}, >>>>>>> >>>>>>> [{couch_replicator_manager,'-changes_feed_loop/0-fun-1-',3,[]}]}}} >>>>>>> >>>>>>> Any ideas why http://127.0.0.1:5984/ does not work?
