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

Reply via email to