Skip to main content
Question

Your credentials are incorrect- centreon

  • May 10, 2022
  • 10 replies
  • 2959 views

Forum|alt.badge.img+2

Bonjour,
Dans le cadre de mon stage, j’ai mis en place Centreon.
je voulais me connecter aujourd'hui pour faire une présentation de ce que j’ai fait jusqu'à maintenant(projet terminé) et là je n’arrive plus à me connecter (Your credentials are incorrect), comme j’ai deux comptes admin, j’ai essayé avec les deux mais aucun n’a marché.
Si quelqu'un a une idée ou autres…
Merci d’avance 

10 replies

sduret
Centreonian
Forum|alt.badge.img+13
  • Centreonian
  • May 10, 2022

Hello @yas 

Please ask your problem in English. This will help all other non-french speaking users who have the same issue to benefit from the solutions that will be proposed. Thank you for your understanding

Do you have a full partition on the central server?

df -h
df -i

Also, can you tell us if it’s a local contact or a LDAP contact?


Forum|alt.badge.img+2
  • Author
  • Steward *
  • May 11, 2022

Sorry I do not master English correctly, so sorry in advance for the errors.
yes for répartition, and I’have tested with a local contact and LDAP contact, and the result is the same (Your credentials are incorrect- centreon)


sduret
Centreonian
Forum|alt.badge.img+13
  • Centreonian
  • May 11, 2022

@yas just to be sure of your password, can you execute connect to the database and execute this query?

You will have to replace XXXXX by your local user alias (for example admin)

mysql> USE centreon
mysql> UPDATE contact SET contact_passwd='2995cb0650c5f107230ed569a8c4d6e5' WHERE contact_alias='XXXXX';

It will replace the current password by centreon


Forum|alt.badge.img+2
  • Author
  • Steward *
  • May 11, 2022

thank you for your reply

But the Command UPDATE  is not found 


Forum|alt.badge.img+2
  • Author
  • Steward *
  • May 11, 2022

I am sure of the password since I used 3 diffrent contact


Forum|alt.badge.img+2
  • Author
  • Steward *
  • May 11, 2022

please, do you know an query to create a new local contact to test


sduret
Centreonian
Forum|alt.badge.img+13
  • Centreonian
  • May 11, 2022

If the UPDATE query isn’t found, maybe you’re not connect to the database.

Before launching the query, you have to connect to MySQL

mysql -h localhost -u centreon -pPASSWORD 

You will find database information in /etc/centreon/conf.pm file


sduret
Centreonian
Forum|alt.badge.img+13
  • Centreonian
  • May 11, 2022

Also, can you share with us the file /opt/rh/httpd24/root/etc/httpd/conf.d/10-centreon.conf ?


Forum|alt.badge.img+2
  • Author
  • Steward *
  • May 11, 2022

I tried to change the password, but it didn't change anything


sduret
Centreonian
Forum|alt.badge.img+13
  • Centreonian
  • May 11, 2022

Can you share the file? I think it can help