Skip to main content

Hello,

We are currently experiencing a problem connecting to the web interface.

 When we log in as a local administrator or with an AD account, we get the following error: An error occurred during authentication.

We ran the query ‘update contact set default_page=NULL where contact_id=1;’ for the admin account.

Despite attempts to authenticate with the local admin account or our AD accounts, the problem persists.

Could you help us?

Translated with DeepL.com (free version)

Hi ​@FONTAINE Julien can you check /var/log/centreon/login.log, /var/log/centreon/centreon-web.log and /var/log/php-fpm/centreon-error.log files?


login.log : 

2025-09-01 08:14:59|21|0|0||local] 172.20.20.197] Authentication succeeded for 'admin'
2025-09-01 08:41:09|4|0|0||local] 172.20.30.102] Authentication succeeded for 'centreon-gorgone'

centreon-web.log : 


Last line for this log :

/2025-09-01T15:11:37+0200] ]ERROR] ]Core\Security\Authentication\Application\UseCase\Login\Login:166]: An error occurred during authentication {"trace":"PDOException: SQLSTATETHY000]: General error: 1021 Disk got full writing '.(tem
porary)' (Errcode: 28 \"No space left on device\") in /usr/share/centreon/www/class/centreonDBStatement.class.php:143\nStack trace:\n#0 /usr/share/centreon/www/class/centreonDBStatement.class.php(143): PDOStatement->execute()\n#1 /u
sr/share/centreon/www/class/centreonAuth.class.php(388): CentreonDBStatement->execute()\n#2 /usr/share/centreon/www/class/centreonAuth.class.php(163): CentreonAuth->checkUser()\n#3 /usr/share/centreon/src/Security/Domain/Authenticat
ion/Model/LocalProvider.php(99): CentreonAuth->__construct()\n#4 /usr/share/centreon/src/Core/Security/Authentication/Infrastructure/Provider/Local.php(71): Security\\Domain\\Authentication\\Model\\LocalProvider->authenticateOrFail(
)\n#5 /usr/share/centreon/src/Core/Security/Authentication/Application/UseCase/Login/Login.php(97): Core\\Security\\Authentication\\Infrastructure\\Provider\\Local->authenticateOrFail()\n#6 /usr/share/centreon/src/Core/Security/Auth
entication/Infrastructure/Api/Login/Local/LoginController.php(71): Core\\Security\\Authentication\\Application\\UseCase\\Login\\Login->__invoke()\n#7 /usr/share/centreon/vendor/symfony/http-kernel/HttpKernel.php(181): Core\\Security
\\Authentication\\Infrastructure\\Api\\Login\\Local\\LoginController->__invoke()\n#8 /usr/share/centreon/vendor/symfony/http-kernel/HttpKernel.php(76): Symfony\\Component\\HttpKernel\\HttpKernel->handleRaw()\n#9 /usr/share/centreon/
vendor/symfony/http-kernel/Kernel.php(197): Symfony\\Component\\HttpKernel\\HttpKernel->handle()\n#10 /usr/share/centreon/api/index.php(47): Symfony\\Component\\HttpKernel\\Kernel->handle()\n#11 {main}"}


I don’t have  /var/log/php-fpm/centreon-error.log.

Thanks for your help


Ok this issue is due to disk partition for /var/lib/mysql is full.

You need to add more disk space


My disk for my database was full. Thanks


Reply