Sunday, May 06, 2012

CloudFoundry NATS server problem


ejvyas@ubuntu:~$ cd cloudfoundry/
cd ejvyas@ubuntu:~/cloudfoundry$ cd vcap
Using /home/ejvyas/.rvm/gems/ruby-1.9.2-p180
ejvyas@ubuntu:~/cloudfoundry/vcap$ bin/vcap start
router              : STOPPED
LOG:
 [2012-01-27 11:06:56] router - 14786 40fa 5678   INFO -- Starting VCAP Router (0.98)
[2012-01-27 11:06:56] router - 14786 40fa 5678   INFO -- Listening on: 0.0.0.0:2222
[2012-01-27 11:06:56] router - 14786 40fa 5678   INFO -- Listening on unix domain socket: '/tmp/router.sock'
[2012-01-27 11:06:56] router - 14786 40fa 5678   INFO -- Socket Limit:1024
[2012-01-27 11:06:56] router - 14786 40fa 5678   INFO -- Connections: [Clients: 0, Apps: 0, Total: 5]
[2012-01-27 11:06:56] router - 14786 40fa 5678  ERROR -- EXITING! NATS connection failed: Could not connect to server on nats://localhost:4222
cloud_controller    : STOPPED
dea                 : RUNNING
health_manager      : STOPPED
LOG:
 [2012-01-27 11:07:28] hm - 15015 397f a1ab  ERROR -- NATS problem, Could not connect to server on nats://localhost:4222/
[2012-01-27 11:07:28] hm exception 15015 397f a1ab  ERROR -- NATS::ConnectError("Could not connect to server on nats://localhost:4222/", [])
stager              : STOPPED
LOG:
 [2012-01-27 11:07:32] vcap.stager.server - 15133 451b 8e55  ERROR -- NATS error: Could not connect to server on nats://127.0.0.1:4222
[2012-01-27 11:07:32] vcap.stager.server exception 15133 451b 8e55  ERROR -- NATS::ConnectError("Could not connect to server on nats://127.0.0.1:4222", [])
/home/ejvyas/cloudfoundry/vcap/stager/lib/vcap/stager/server.rb:84:in `block in install_error_handlers': Could not connect to server on nats://127.0.0.1:4222 (NATS::ConnectError)
from /home/ejvyas/.rvm/gems/ruby-1.9.2-p180/gems/nats-0.4.22.beta.4/lib/nats/client.rb:541:in `call'
from /home/ejvyas/.rvm/gems/ruby-1.9.2-p180/gems/nats-0.4.22.beta.4/lib/nats/client.rb:541:in `process_disconnect'
from /home/ejvyas/.rvm/gems/ruby-1.9.2-p180/gems/nats-0.4.22.beta.4/lib/nats/client.rb:531:in `unbind'
from /home/ejvyas/.rvm/gems/ruby-1.9.2-p180/gems/eventmachine-0.12.11.cloudfoundry.3/lib/eventmachine.rb:1417:in `event_callback'
from /home/ejvyas/.rvm/gems/ruby-1.9.2-p180/gems/eventmachine-0.12.11.cloudfoundry.3/lib/eventmachine.rb:256:in `run_machine'
from /home/ejvyas/.rvm/gems/ruby-1.9.2-p180/gems/eventmachine-0.12.11.cloudfoundry.3/lib/eventmachine.rb:256:in `run'
from /home/ejvyas/cloudfoundry/vcap/stager/lib/vcap/stager/server.rb:47:in `run'
from /home/ejvyas/cloudfoundry/vcap/stager/bin/stager:54:in `<main>'
redis_gateway       : STOPPED
redis_node          : RUNNING
mysql_gateway       : STOPPED
LOG:
 [2012-01-27 11:08:01] mysql_gateway - 15242 1dbb 3b08   INFO -- MyaaS-Provisioner: Initializing
[2012-01-27 11:08:01] mysql_gateway - 15242 1dbb 3b08  DEBUG -- Register update handle callback with #<Proc:0x0000000188ef18@/home/ejvyas/cloudfoundry/vcap/services/base/lib/base/asynchronous_service_gateway.rb:116>
[2012-01-27 11:08:01] mysql_gateway - 15242 1dbb 3b08   INFO -- Sending info to cloud controller: http://api.vcap.me/services/v1/offerings
[2012-01-27 11:08:01] mysql_gateway - 15242 1dbb 3b08   INFO -- Fetching handles from cloud controller @ http://api.vcap.me/services/v1/offerings/mysql-5.1/handles
[2012-01-27 11:08:01] mysql_gateway - 15242 1dbb 3b08  ERROR -- EXITING! NATS connection failed: Could not connect to server on nats://localhost:4222
[2012-01-27 11:08:01] mysql_gateway - 15242 1dbb 3b08  ERROR -- Failed registering with cloud controller:
[2012-01-27 11:08:01] mysql_gateway - 15242 1dbb 3b08  ERROR -- Failed fetching handles:
[2012-01-27 11:08:01] mysql_gateway - 15242 1dbb 3b08   INFO -- Sending deactivation notice to cloud controller: http://api.vcap.me/services/v1/offerings
/home/ejvyas/.rvm/gems/ruby-1.9.2-p180/gems/eventmachine-0.12.11.cloudfoundry.3/lib/eventmachine.rb:1425:in `event_callback': recieved ConnectionUnbound for an unknown signature: 2 (EventMachine::ConnectionNotBound)
from /home/ejvyas/.rvm/gems/ruby-1.9.2-p180/gems/eventmachine-0.12.11.cloudfoundry.3/lib/eventmachine.rb:263:in `release_machine'
from /home/ejvyas/.rvm/gems/ruby-1.9.2-p180/gems/eventmachine-0.12.11.cloudfoundry.3/lib/eventmachine.rb:263:in `ensure in run'
from /home/ejvyas/.rvm/gems/ruby-1.9.2-p180/gems/eventmachine-0.12.11.cloudfoundry.3/lib/eventmachine.rb:280:in `run'
from /home/ejvyas/cloudfoundry/vcap/services/base/lib/base/gateway.rb:86:in `start'
from /home/ejvyas/cloudfoundry/vcap/services/mysql/bin/mysql_gateway:27:in `<main>'
mysql_node          : RUNNING
mongodb_gateway     : STOPPED
LOG:
 [2012-01-27 11:08:14] mongodb_gateway - 15304 4fc2 e3e7   INFO -- MongoaaS-Provisioner: Initializing
[2012-01-27 11:08:14] mongodb_gateway - 15304 4fc2 e3e7  DEBUG -- Register update handle callback with #<Proc:0x0000000297fbd8@/home/ejvyas/cloudfoundry/vcap/services/base/lib/base/asynchronous_service_gateway.rb:116>
[2012-01-27 11:08:14] mongodb_gateway - 15304 4fc2 e3e7   INFO -- Sending info to cloud controller: http://api.vcap.me/services/v1/offerings
[2012-01-27 11:08:14] mongodb_gateway - 15304 4fc2 e3e7   INFO -- Fetching handles from cloud controller @ http://api.vcap.me/services/v1/offerings/mongodb-1.8/handles
[2012-01-27 11:08:14] mongodb_gateway - 15304 4fc2 e3e7  ERROR -- EXITING! NATS connection failed: Could not connect to server on nats://localhost:4222
[2012-01-27 11:08:14] mongodb_gateway - 15304 4fc2 e3e7  ERROR -- Failed registering with cloud controller:
[2012-01-27 11:08:14] mongodb_gateway - 15304 4fc2 e3e7  ERROR -- Failed fetching handles:
[2012-01-27 11:08:14] mongodb_gateway - 15304 4fc2 e3e7   INFO -- Sending deactivation notice to cloud controller: http://api.vcap.me/services/v1/offerings
/home/ejvyas/.rvm/gems/ruby-1.9.2-p180/gems/eventmachine-0.12.11.cloudfoundry.3/lib/eventmachine.rb:1425:in `event_callback': recieved ConnectionUnbound for an unknown signature: 2 (EventMachine::ConnectionNotBound)
from /home/ejvyas/.rvm/gems/ruby-1.9.2-p180/gems/eventmachine-0.12.11.cloudfoundry.3/lib/eventmachine.rb:263:in `release_machine'
from /home/ejvyas/.rvm/gems/ruby-1.9.2-p180/gems/eventmachine-0.12.11.cloudfoundry.3/lib/eventmachine.rb:263:in `ensure in run'
from /home/ejvyas/.rvm/gems/ruby-1.9.2-p180/gems/eventmachine-0.12.11.cloudfoundry.3/lib/eventmachine.rb:280:in `run'
from /home/ejvyas/cloudfoundry/vcap/services/base/lib/base/gateway.rb:86:in `start'
from /home/ejvyas/cloudfoundry/vcap/services/mongodb/bin/mongodb_gateway:27:in `<main>'
mongodb_node        : RUNNING
echo_gateway        : STOPPED
LOG:
 [2012-01-27 11:08:26] echo_gateway - 15368 f297 0cde   INFO -- EchoaaS-Provisioner: Initializing
[2012-01-27 11:08:26] echo_gateway - 15368 f297 0cde  DEBUG -- Register update handle callback with #<Proc:0x000000020e7bd8@/home/ejvyas/cloudfoundry/vcap/services/base/lib/base/asynchronous_service_gateway.rb:116>
[2012-01-27 11:08:26] echo_gateway - 15368 f297 0cde   INFO -- Sending info to cloud controller: http://api.vcap.me/services/v1/offerings
[2012-01-27 11:08:26] echo_gateway - 15368 f297 0cde   INFO -- Fetching handles from cloud controller @ http://api.vcap.me/services/v1/offerings/echo-1.0/handles
[2012-01-27 11:08:26] echo_gateway - 15368 f297 0cde  ERROR -- EXITING! NATS connection failed: Could not connect to server on nats://localhost:4222
[2012-01-27 11:08:26] echo_gateway - 15368 f297 0cde  ERROR -- Failed registering with cloud controller:
[2012-01-27 11:08:26] echo_gateway - 15368 f297 0cde  ERROR -- Failed fetching handles:
[2012-01-27 11:08:26] echo_gateway - 15368 f297 0cde   INFO -- Sending deactivation notice to cloud controller: http://api.vcap.me/services/v1/offerings
/home/ejvyas/.rvm/gems/ruby-1.9.2-p180/gems/eventmachine-0.12.11.cloudfoundry.3/lib/eventmachine.rb:1425:in `event_callback': recieved ConnectionUnbound for an unknown signature: 2 (EventMachine::ConnectionNotBound)
from /home/ejvyas/.rvm/gems/ruby-1.9.2-p180/gems/eventmachine-0.12.11.cloudfoundry.3/lib/eventmachine.rb:263:in `release_machine'
from /home/ejvyas/.rvm/gems/ruby-1.9.2-p180/gems/eventmachine-0.12.11.cloudfoundry.3/lib/eventmachine.rb:263:in `ensure in run'
from /home/ejvyas/.rvm/gems/ruby-1.9.2-p180/gems/eventmachine-0.12.11.cloudfoundry.3/lib/eventmachine.rb:280:in `run'
from /home/ejvyas/cloudfoundry/vcap/services/base/lib/base/gateway.rb:86:in `start'
from /home/ejvyas/cloudfoundry/vcap/services/echo/bin/echo_gateway:25:in `<main>'
echo_node           : RUNNING
nosql_gateway       : STOPPED
LOG:
 [2012-01-27 11:08:42] nosql_gateway - 15441 799c 98e4   INFO -- NosqlaaS-Provisioner: Initializing
[2012-01-27 11:08:42] nosql_gateway - 15441 799c 98e4  DEBUG -- Register update handle callback with #<Proc:0x0000000149d878@/home/ejvyas/cloudfoundry/vcap/services/base/lib/base/asynchronous_service_gateway.rb:116>
[2012-01-27 11:08:42] nosql_gateway - 15441 799c 98e4   INFO -- Sending info to cloud controller: http://api.vcap.me/services/v1/offerings
[2012-01-27 11:08:42] nosql_gateway - 15441 799c 98e4   INFO -- Fetching handles from cloud controller @ http://api.vcap.me/services/v1/offerings/nosql-1.0/handles
[2012-01-27 11:08:42] nosql_gateway - 15441 799c 98e4  ERROR -- EXITING! NATS connection failed: Could not connect to server on nats://localhost:4222
[2012-01-27 11:08:42] nosql_gateway - 15441 799c 98e4  ERROR -- Failed registering with cloud controller:
[2012-01-27 11:08:42] nosql_gateway - 15441 799c 98e4  ERROR -- Failed fetching handles:
[2012-01-27 11:08:42] nosql_gateway - 15441 799c 98e4   INFO -- Sending deactivation notice to cloud controller: http://api.vcap.me/services/v1/offerings
/home/ejvyas/.rvm/gems/ruby-1.9.2-p180/gems/eventmachine-0.12.11.cloudfoundry.3/lib/eventmachine.rb:1425:in `event_callback': recieved ConnectionUnbound for an unknown signature: 2 (EventMachine::ConnectionNotBound)
from /home/ejvyas/.rvm/gems/ruby-1.9.2-p180/gems/eventmachine-0.12.11.cloudfoundry.3/lib/eventmachine.rb:263:in `release_machine'
from /home/ejvyas/.rvm/gems/ruby-1.9.2-p180/gems/eventmachine-0.12.11.cloudfoundry.3/lib/eventmachine.rb:263:in `ensure in run'
from /home/ejvyas/.rvm/gems/ruby-1.9.2-p180/gems/eventmachine-0.12.11.cloudfoundry.3/lib/eventmachine.rb:280:in `run'
from /home/ejvyas/cloudfoundry/vcap/services/base/lib/base/gateway.rb:86:in `start'
from /home/ejvyas/cloudfoundry/vcap/services/nosql/bin/nosql_gateway:25:in `<main>'
nosql_node          : RUNNING

No comments:

Post a Comment

Thank you for your feedback