ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dmitry Lysnichenko (JIRA)" <j...@apache.org>
Subject [jira] [Created] (AMBARI-6288) ambari-server may kill INIT and SSHD process (in some specific scenarios)
Date Thu, 26 Jun 2014 17:15:27 GMT
Dmitry Lysnichenko created AMBARI-6288:
------------------------------------------

             Summary: ambari-server may kill INIT and SSHD process (in some specific scenarios)
                 Key: AMBARI-6288
                 URL: https://issues.apache.org/jira/browse/AMBARI-6288
             Project: Ambari
          Issue Type: Task
          Components: controller
    Affects Versions: 1.6.1
            Reporter: Dmitry Lysnichenko
            Assignee: Dmitry Lysnichenko
             Fix For: 1.6.1


h2. STR:
# create directory 
# change current dir to this directory
# remove directory
# run ambari-server restart. It will complain that could not perform getcwd and fail.
# Check ambari-server PID file:
{code}
# cat /var/run/ambari-server/ambari-server.pid 
1
{code}
# The 1 is a PID of an */sbin/init process*
{code}
cat /proc/1/cmdline 
/sbin/init
{code}
# Try to restart ambari-server. It notices that old process (INIT) is running and tries to
kills it. As a result, INIT process does not die, but SSHD and probably other services are
killed, active login sessions are terminated.
# Now host is not available over SSH and requires physical access



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message