Reply
Highlighted
Explorer
Posts: 23
Registered: ‎12-10-2018

What linux-user Claudera Manager starts itself and starts other components?

Hi.

 

I user Claudera Manager to install Sentry, but can't. 

Can't open /var/run/cloudera-scm-agent/process/1747-sentry-SENTRY_SERVER/supervisor_status: Permission denied.

 

Looks, i have no premissions.

 

 sudo ls -lah /var/run/cloudera-scm-agent/process/1747-sentry-SENTRY_SERVER
total 64K
drwxr-x--x   3 sentry sentry  360 Feb 22 11:26 .
drwxr-x--x 161 sentry root   3.2K Feb 22 11:26 ..
-rw-r-----   1 sentry sentry  250 Feb 22 11:26 cloudera-monitor.properties
-rw-r-----   1 sentry sentry  342 Feb 22 11:26 cloudera-stack-monitor.properties
-rw-------   1 root   root   5.1K Feb 22 11:26 config.zip
-rw-r-----   1 sentry sentry 3.3K Feb 22 11:26 core-site.xml
-rw-r-----   1 sentry sentry  511 Feb 22 11:26 creds.localjceks
-rw-------   1 sentry sentry    1 Feb 22 11:26 exit_code
drwxr-x--x   2 sentry sentry   80 Feb 22 11:26 logs
-rw-r-----   1 sentry sentry  579 Feb 22 11:26 navigator.client.properties
-rw-------   1 root   root   3.1K Feb 22 11:26 proc.json
-rw-r-----   1 sentry sentry 1.7K Feb 22 11:26 redaction-rules.json
-rw-------   1 sentry sentry  762 Feb 22 11:26 sentry.keytab
-rw-r-----   1 sentry sentry 2.4K Feb 22 11:26 sentry-log4j.properties
-rw-r-----   1 sentry sentry 2.5K Feb 22 11:26 sentry-site.xml
-rw-r-----   1 sentry sentry  315 Feb 22 11:26 ssl-client.xml
-rw-------   1 root   root   3.5K Feb 22 11:26 supervisor.conf
-rw-------   1 root   root    636 Feb 22 11:26 supervisor_status

 

So, i don't know how to solve this issue. But i see two ways:

1. Runs C-Manager as sudo

2. something with paths - any way to create its as sentry-user.

 

 

PS: or, i confused in users/roles.

I don't know what linux-user starts C-Manager, what linux-user runs sentry installation.

And how about roles (in Manager)? How it correlated with linux users?

Cloudera Employee
Posts: 129
Registered: ‎01-15-2015

Re: What linux-user Claudera Manager starts itself and starts other components?

The permissions in this directory look correct. Can you please copy the output of this command to here:

 

 

# namei -l /var/run/cloudera-scm-agent/process/1747-sentry-SENTRY_SERVER/supervisor_status

 If this directory exists then the Sentry Server role instance has been installed, but likely the startup fails. Please also review the contents of the stdout/stderr log files in the logs/ subdirectory to see if those show any additional info.

Posts: 1,000
Topics: 1
Kudos: 249
Solutions: 126
Registered: ‎04-22-2014

Re: What linux-user Claudera Manager starts itself and starts other components?

@Vhodnoylogin,

 

What is the problem you are seeing?  The error message may be relevant, but we would need to know what you are trying to do and what actually happens.  When you try to start Sentry what happens?  Please include the full stderr.log if the Sentry start fails. 

Expert Contributor
Posts: 74
Registered: ‎01-08-2016

Re: What linux-user Claudera Manager starts itself and starts other components?

[ Edited ]

Hello Vhodnoylogin,

 

I would request you to help little more clarity to understand the issue:

  • Which step are you getting the error? As got info from @gzigldrum it is failing on startup not installation. So, we would need to review stderr and stdout. Alternatively, manual service startup for similar output by going under bin:
sentry --command service --conffile <sentry-site.xml>

 

 

Cloudera Employee
Posts: 129
Registered: ‎01-15-2015

Re: What linux-user Claudera Manager starts itself and starts other components?

Be aware this would only apply to RPM based CDH installations, likely this is a parcel based CDH deployment instead. Also, the issue is not with installing Sentry but with startup of the Sentry service, therefore the full stdout/stderr log contents need to be reviewed for rca.
Announcements