Skip to main content
avi_fcb
Silver ⭐️⭐️
May 5, 2024
Solved

Error Installing Agent

I am getting the below error while installing the agent. I am working on Ubuntu 20.04. It's a single machine cluster I want to make. Can anyone help me out with this?

 

Cleaning the package manager cache... View Failed to acquire installation lock. View

/tmp/scm_prepare_node.OHxqRMPm
using SSH_CLIENT to get the SCM hostname: 10.4.47.28 49784 22
opening logging file descriptor

Starting installation script...

Acquiring installation lock...

/tmp/scm_prepare_node.OHxqRMPm/scm_prepare_node.sh: line 1415: /tmp/.scm_prepare_node.lock: Permission denied
could not open lock file, giving up
waiting for rollback request

 

detected rollback request
rolling back installation

Reverting changes...

rollback started

Removing package repositories...

Cleaning the package manager cache...

unknown packager , exiting
closing logging file descriptor
 
avi_fcb_0-1714922065330.png

 

Scharan
ScharanAnswer
Gold ⭐️
May 5, 2024

Hello @avi_fcb  I can see it is failing with a permission denied error. Can you please check the permission on /tmp

4 replies

Scharan
Gold ⭐️
ScharanAnswer
Gold ⭐️
May 5, 2024

Hello @avi_fcb  I can see it is failing with a permission denied error. Can you please check the permission on /tmp

Translate
avi_fcb
avi_fcbAuthor
Silver ⭐️⭐️
May 5, 2024

Many thanks @Scharan . That was a permission error indeed.

But, after fixing this, I am getting this error "Monitor-HostMonitor throttling_logger ERROR Failed to collect NTP metrics". I have not installed NTP on my server. Do I need to ?? Do you have a any Idea??

Check this screenshot. 

avi_fcb_0-1714927269776.png

 

Translate
Scharan
Gold ⭐️
Gold ⭐️
May 5, 2024

@avi_fcb  For ntp  error, You need to install ntp service, Please refer to the following doc

https://docs.cloudera.com/cdp-private-cloud-base/7.1.8/quick-start-deployment-streaming-cluster/topics/cdp-quick-start-deployment-stream-enable-ntp.html

Translate
avi_fcb
avi_fcbAuthor
Silver ⭐️⭐️
May 7, 2024

Hello @Scharan , I installed the NTP, but still the same error. 

avi_fcb_0-1715051475234.pngavi_fcb_1-1715051499739.png

Any suggestions on what went wrong?

 

Translate