Archives of Support Questions (Read Only)

This is an archived board for historical reference. Information and links may no longer be available or relevant
Announcements
This board is archived and read-only for historical reference. To ask a new question, please post a new topic on the appropriate active board.

hi, somebody know why pass this error:

avatar
New Member
ambari-server.service: main process exited, code=killed, status=9/KILL
1 ACCEPTED SOLUTION

avatar

Hi @yadir Aguilar ,

i think you should have started the ambari-server using the command

ambari-server start

In that case please use the command

ambari-server status

This is just how systemd works. For systemd to track a process it needs to be started with systemd.
If it is started outside systemd, it won't manage the process and the status will be "not started"

E.g:

# valid flow
ambari-server start
ambari-server status
# valid flow
systemctl start ambari-server
systemctl status ambari-server
# invalid flow
ambari-server start
systemctl status ambari-server

Please accept answer if this helps you :)

View solution in original post

3 REPLIES 3

avatar

@yadir Aguilar where and when do you see this error?

avatar
New Member

86642-ambari-service.png

when a the heartbeat don't have response, i run this code: systemctl status ambari-server, so in here i get this error, i execute some commands and the service is runnig again, but this problem pass repeatedly

avatar

Hi @yadir Aguilar ,

i think you should have started the ambari-server using the command

ambari-server start

In that case please use the command

ambari-server status

This is just how systemd works. For systemd to track a process it needs to be started with systemd.
If it is started outside systemd, it won't manage the process and the status will be "not started"

E.g:

# valid flow
ambari-server start
ambari-server status
# valid flow
systemctl start ambari-server
systemctl status ambari-server
# invalid flow
ambari-server start
systemctl status ambari-server

Please accept answer if this helps you :)