# unable to start api: "sensu-service api start" \[fail\]

**URL:** <https://discourse.sensu.io/t/unable-to-start-api-sensu-service-api-start-fail/259>\
**Category:** Sensu Classic (EOL)\
**Created:** [September 23, 2014, 2:21pm UTC](https://discourse.sensu.io/t/unable-to-start-api-sensu-service-api-start-fail/259 "2014-09-23T14:21:16Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Eric\_Fontana](https://avatars.discourse-cdn.com/v4/letter/e/4491bb/32.png) [@Eric\_Fontana](https://discourse.sensu.io/u/Eric_Fontana)\
**Post date:** [September 23, 2014, 2:21pm UTC](https://discourse.sensu.io/t/unable-to-start-api-sensu-service-api-start-fail/259/1 "2014-09-23T14:21:16Z")

</div>

I’m new to sensu, trying to get things up and running.

I started the server, seems to be running (i can see good stuff in /var/log/sensu/sensu-server.log) when I tried

to start the api, it takes a second, then fails with this in the log:

“default”],“command”:"/etc/sensu/plugins/check-procs.rb -p crond -C 1 ",“interval”:60,“subscribers”:[“webservers”]}]}}}

{“timestamp”:“2014-09-23T10:16:07.680041-0400”,“level”:“fatal”,“message”:“invalid settings”}

{“timestamp”:“2014-09-23T10:16:07.680126-0400”,“level”:“fatal”,“message”:“api must be a hash”,“object”:null}

{“timestamp”:“2014-09-23T10:16:07.680188-0400”,“level”:“fatal”,“message”:“SENSU NOT RUNNING!”}

“SENSU NOT RUNNING” doesn’t sound good?

What do I do?

Thanks.

---

<div class="post-metadata">

**Author:** ![Eric\_Fontana](https://avatars.discourse-cdn.com/v4/letter/e/4491bb/32.png) [@Eric\_Fontana](https://discourse.sensu.io/u/Eric_Fontana)\
**Post date:** [September 23, 2014, 2:23pm UTC](https://discourse.sensu.io/t/unable-to-start-api-sensu-service-api-start-fail/259/2 "2014-09-23T14:23:29Z")

</div>

My mistake, I didn’t create the api.json file, it started fine now. Sorry.

> **···**
>
> On Tuesday, September 23, 2014 10:21:17 AM UTC-4, Eric Fontana wrote:
> 
> > I’m new to sensu, trying to get things up and running.
> 
> > I started the server, seems to be running (i can see good stuff in /var/log/sensu/sensu-server.log) when I tried
> 
> > to start the api, it takes a second, then fails with this in the log:
> 
> > 
> 
> > “default”],“command”:"/etc/sensu/plugins/check-procs.rb -p crond -C 1 ",“interval”:60,“subscribers”:[“webservers”]}]}}}
> 
> > {“timestamp”:“2014-09-23T10:16:07.680041-0400”,“level”:“fatal”,“message”:“invalid settings”}
> 
> > {“timestamp”:“2014-09-23T10:16:07.680126-0400”,“level”:“fatal”,“message”:“api must be a hash”,“object”:null}
> 
> > {“timestamp”:“2014-09-23T10:16:07.680188-0400”,“level”:“fatal”,“message”:“SENSU NOT RUNNING!”}
> 
> > 
> 
> > “SENSU NOT RUNNING” doesn’t sound good?
> 
> > 
> 
> > What do I do?
> 
> > 
> 
> > Thanks.
> 
> >
