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.

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

Highlighted

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?

4 REPLIES 4

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

Expert Contributor

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.

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

Super Guru

@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. 

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

Expert Contributor

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>

 

 

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

Expert Contributor
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.