ambari-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "zhangxiaolu (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMBARI-13401) Fail to start services since cannot check/create users
Date Tue, 26 Jul 2016 09:08:20 GMT

    [ https://issues.apache.org/jira/browse/AMBARI-13401?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15393476#comment-15393476
] 

zhangxiaolu commented on AMBARI-13401:
--------------------------------------

thank you very much. I reset ambari-server and the problem has resolved, thank you.

> Fail to start services since cannot check/create users
> ------------------------------------------------------
>
>                 Key: AMBARI-13401
>                 URL: https://issues.apache.org/jira/browse/AMBARI-13401
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-agent
>    Affects Versions: 2.2.0
>         Environment: centos6.5
>            Reporter: zhangxiaolu
>         Attachments: Screen Shot 2016-03-22 at 10.26.40 AM.png, Screen Shot 2016-03-22
at 10.27.23 AM.png, command-3308.json
>
>
> Installed Ambari 2.2.0
> HDP 2.3.2.0-2950
> Some services started, but ZKFC, Kafka, Resource Manager, AMS, are no longer starting.
> {code}
> Traceback (most recent call last):
>   File "/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/hooks/before-ANY/scripts/hook.py",
line 35, in <module>
>     BeforeAnyHook().execute()
>   File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py",
line 218, in execute
>     method(env)
>   File "/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/hooks/before-ANY/scripts/hook.py",
line 30, in hook
>     setup_users()
>   File "/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/hooks/before-ANY/scripts/shared_initialization.py",
line 76, in setup_users
>     ignore_failures = params.ignore_groupsusers_create
>   File "/usr/lib/python2.6/site-packages/resource_management/core/base.py", line 154,
in __init__
>     self.env.run()
>   File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line
152, in run
>     self.run_action(resource, action)
>   File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line
118, in run_action
>     provider_action()
>   File "/usr/lib/python2.6/site-packages/resource_management/core/providers/accounts.py",
line 44, in action_create
>     if not self.user:
>   File "/usr/lib/python2.6/site-packages/resource_management/core/providers/accounts.py",
line 93, in user
>     return pwd.getpwnam(self.resource.username)
> TypeError: getpwnam() argument 1 must be string, not None
> Error: Error: Unable to run the custom hook script ['/usr/bin/python2.6', '/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/hooks/before-ANY/scripts/hook.py',
'ANY', '/var/lib/ambari-agent/data/command-404.json', '/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/hooks/before-ANY',
'/var/lib/ambari-agent/data/structured-out-404.json', 'INFO', '/var/lib/ambari-agent/data/tmp']
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message