Sensu-api crashing

Hi there,

I’m new to Sensu and I think I almost successfully configured a server for it following the steps on the site.

However, it is crashing.

When I open the dashboard, it works very briefly, after a couple requests it fails saying “Bootstrap error, is Sensu Api running?”

I restarted the sensu-api service but then same thing, crashes after a bit.

Here is what it says in the log, any advice? I tried connecting through non-SSL port too, but the result is the same.

{“timestamp”:“2013-12-03T02:13:23.271567+0000”,“level”:“fatal”,“message”:“rabbitmq connection error”,“error”:“timed out while attempting to connect”}

{“timestamp”:“2013-12-03T02:13:23.271785+0000”,“level”:“warn”,“message”:“stopping”}

Thanks a lot!

Kevin

Any chance this is on rackspace/openstack? i had to rackconnect my box and run chef-client again so it talked to the correct ip.

···

Best Regards,
JJ Asghar | jjasghar@gmail.com | p: 512.619.0722

On Mon, Dec 2, 2013 at 8:16 PM, Kevin Castro kevin.castro@gmail.com wrote:

Hi there,

I’m new to Sensu and I think I almost successfully configured a server for it following the steps on the site.

However, it is crashing.

When I open the dashboard, it works very briefly, after a couple requests it fails saying “Bootstrap error, is Sensu Api running?”

I restarted the sensu-api service but then same thing, crashes after a bit.

Here is what it says in the log, any advice? I tried connecting through non-SSL port too, but the result is the same.

{“timestamp”:“2013-12-03T02:13:23.271567+0000”,“level”:“fatal”,“message”:“rabbitmq connection error”,“error”:“timed out while attempting to connect”}

{“timestamp”:“2013-12-03T02:13:23.271785+0000”,“level”:“warn”,“message”:“stopping”}

Thanks a lot!

Kevin

This is all running on the same server. Didn’t do a chef install though, followed step by step.

This is on Amazon, on a Ubuntu instance.

Kevin

···

On Tue, Dec 3, 2013 at 12:38 AM, JJ Asghar jjasghar@gmail.com wrote:

Any chance this is on rackspace/openstack? i had to rackconnect my box and run chef-client again so it talked to the correct ip.

Best Regards,
JJ Asghar | jjasghar@gmail.com | p: 512.619.0722

On Mon, Dec 2, 2013 at 8:16 PM, Kevin Castro kevin.castro@gmail.com wrote:

Hi there,

I’m new to Sensu and I think I almost successfully configured a server for it following the steps on the site.

However, it is crashing.

When I open the dashboard, it works very briefly, after a couple requests it fails saying “Bootstrap error, is Sensu Api running?”

I restarted the sensu-api service but then same thing, crashes after a bit.

Here is what it says in the log, any advice? I tried connecting through non-SSL port too, but the result is the same.

{“timestamp”:“2013-12-03T02:13:23.271567+0000”,“level”:“fatal”,“message”:“rabbitmq connection error”,“error”:“timed out while attempting to connect”}

{“timestamp”:“2013-12-03T02:13:23.271785+0000”,“level”:“warn”,“message”:“stopping”}

Thanks a lot!

Kevin

Nevermind folks… it was a typo on the user credentials for RabbitMQ.

Sorry!

Kevin

···

On Tue, Dec 3, 2013 at 1:04 AM, Kevin Castro kevin.castro@gmail.com wrote:

This is all running on the same server. Didn’t do a chef install though, followed step by step.

This is on Amazon, on a Ubuntu instance.

Kevin

On Tue, Dec 3, 2013 at 12:38 AM, JJ Asghar jjasghar@gmail.com wrote:

Any chance this is on rackspace/openstack? i had to rackconnect my box and run chef-client again so it talked to the correct ip.

Best Regards,
JJ Asghar | jjasghar@gmail.com | p: 512.619.0722

On Mon, Dec 2, 2013 at 8:16 PM, Kevin Castro kevin.castro@gmail.com wrote:

Hi there,

I’m new to Sensu and I think I almost successfully configured a server for it following the steps on the site.

However, it is crashing.

When I open the dashboard, it works very briefly, after a couple requests it fails saying “Bootstrap error, is Sensu Api running?”

I restarted the sensu-api service but then same thing, crashes after a bit.

Here is what it says in the log, any advice? I tried connecting through non-SSL port too, but the result is the same.

{“timestamp”:“2013-12-03T02:13:23.271567+0000”,“level”:“fatal”,“message”:“rabbitmq connection error”,“error”:“timed out while attempting to connect”}

{“timestamp”:“2013-12-03T02:13:23.271785+0000”,“level”:“warn”,“message”:“stopping”}

Thanks a lot!

Kevin

Sounds like a stack bootstrap orchestration/ordering issue.

···

Best Regards,
JJ Asghar | jjasghar@gmail.com | p: 512.619.0722

On Mon, Dec 2, 2013 at 8:16 PM, Kevin Castro kevin.castro@gmail.com wrote:

Hi there,

I’m new to Sensu and I think I almost successfully configured a server for it following the steps on the site.

However, it is crashing.

When I open the dashboard, it works very briefly, after a couple requests it fails saying “Bootstrap error, is Sensu Api running?”

I restarted the sensu-api service but then same thing, crashes after a bit.

Here is what it says in the log, any advice? I tried connecting through non-SSL port too, but the result is the same.

{“timestamp”:“2013-12-03T02:13:23.271567+0000”,“level”:“fatal”,“message”:“rabbitmq connection error”,“error”:“timed out while attempting to connect”}

{“timestamp”:“2013-12-03T02:13:23.271785+0000”,“level”:“warn”,“message”:“stopping”}

Thanks a lot!

Kevin