Starting several services

Hi there !

I’m trying to dockerize a centreon poller running in CentOS 6.7 : Image files : centreon-poller

According to many topics, I should use supervisord to start several services at my container startup (sshd, centengine and snmpd).
I’m still having no service started when I start my container.

I’m having this kind of errors when supervisord is started in foreground (example for snmpd) :

spawned: ‘snmpd’ with pid 88
exited: snmpd (exit status 0; not expected)
received SIGCLD indicating a child quit
spawned: ‘snmpd’ with pid 102
exited: snmpd (exit status 0; not expected)
received SIGCLD indicating a child quit
gave up: snmpd entered FATAL state, too many start retries too quickly

These errors prompt for the 3 services I’m trying to start.

What am I doing wrong and what could be the problem ?

Look an any logs you might have for the thing that is failing and see what it’s trying to do.