[ 
https://issues.apache.org/jira/browse/AMBARI-23581?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

ASF GitHub Bot updated AMBARI-23581:
------------------------------------
    Labels: pull-request-available  (was: )

> Fix permissions of logsarch/logfeeder scripts for debian packages
> -----------------------------------------------------------------
>
>                 Key: AMBARI-23581
>                 URL: https://issues.apache.org/jira/browse/AMBARI-23581
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-logsearch
>    Affects Versions: 2.7.0
>            Reporter: Olivér Szabó
>            Assignee: Olivér Szabó
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 2.7.0
>
>
> {code:java}
> -su: /usr/lib/ambari-logsearch-portal/bin/logsearch.sh: Permission denied
> Traceback (most recent call last):
>   File 
> "/var/lib/ambari-agent/cache/common-services/LOGSEARCH/0.5.0/package/scripts/logsearch.py",
>  line 62, in <module>
>     LogSearch().execute()
>   File 
> "/usr/lib/ambari-agent/lib/resource_management/libraries/script/script.py", 
> line 353, in execute
>     method(env)
>   File 
> "/var/lib/ambari-agent/cache/common-services/LOGSEARCH/0.5.0/package/scripts/logsearch.py",
>  line 44, in start
>     user=params.logsearch_user
>   File "/usr/lib/ambari-agent/lib/resource_management/core/base.py", line 
> 166, in _init_
>     self.env.run()
>   File "/usr/lib/ambari-agent/lib/resource_management/core/environment.py", 
> line 160, in run
>     self.run_action(resource, action)
>   File "/usr/lib/ambari-agent/lib/resource_management/core/environment.py", 
> line 124, in run_action
>     provider_action()
>   File 
> "/usr/lib/ambari-agent/lib/resource_management/core/providers/system.py", 
> line 263, in action_run
>     returns=self.resource.returns)
>   File "/usr/lib/ambari-agent/lib/resource_management/core/shell.py", line 
> 72, in inner
>     result = function(command, **kwargs)
>   File "/usr/lib/ambari-agent/lib/resource_management/core/shell.py", line 
> 102, in checked_call
>     tries=tries, try_sleep=try_sleep, 
> timeout_kill_strategy=timeout_kill_strategy, returns=returns)
>   File "/usr/lib/ambari-agent/lib/resource_management/core/shell.py", line 
> 150, in _call_wrapper
>     result = _call(command, **kwargs_copy)
>   File "/usr/lib/ambari-agent/lib/resource_management/core/shell.py", line 
> 308, in _call
>     raise ExecutionFailed(err_msg, code, out, err)
> resource_management.core.exceptions.ExecutionFailed: Execution of 
> '/usr/lib/ambari-logsearch-portal/bin/logsearch.sh start' returned 126. 
> ######## Hortonworks #############
> This is MOTD message, added for testing in qe infra
> -su: /usr/lib/ambari-logsearch-portal/bin/logsearch.sh: Permission denied
> Attempt Count :1
> logsearch start fail
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to