VMware Cloud Community
ganapathibhat
Enthusiast
Enthusiast
Jump to solution

Content Pack Validator- Export Server logs- root user for ssh

I am using content pack validator to publish the content pack. And I was able to publish it as per the pop up screen. As a next step it is trying to get logs from vRLI using ssh. That needs root user to be created as per below doc.  However, I am not able to change the password on vCRLI console as suggested in the doc. Can I do this on the vRLI web interface? OR is there any other way to do this.

The console does't even take the admin credentials which I use it for WEB UI.

Any help here would be appreciated.

VMware vCenter Log Insight 1.5 Documentation Center

Labels (1)
Reply
0 Kudos
1 Solution

Accepted Solutions
admin
Immortal
Immortal
Jump to solution

Hi,

I am not sure what procedure you are following to set the root password, but please try these steps. (Assuming you have never set the root user password)

On the console (CLI) of the master node:

Type root for username

Hit Enter

Hit Enter again

Now type a new password

And the hit Enter

Re-type the new password and Hit enter

If someone else has setup this VM for you , you will need to ask them for the root user password, incase they have set the password. The root user is on the vApp and creating a root user in web UI or using web UI admin user will NOT work on the CLI.

If whoever setup the root password does not remember it or you are unable to access it, then you will need to reset the root user password using these steps: ( you might have tried this already)

Reset the Root User Password

Once you are able to login as root, you will need to execute these steps from command line to gather the data. There is no way to gather LI data from the Web UI today.

mkdir /storage/var/buckets; cd /storage/var/buckets; loginsight-dump-repo.sh 3; cd ..; tar cfz buckets.tar.gz buckets

View solution in original post

Reply
0 Kudos
5 Replies
admin
Immortal
Immortal
Jump to solution

What version of Log Insight? What happens when you try to login at the Log Insight console? What happens when you try to change the password from the console? How long ago was the Log Insight node deployed (as this will intersect with /etc/login.defs password expiry)?

Reply
0 Kudos
ganapathibhat
Enthusiast
Enthusiast
Jump to solution

Thanks for the reply...


- I am on Version 3.0.0-3021606. Installed may be 2 months back, license is current.

- When I try to login on console with root, it ask for password.And as said in the doc I just try to give blank password it says incorrect password.  After few attempts it said you are locked out due to multiple attempt.

BTW, I created root username using WEB UI which did't work for validator to do SSH and get the logs.  And then I deleted the root user from WEB UI an went to console. That's were I was not able change password for try root.


Is there anyway I can reset this back...?  OR is there a way to get the logs?

Reply
0 Kudos
admin
Immortal
Immortal
Jump to solution

Hi,

I am not sure what procedure you are following to set the root password, but please try these steps. (Assuming you have never set the root user password)

On the console (CLI) of the master node:

Type root for username

Hit Enter

Hit Enter again

Now type a new password

And the hit Enter

Re-type the new password and Hit enter

If someone else has setup this VM for you , you will need to ask them for the root user password, incase they have set the password. The root user is on the vApp and creating a root user in web UI or using web UI admin user will NOT work on the CLI.

If whoever setup the root password does not remember it or you are unable to access it, then you will need to reset the root user password using these steps: ( you might have tried this already)

Reset the Root User Password

Once you are able to login as root, you will need to execute these steps from command line to gather the data. There is no way to gather LI data from the Web UI today.

mkdir /storage/var/buckets; cd /storage/var/buckets; loginsight-dump-repo.sh 3; cd ..; tar cfz buckets.tar.gz buckets
Reply
0 Kudos
ganapathibhat
Enthusiast
Enthusiast
Jump to solution

Thanks a lot Yogitap..The root password recovery worked..I appreciate your help...

Reply
0 Kudos
admin
Immortal
Immortal
Jump to solution

You are welcome, happy to help Smiley Happy

Reply
0 Kudos