Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

hi, somebody know why pass this error:

Solved Go to solution
Highlighted

hi, somebody know why pass this error:

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

Accepted Solutions
Highlighted

Re: hi, somebody know why pass this error:

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
Highlighted

Re: hi, somebody know why pass this error:

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

Re: hi, somebody know why pass this error:

Explorer

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
Highlighted

Re: hi, somebody know why pass this error:

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

Don't have an account?
Coming from Hortonworks? Activate your account here