Question

Your credentials are incorrect- centreon


Badge +2
  • Steward *
  • 6 replies

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

Userlevel 4
Badge +13

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?

Badge +2

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)

Userlevel 4
Badge +13

@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

Badge +2

thank you for your reply

But the Command UPDATE  is not found 

Badge +2

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

Badge +2

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

Userlevel 4
Badge +13

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

Userlevel 4
Badge +13

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

Badge +2

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

Userlevel 4
Badge +13

Can you share the file? I think it can help

Reply