"invalid credentials" error starting Denodo Monitor

You can translate the document:

Goal

This document explains how to solve the following error when starting the Denodo Monitor:

Starting Denodo Monitor...

Cannot start Denodo Monitor: invalid credentials or operation not permitted

This error is caused by a misconfiguration in the credentials used by the Denodo Monitor to connect to Denodo Virtual DataPort (VDP). We will explain how to configure and encrypt credentials in Denodo Monitor, if necessary.

Content

The Denodo Monitor is a tool in the Denodo Platform that logs information about the Denodo servers. The tool is located under <DENODO_HOME>/tools/monitor.

To configure this tool, it is necessary to edit the file  ConfigurationParameters.properties which is located within the conf folder of the distribution. Besides other configuration parameters, this file contains the properties to set the connection credentials.

Denodo Virtual DataPort has a predefined administrator user (admin) with a default password. Thus, the credentials configured by default to connect the Denodo Monitor VDP correspond to these default credentials. After a default installation of the Denodo Platform, it is highly recommended that the admin user's password be changed to secure the system.

If the password for the admin user has changed (or another administrator user is used to connect to VDP), it is necessary to change the credentials in the ConfigurationParameters.properties file. In this configuration file is a section named: “Connection Parameters to the Denodo servers“, where it is possible to change the user and password used to connect to the different servers: VDP and Scheduler.

For each server, there are the following configuration options: host, port, user, and password. For instance, for the Virtual DataPort server, these are the connection parameters:

vdp.jmx.host=localhost

vdp.jmx.port=9997

vdp.jmx.user=admin

vdp.jmx.password=admin

Besides these parameters, there is a fifth one to indicate whether the password has been encrypted or not:

vdp.jmx.password.encrypted=false

If this property is set to true, it is required to store the password value encrypted. To encrypt the password, the Denodo monitor includes a command line script that takes the clear password as input and returns the encrypted value as an output. The script is encrypt_password(.bat/.sh) and can be found under <DENODO_HOME>/tools/monitor/denodo-monitor/bin. To execute the script, the password value must be provided as an argument; the output value can then be used as the password value in the configuration file.

In conclusion, whenever the error “invalid credentials or operation not permitted” shows up when starting the Denodo Monitor, the configuration file must be updated with the proper credentials.

Disclaimer

The information provided in the Denodo Knowledge Base is intended to assist our users in advanced uses of Denodo. Please note that the results from the application of processes and configurations detailed in these documents may vary depending on your specific environment. Use them at your own discretion.

For an official guide of supported features, please refer to the User Manuals. For questions on critical systems or complex environments we recommend you to contact your Denodo Customer Success Manager.
Recommendation

Questions

Ask a question

You must sign in to ask a question. If you do not have an account, you can register here