ask for help: The RabbitMQ connection Error still exists. The OAE on Windows is too difficult.
The version of RabbitMQ is 3.1.5, and the Erlang is 5.10.3. Many thanks Cedric Here are the Status, Environment and Report of RabbitMQ. ============================================================== 1 The status of RabbitMQ: -------------------------------------------------- D:\Program Files\RabbitMQ Server\rabbitmq_server-3.1.5\sbin>rabbitmqctl status Status of node 'rabbit@CUL-7B947962226' ... [{pid,6056}, {running_applications,[{rabbit,"RabbitMQ","3.1.5"}, {os_mon,"CPO CXC 138 46","2.2.13"}, {mnesia,"MNESIA CXC 138 12","4.10"}, {xmerl,"XML parser","1.3.4"}, {sasl,"SASL CXC 138 11","2.3.3"}, {stdlib,"ERTS CXC 138 10","1.19.3"}, {kernel,"ERTS CXC 138 10","2.16.3"}]}, {os,{win32,nt}}, {erlang_version,"Erlang R16B02 (erts-5.10.3) [smp:2:2] [async-threads:30]\n"}, {memory,[{total,20366776}, {connection_procs,1396}, {queue_procs,2792}, {plugins,0}, {other_proc,8831584}, {mnesia,31544}, {mgmt_db,0}, {msg_index,17384}, {other_ets,431452}, {binary,7536}, {code,8596643}, {atom,428361}, {other_system,2018084}]}, {vm_memory_high_watermark,0.4}, {vm_memory_limit,840726937}, {disk_free_limit,1000000000}, {disk_free,215886745600}, {file_descriptors,[{total_limit,8092}, {total_used,3}, {sockets_limit,7280}, {sockets_used,1}]}, {processes,[{limit,1048576},{used,126}]}, {run_queue,0}, {uptime,87}] ...done. 2 The Environment of RabbitMQ: -------------------------------------------------- D:\Program Files\RabbitMQ Server\rabbitmq_server-3.1.5\sbin>rabbitmqctl environment Application environment of node 'rabbit@CUL-7B947962226' ... [{auth_backends,[rabbit_auth_backend_internal]}, {auth_mechanisms,['PLAIN','AMQPLAIN']}, {backing_queue_module,rabbit_variable_queue}, {cluster_nodes,{[],disc}}, {cluster_partition_handling,ignore}, {collect_statistics,none}, {collect_statistics_interval,5000}, {default_permissions,[<<".*">>,<<".*">>,<<".*">>]}, {default_user,<<"guest">>}, {default_user_tags,[administrator]}, {default_vhost,<<"/">>}, {delegate_count,16}, {disk_free_limit,1000000000}, {enabled_plugins_file,"D:/Documents and Settings/sf507/Application Data/RabbitM Q/enabled_plugins"}, {error_logger,{file,"D:/Documents and Settings/sf507/Application Data/RabbitMQ/ log/rab...@cul-7b947962226.log"}}, {frame_max,131072}, {heartbeat,600}, {hipe_compile,false}, {hipe_modules,[rabbit_reader,rabbit_channel,gen_server2,rabbit_exchange, rabbit_command_assembler,rabbit_framing_amqp_0_9_1, rabbit_basic,rabbit_event,lists,queue,priority_queue, rabbit_router,rabbit_trace,rabbit_misc,rabbit_binary_parser, rabbit_exchange_type_direct,rabbit_guid,rabbit_net, rabbit_amqqueue_process,rabbit_variable_queue, rabbit_binary_generator,rabbit_writer,delegate,gb_sets,lqueue, sets,orddict,rabbit_amqqueue,rabbit_limiter,gb_trees, rabbit_queue_index,rabbit_exchange_decorator,gen,dict,ordsets, file_handle_cache,rabbit_msg_store,array, rabbit_msg_store_ets_index,rabbit_msg_file, rabbit_exchange_type_fanout,rabbit_exchange_type_topic,mnesia, mnesia_lib,rpc,mnesia_tm,qlc,sofs,proplists,credit_flow,pmon, ssl_connection,tls_connection,ssl_record,tls_record,gen_fsm, ssl]}, {included_applications,[]}, {log_levels,[{connection,info}]}, {msg_store_file_size_limit,16777216}, {msg_store_index_module,rabbit_msg_store_ets_index}, {plugins_dir,"D:/Program Files/RabbitMQ Server/rabbitmq_server-3.1.5/sbin/../pl ugins"}, {plugins_expand_dir,"D:/Documents and Settings/sf507/Application Data/RabbitMQ/ db/rabbit@CUL-7B947962226-plugins-expand"}, {queue_index_max_journal_entries,65536}, {reverse_dns_lookups,false}, {sasl_error_logger,{file,"D:/Documents and Settings/sf507/Application Data/Rabb itMQ/log/rab...@cul-7b947962226-sasl.log"}}, {server_properties,[]}, {ssl_apps,[asn1,crypto,public_key,ssl]}, {ssl_cert_login_from,distinguished_name}, {ssl_listeners,[]}, {ssl_options,[]}, {tcp_listen_options,[binary, {packet,raw}, {reuseaddr,true}, {backlog,128}, {nodelay,true}, {linger,{true,0}}, {exit_on_close,false}]}, {tcp_listeners,[5672]}, {trace_vhosts,[]}, {vm_memory_high_watermark,0.4}] ...done. ----------------------------------------------------- 3 The Report of RabbitMQ: ----------------------------------------------------- D:\Program Files\RabbitMQ Server\rabbitmq_server-3.1.5\sbin>rabbitmqctl report Reporting server status on {{2013,11,7},{11,6,34}} ... Status of node 'rabbit@CUL-7B947962226' ... [{pid,6056}, {running_applications,[{rabbit,"RabbitMQ","3.1.5"}, {os_mon,"CPO CXC 138 46","2.2.13"}, {mnesia,"MNESIA CXC 138 12","4.10"}, {xmerl,"XML parser","1.3.4"}, {sasl,"SASL CXC 138 11","2.3.3"}, {stdlib,"ERTS CXC 138 10","1.19.3"}, {kernel,"ERTS CXC 138 10","2.16.3"}]}, {os,{win32,nt}}, {erlang_version,"Erlang R16B02 (erts-5.10.3) [smp:2:2] [async-threads:30]\n"}, {memory,[{total,20384760}, {connection_procs,1396}, {queue_procs,2792}, {plugins,0}, {other_proc,8845656}, {mnesia,31544}, {mgmt_db,0}, {msg_index,20400}, {other_ets,432052}, {binary,7536}, {code,8596643}, {atom,428361}, {other_system,2018380}]}, {vm_memory_high_watermark,0.4}, {vm_memory_limit,840726937}, {disk_free_limit,1000000000}, {disk_free,215887826944}, {file_descriptors,[{total_limit,8092}, {total_used,3}, {sockets_limit,7280}, {sockets_used,1}]}, {processes,[{limit,1048576},{used,127}]}, {run_queue,0}, {uptime,622}] Cluster status of node 'rabbit@CUL-7B947962226' ... [{nodes,[{disc,['rabbit@CUL-7B947962226']}]}, {running_nodes,['rabbit@CUL-7B947962226']}, {partitions,[]}] Application environment of node 'rabbit@CUL-7B947962226' ... [{auth_backends,[rabbit_auth_backend_internal]}, {auth_mechanisms,['PLAIN','AMQPLAIN']}, {backing_queue_module,rabbit_variable_queue}, {cluster_nodes,{[],disc}}, {cluster_partition_handling,ignore}, {collect_statistics,none}, {collect_statistics_interval,5000}, {default_permissions,[<<".*">>,<<".*">>,<<".*">>]}, {default_user,<<"guest">>}, {default_user_tags,[administrator]}, {default_vhost,<<"/">>}, {delegate_count,16}, {disk_free_limit,1000000000}, {enabled_plugins_file,"D:/Documents and Settings/sf507/Application Data/RabbitM Q/enabled_plugins"}, {error_logger,{file,"D:/Documents and Settings/sf507/Application Data/RabbitMQ/ log/rab...@cul-7b947962226.log"}}, {frame_max,131072}, {heartbeat,600}, {hipe_compile,false}, {hipe_modules,[rabbit_reader,rabbit_channel,gen_server2,rabbit_exchange, rabbit_command_assembler,rabbit_framing_amqp_0_9_1, rabbit_basic,rabbit_event,lists,queue,priority_queue, rabbit_router,rabbit_trace,rabbit_misc,rabbit_binary_parser, rabbit_exchange_type_direct,rabbit_guid,rabbit_net, rabbit_amqqueue_process,rabbit_variable_queue, rabbit_binary_generator,rabbit_writer,delegate,gb_sets,lqueue, sets,orddict,rabbit_amqqueue,rabbit_limiter,gb_trees, rabbit_queue_index,rabbit_exchange_decorator,gen,dict,ordsets, file_handle_cache,rabbit_msg_store,array, rabbit_msg_store_ets_index,rabbit_msg_file, rabbit_exchange_type_fanout,rabbit_exchange_type_topic,mnesia, mnesia_lib,rpc,mnesia_tm,qlc,sofs,proplists,credit_flow,pmon, ssl_connection,tls_connection,ssl_record,tls_record,gen_fsm, ssl]}, {included_applications,[]}, {log_levels,[{connection,info}]}, {msg_store_file_size_limit,16777216}, {msg_store_index_module,rabbit_msg_store_ets_index}, {plugins_dir,"D:/Program Files/RabbitMQ Server/rabbitmq_server-3.1.5/sbin/../pl ugins"}, {plugins_expand_dir,"D:/Documents and Settings/sf507/Application Data/RabbitMQ/ db/rabbit@CUL-7B947962226-plugins-expand"}, {queue_index_max_journal_entries,65536}, {reverse_dns_lookups,false}, {sasl_error_logger,{file,"D:/Documents and Settings/sf507/Application Data/Rabb itMQ/log/rab...@cul-7b947962226-sasl.log"}}, {server_properties,[]}, {ssl_apps,[asn1,crypto,public_key,ssl]}, {ssl_cert_login_from,distinguished_name}, {ssl_listeners,[]}, {ssl_options,[]}, {tcp_listen_options,[binary, {packet,raw}, {reuseaddr,true}, {backlog,128}, {nodelay,true}, {linger,{true,0}}, {exit_on_close,false}]}, {tcp_listeners,[5672]}, {trace_vhosts,[]}, {vm_memory_high_watermark,0.4}] Connections: Channels: Queues on /: Exchanges on /: name type durable auto_delete internal arguments policy direct true false false [] amq.direct direct true false false [] amq.fanout fanout true false false [] amq.headers headers true false false [] amq.match headers true false false [] amq.rabbitmq.log topic true false false [] amq.rabbitmq.trace topic true false false [] amq.topic topic true false false [] oae-taskexchange direct true false false [] Bindings on /: Consumers on /: Permissions on /: user configure write read guest .* .* .* Policies on /: Parameters on /: ...done. --------------------------------------------------------- =========================================================== -------------------------------------------------------- I re-installed the 3.1.5. The rabbitmqctl list_que seems OK. --------------------------------------- D:\Program Files\RabbitMQ Server\rabbitmq_server-3.1.5\sbin>rabbitmqctl list_que ues Listing queues ... ...done. ---------------------------------------- However, the RabbitMQ connection Error still exists. ------------------------------------------- [2013-11-05T15:57:43.769Z] ERROR: mq/4952 on CUL-7B947962226: Error in the Rabbi tMQ connection. Reconnecting. Error: FRAME_ERROR - type 1, first 16 octets = <<0,50,0,10,0,0,1,0,7,0,0,0,7 2,0,50,0>>: {invalid_frame_end_marker, 0} at Connection._onMethod (D:\OAE\Hilary\node_modules\amqp\amqp.js:1170:15 ) at AMQPParser.parser.onMethod (D:\OAE\Hilary\node_modules\amqp\amqp.js:9 10:12) at AMQPParser._parseMethodFrame (D:\OAE\Hilary\node_modules\amqp\amqp.js :458:10) at frameEnd (D:\OAE\Hilary\node_modules\amqp\amqp.js:194:16) at frame (D:\OAE\Hilary\node_modules\amqp\amqp.js:179:14) at AMQPParser.header [as parse] (D:\OAE\Hilary\node_modules\amqp\amqp.js :165:14) at AMQPParser.execute (D:\OAE\Hilary\node_modules\amqp\amqp.js:240:21) at Connection.<anonymous> (D:\OAE\Hilary\node_modules\amqp\amqp.js:951:1 6) at Connection.EventEmitter.emit (events.js:95:17) at Connection.<anonymous> (_stream_readable.js:746:14) ^CTerminate batch job (Y/N)? --------------------------------------------- Many thanks Cedirc On 2013-11-05 14:56, Branden Visser wrote: > Can you try 3.1.5? 3.2.0 was released recently and may have some > breaking changes. > > Thanks, > Branden > > On Tue, Nov 5, 2013 at 9:51 AM, S. Fan <sf...@cam.ac.uk> wrote: >> Hello Branden >> >> The version is 3.2.0. >> The result of rabbitmqctl is >> ------------------------------------------------------ >> D:\Program Files\RabbitMQ >> Server\rabbitmq_server-3.2.0\sbin>rabbitmqctl >> list_que >> ues >> Listing queues ... >> oae-search/index 0 >> ...done. >> ------------------------------------------------------ >> >> Whether the client cannot successfully connect? >> >> Many thanks >> >> Cedric >> >> >> >> On 2013-11-05 14:14, Branden Visser wrote: >>> >>> Hi Cedric, the error you're referencing is a different error. >>> >>> What version of RabbitMQ did you install? Can you connect to RabbitMQ >>> with other utilities such as rabbitmqctl? Try running the following: >>> >>> rabbitmqctl list_queues >>> >>> To see if the client is able to successfully connect. >>> >>> Thanks, >>> Branden >>> >>> On Tue, Nov 5, 2013 at 9:06 AM, S. Fan <sf...@cam.ac.uk> wrote: >>>> >>>> Hi Branden >>>> >>>> Although I reinstalled Erlang Windows and the newest RabbitMQ, the >>>> RabbitMQ >>>> connection ERROR still exists. >>>> >>>> -------------------------------------------------------------- >>>> [2013-11-05T13:40:44.555Z] ERROR: mq/4160 on CUL-7B947962226: Error >>>> in >>>> the >>>> Rabbi >>>> tMQ connection. Reconnecting. >>>> Error: COMMAND_INVALID - second 'channel.open' seen >>>> at Connection._onMethod >>>> (D:\OAE\Hilary\node_modules\amqp\amqp.js:1170:15 >>>> ) >>>> at AMQPParser.parser.onMethod >>>> (D:\OAE\Hilary\node_modules\amqp\amqp.js:9 >>>> 10:12) >>>> at AMQPParser._parseMethodFrame >>>> (D:\OAE\Hilary\node_modules\amqp\amqp.js >>>> :458:10) >>>> at frameEnd (D:\OAE\Hilary\node_modules\amqp\amqp.js:194:16) >>>> at frame (D:\OAE\Hilary\node_modules\amqp\amqp.js:179:14) >>>> at AMQPParser.header [as parse] >>>> (D:\OAE\Hilary\node_modules\amqp\amqp.js >>>> :165:14) >>>> at AMQPParser.execute >>>> (D:\OAE\Hilary\node_modules\amqp\amqp.js:240:21) >>>> at Connection.<anonymous> >>>> (D:\OAE\Hilary\node_modules\amqp\amqp.js:951:1 >>>> 6) >>>> at Connection.EventEmitter.emit (events.js:95:17) >>>> at Connection.<anonymous> (_stream_readable.js:746:14) >>>> [2013-11-05T13:40:45.964Z] INFO: mq/4160 on CUL-7B947962226: >>>> Connection >>>> to >>>> Rabb >>>> itMQ established. >>>> [2013-11-05T13:40:45.967Z] ERROR: mq/4160 on CUL-7B947962226: Error >>>> in >>>> the >>>> Rabbi >>>> tMQ connection. Reconnecting. >>>> Error: COMMAND_INVALID - second 'channel.open' seen >>>> ------------------------------------------------------------ >>>> >>>> It seems that someone met this ERROR too. >>>> https://github.com/oaeproject/Hilary/issues/643 >>>> >>>> >>>> Thank you >>>> >>>> Cedric >>>> >>>> >>>> >>>> On 2013-10-31 11:57, Branden Visser wrote: >>>>> >>>>> >>>>> Hi Cedric, you are getting a "connection refused" error when trying >>>>> to >>>>> connect to elasticsearch. It probably means elasticsearch isn't >>>>> running. Can you start it? >>>>> >>>>> Thanks, >>>>> Branden >>>>> >>>>> On Thu, Oct 31, 2013 at 7:40 AM, S. Fan <sf...@cam.ac.uk> wrote: >>>>>> >>>>>> >>>>>> Dear Branden >>>>>> >>>>>> 1 Your suggestion is absolutely right. >>>>>> >>>>>> I find out a CASSANDRA_HOME variable in the environment variables. >>>>>> It >>>>>> should >>>>>> have been auto installed by Chocolatey for Windows Dependencies. >>>>>> And >>>>>> the >>>>>> path is D:\Program Files\DataStax Community\apache-cassandra\. >>>>>> >>>>>> I delete the CASSANDRA_HOME variable. >>>>>> Then, the problem of Cassandra is settled. And cqlsh also shows >>>>>> that >>>>>> the >>>>>> version of Cassandra is 1.2. >>>>>> Maybe Chocolatey auto installed the newest Cassandra by default. >>>>>> >>>>>> Thank you. >>>>>> >>>>>> 2 Unfortunately, new error happened when I continue the execution >>>>>> of >>>>>> "node >>>>>> app.js | .\node_modules\.bin\bunyan." >>>>>> It should be the problem of elasticsearch. >>>>>> >>>>>> >>>>>> The result is >>>>>> ---------------------------------------------------- >>>>>> D:\OAE\Hilary>node app.js | .\node_modules\.bin\bunyan >>>>>> ... >>>>>> >>>>>> [2013-10-31T11:31:37.366Z] INFO: elasticsearchclient/1004 on >>>>>> CUL-7B947962226: R >>>>>> efreshed search configuration. >>>>>> config: { >>>>>> "index": "oae", >>>>>> "serverOpts": { >>>>>> "hosts": [ >>>>>> { >>>>>> "host": "localhost", >>>>>> "port": 9200 >>>>>> } >>>>>> ] >>>>>> } >>>>>> } >>>>>> [2013-10-31T11:31:38.369Z] ERROR: elasticsearchclient/1004 on >>>>>> CUL-7B947962226: E >>>>>> rror executing indexStatus query. >>>>>> Error: connect ECONNREFUSED >>>>>> at errnoException (net.js:901:11) >>>>>> at Object.afterConnect [as oncomplete] (net.js:892:19) >>>>>> [2013-10-31T11:31:38.370Z] ERROR: search/1004 on CUL-7B947962226: >>>>>> Error >>>>>> creating >>>>>> index "oae". >>>>>> Error: connect ECONNREFUSED >>>>>> at errnoException (net.js:901:11) >>>>>> at Object.afterConnect [as oncomplete] (net.js:892:19) >>>>>> [2013-10-31T11:31:38.370Z] ERROR: oae-modules/1004 on >>>>>> CUL-7B947962226: >>>>>> Error >>>>>> ini >>>>>> tializing module oae-search >>>>>> Error: connect ECONNREFUSED >>>>>> at errnoException (net.js:901:11) >>>>>> at Object.afterConnect [as oncomplete] (net.js:892:19) >>>>>> [2013-10-31T11:31:38.370Z] INFO: oae/1004 on CUL-7B947962226: All >>>>>> modules >>>>>> are b >>>>>> ootstrapped, initializing servers. >>>>>> [2013-10-31T11:31:38.370Z] ERROR: system/1004 on CUL-7B947962226: >>>>>> Error >>>>>> initiali >>>>>> zing server. >>>>>> Error: connect ECONNREFUSED >>>>>> at errnoException (net.js:901:11) >>>>>> at Object.afterConnect [as oncomplete] (net.js:892:19) >>>>>> [2013-10-31T11:31:38.370Z] INFO: system/1004 on CUL-7B947962226: >>>>>> Initialization >>>>>> all done ... Firing up tenants ... Enjoy! >>>>>> Terminate batch job (Y/N)? >>>>>> ---------------------------------------------------- >>>>>> >>>>>> Best wishes >>>>>> >>>>>> Cedric >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> On 2013-10-29 16:12, Branden Visser wrote: >>>>>>> >>>>>>> >>>>>>> >>>>>>> Hi Cedric, in the future, please use "Reply To All" to include >>>>>>> the >>>>>>> oae-dev list in your response. >>>>>>> >>>>>>> Can you please attach the config.js file you are using to try and >>>>>>> start up Hilary? Be sure to scrub any confidential information if >>>>>>> you >>>>>>> filled in any secret keys. >>>>>>> >>>>>>> Also, please connect to Cassandra using cqlsh rather than >>>>>>> cassandra-cli, and let me know what the output says (it will give >>>>>>> specifically the version of cassandra being used) >>>>>>> >>>>>>> Lastly, can you clear your local cassandra data directory, >>>>>>> saved_cache >>>>>>> directory and commit log? I'm not very familiar with Cassandra on >>>>>>> Windows, so you may need to research where each of these files >>>>>>> are to >>>>>>> delete them. If you can locate the cassandra configuration file, >>>>>>> the >>>>>>> paths should be configured in there. If it helps, at least one >>>>>>> source >>>>>>> suggests it may be located at something like >>>>>>> C:\var\lib\cassandra\... >>>>>>> [1]. This will ensure you don't have some Column Families created >>>>>>> w/ >>>>>>> CQL3 that may still be hanging around since you downgraded to >>>>>>> 1.2. >>>>>>> >>>>>>> Hope that helps, >>>>>>> Branden >>>>>>> >>>>>>> [1] >>>>>>> >>>>>>> >>>>>>> >>>>>>> http://stackoverflow.com/questions/17161416/where-is-cassandra-backup-stored-on-windows >>>>>>> >>>>>>> On Tue, Oct 29, 2013 at 11:52 AM, S. Fan <sf...@cam.ac.uk> wrote: >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> hello dear Branden >>>>>>>> >>>>>>>> thank you for giving me a new advice. >>>>>>>> >>>>>>>> I have separately tried the two version of Cassandra today (1.2, >>>>>>>> 2.0). >>>>>>>> And I also downloaded the code of Hilary again. The license >>>>>>>> shows >>>>>>>> "Educational Community License, Version 2.0 (ECL-2.0) Version >>>>>>>> 2.0, >>>>>>>> April >>>>>>>> 2007". >>>>>>>> >>>>>>>> However, it still cannot work and show the same error as in Tue, >>>>>>>> Oct >>>>>>>> 22, >>>>>>>> 2013. >>>>>>>> >>>>>>>> At the mean time, I don't know whether I still haven't set the >>>>>>>> right >>>>>>>> configuration of Cassandra in Windows. >>>>>>>> >>>>>>>> 1. When I start Cassandra, it is ok and show >>>>>>>> " INFO 15:32:57,380 Listening for thrift clients..." >>>>>>>> >>>>>>>> 2. I start cassandra-cli, and it show >>>>>>>> >>>>>>>> -------------------------------------------------------------- >>>>>>>> C:\OAE\cassandra\bin>cassandra-cli -host localhost -port 9160 >>>>>>>> Starting Cassandra Client >>>>>>>> Connected to: "Test Cluster" on localhost/9160 >>>>>>>> Welcome to Cassandra CLI version 2.0.1 >>>>>>>> >>>>>>>> Please consider using the more convenient cqlsh instead of CLI >>>>>>>> CQL3 is fully backwards compatible with Thrift data; see >>>>>>>> http://www.datastax.com >>>>>>>> /dev/blog/thrift-to-cql3 >>>>>>>> >>>>>>>> Type 'help;' or '?' for help. >>>>>>>> Type 'quit;' or 'exit;' to quit. >>>>>>>> >>>>>>>> [default@unknown] ? >>>>>>>> ... help >>>>>>>> ... >>>>>>>> ------------------------------------------------------ >>>>>>>> >>>>>>>> >>>>>>>> thank you again >>>>>>>> >>>>>>>> Cedric >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> ======================================================== >>>>>>>> >>>>>>>> On 2013-10-28 17:36, Branden Visser wrote: >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> Hi Cedric, my suggestion to use latest version of 1.2 was not >>>>>>>>> correct, >>>>>>>>> as it appears 1.2 also defaults to using CQL3. >>>>>>>>> >>>>>>>>> However as of October 9th, OAE shouldn't encounter this error >>>>>>>>> on >>>>>>>>> Cassandra versions that default to CQL3 (i.e., 1.2+ and 2.0+). >>>>>>>>> If >>>>>>>>> you >>>>>>>>> have not already, can you please make sure you have updated to >>>>>>>>> the >>>>>>>>> latest code and see if it still fails? >>>>>>>>> >>>>>>>>> Thanks, >>>>>>>>> Branden >>>>>>>>> >>>>>>>>> On Wed, Oct 23, 2013 at 10:45 AM, S. Fan <sf...@cam.ac.uk> >>>>>>>>> wrote: >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> Hello Branden >>>>>>>>>> >>>>>>>>>> I have checked the README.txt in C:\OAE\cassandra. It seems >>>>>>>>>> that >>>>>>>>>> the >>>>>>>>>> version >>>>>>>>>> is 1.2. >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> ------------------------------------------------------------------------------- >>>>>>>>>> Connected to Test Cluster at localhost:9160. >>>>>>>>>> [cqlsh 2.2.0 | Cassandra 1.2.0 | CQL spec 3.0.0 | Thrift >>>>>>>>>> protocol >>>>>>>>>> 19.35.0] >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> ------------------------------------------------------------------------------- >>>>>>>>>> >>>>>>>>>> Maybe there are some other reasons. >>>>>>>>>> >>>>>>>>>> Thank you anyway >>>>>>>>>> >>>>>>>>>> Sincerely >>>>>>>>>> >>>>>>>>>> Cedric >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> On 2013-10-22 16:23, Branden Visser wrote: >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> Hi Cedric, >>>>>>>>>>> >>>>>>>>>>> OAE is not currently compatible with Cassandra 2.0 which I >>>>>>>>>>> think >>>>>>>>>>> you >>>>>>>>>>> installed. Please install the latest version of Cassandra 1.2 >>>>>>>>>>> and >>>>>>>>>>> give >>>>>>>>>>> that a try. >>>>>>>>>>> >>>>>>>>>>> Thanks, >>>>>>>>>>> Branden >>>>>>>>>>> >>>>>>>>>>> On Tue, Oct 22, 2013 at 11:12 AM, S. Fan <sf...@cam.ac.uk> >>>>>>>>>>> wrote: >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> Hello everybody >>>>>>>>>>>> >>>>>>>>>>>> I write to ask for help of OAE on Windows OS. >>>>>>>>>>>> >>>>>>>>>>>> OAE on Windows is too difficult. >>>>>>>>>>>> >>>>>>>>>>>> When I try to install OAE on Windows, I meet numerous of >>>>>>>>>>>> problems. >>>>>>>>>>>> Some >>>>>>>>>>>> of them are solved, but it still can not work in the end. >>>>>>>>>>>> >>>>>>>>>>>> One of the problems is: >>>>>>>>>>>> >>>>>>>>>>>> Starting the server >>>>>>>>>>>> Now we're ready to start the app server. You can do so by >>>>>>>>>>>> going >>>>>>>>>>>> into >>>>>>>>>>>> the >>>>>>>>>>>> Hilary directory and running: >>>>>>>>>>>> node app.js | node_modules/.bin/bunyan >>>>>>>>>>>> >>>>>>>>>>>> here is the result of running >>>>>>>>>>>> ------------------------------------------------------ >>>>>>>>>>>> C:\OAE\Hilary>node app.js | node_modules\.bin\bunyan >>>>>>>>>>>> [2013-10-16T13:39:34.014Z] INFO: oae-modules/15148 on >>>>>>>>>>>> idea-FAN: >>>>>>>>>>>> Initialized mod >>>>>>>>>>>> ule oae-logger >>>>>>>>>>>> [2013-10-16T13:39:34.014Z] INFO: oae-modules/15148 on >>>>>>>>>>>> idea-FAN: >>>>>>>>>>>> Initialized mod >>>>>>>>>>>> ule oae-telemetry >>>>>>>>>>>> [2013-10-16T13:39:34.076Z] INFO: oae-modules/15148 on >>>>>>>>>>>> idea-FAN: >>>>>>>>>>>> Initialized mod >>>>>>>>>>>> ule oae-tenants >>>>>>>>>>>> [2013-10-16T13:39:34.217Z] ERROR: oae-cassandra/15148 on >>>>>>>>>>>> idea-FAN: >>>>>>>>>>>> An >>>>>>>>>>>> error occu >>>>>>>>>>>> rred executing a cassandra query. >>>>>>>>>>>> HelenusInvalidRequestException: No indexed columns >>>>>>>>>>>> present >>>>>>>>>>>> in >>>>>>>>>>>> by-columns cla >>>>>>>>>>>> use with "equals" operator >>>>>>>>>>>> at onReturn >>>>>>>>>>>> (C:\OAE\Hilary\node_modules\helenus\lib\connection.js:386:23 >>>>>>>>>>>> ) >>>>>>>>>>>> at client._reqs.(anonymous function) >>>>>>>>>>>> (C:\OAE\Hilary\node_modules\helenus >>>>>>>>>>>> \node_modules\helenus-thrift\lib\thrift\connection.js:80:11) >>>>>>>>>>>> at Object.CassandraClient.recv_execute_cql_query >>>>>>>>>>>> (C:\OAE\Hilary\node_mod >>>>>>>>>>>> ules\helenus\lib\cassandra\Cassandra.js:8283:12) >>>>>>>>>>>> at >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> C:\OAE\Hilary\node_modules\helenus\node_modules\helenus-thrift\lib\th >>>>>>>>>>>> rift\connection.js:83:37 >>>>>>>>>>>> at Socket.<anonymous> >>>>>>>>>>>> (C:\OAE\Hilary\node_modules\helenus\node_modules\h >>>>>>>>>>>> elenus-thrift\lib\thrift\transport.js:70:9) >>>>>>>>>>>> at Socket.EventEmitter.emit (events.js:95:17) >>>>>>>>>>>> at Socket.<anonymous> (_stream_readable.js:746:14) >>>>>>>>>>>> at Socket.EventEmitter.emit (events.js:92:17) >>>>>>>>>>>> at emitReadable_ (_stream_readable.js:408:10) >>>>>>>>>>>> at emitReadable (_stream_readable.js:404:5) >>>>>>>>>>>> -- >>>>>>>>>>>> query: SELECT * FROM Config USING CONSISTENCY QUORUM >>>>>>>>>>>> WHERE >>>>>>>>>>>> tenantAlias = ? >>>>>>>>>>>> -- >>>>>>>>>>>> parameters: [ >>>>>>>>>>>> "admin" >>>>>>>>>>>> ] >>>>>>>>>>>> [2013-10-16T13:39:34.217Z] ERROR: oae-modules/15148 on >>>>>>>>>>>> idea-FAN: >>>>>>>>>>>> Error >>>>>>>>>>>> initializ >>>>>>>>>>>> ing module oae-config >>>>>>>>>>>> err: { >>>>>>>>>>>> "code": 500, >>>>>>>>>>>> "msg": "An error occurred executing a query" >>>>>>>>>>>> } >>>>>>>>>>>> [2013-10-16T13:39:34.217Z] INFO: oae/15148 on idea-FAN: All >>>>>>>>>>>> modules >>>>>>>>>>>> are >>>>>>>>>>>> bootstr >>>>>>>>>>>> apped, initializing servers. >>>>>>>>>>>> [2013-10-16T13:39:34.217Z] ERROR: system/15148 on idea-FAN: >>>>>>>>>>>> Error >>>>>>>>>>>> initializing s >>>>>>>>>>>> erver. >>>>>>>>>>>> err: { >>>>>>>>>>>> "code": 500, >>>>>>>>>>>> "msg": "An error occurred executing a query" >>>>>>>>>>>> } >>>>>>>>>>>> [2013-10-16T13:39:34.217Z] INFO: system/15148 on idea-FAN: >>>>>>>>>>>> Initialization all d >>>>>>>>>>>> one ... Firing up tenants ... Enjoy! >>>>>>>>>>>> -------------------------------------------------------- >>>>>>>>>>>> >>>>>>>>>>>> Hope to help me. >>>>>>>>>>>> >>>>>>>>>>>> Many thanks >>>>>>>>>>>> >>>>>>>>>>>> Cedric >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> _______________________________________________ >>>>>>>>>>>> oae-dev mailing list >>>>>>>>>>>> oae-dev@collab.sakaiproject.org >>>>>>>>>>>> http://collab.sakaiproject.org/mailman/listinfo/oae-dev >>>> >>>> >>>> >> _______________________________________________ oae-dev mailing list oae-dev@collab.sakaiproject.org http://collab.sakaiproject.org/mailman/listinfo/oae-dev