License authentication failed error when login CAS

2023-12-30 22:46:17 Published
  • 0 Followed
  • 0Collected ,3617Browsed

Network Topology

null.   Cas obtain license from license server

Problem Description

 License authentication failed error when login CAS

Process Analysis

1. Check the connection to license server, Status ok

2. Check the license server, all license for cas is available.

3. Check the cas.log in the CVM

2023-11-23 12:39:02 [INFO ] [com.h3c.licc.mgr.license.controller.LicenseController::getAllLicensesByPdtId] Ready to get all license by pdtId.
2023-11-23 12:39:02 [WARN ] [org.hibernate.engine.jdbc.spi.SqlExceptionHelper::logExceptions] SQL Error: 1, SQLState: HY000
2023-11-23 12:39:02 [ERROR] [org.hibernate.engine.jdbc.spi.SqlExceptionHelper::logExceptions] (cOnn=16961) Can"t create/write to file "/tmp/#sql-temptable-292f5-4241-1a.MAI" (Errcode: 2 "No such file or directory")
2023-11-23 12:39:02 [ERROR] [com.h3c.licc.mgr.license.controller.LicenseController::getAllLicensesByPdtId] Failed to get licsInfo by pdtId.
org.springframework.orm.jpa.JpaSystemException: could not extract ResultSet; nested exception is org.hibernate.exception.GenericJDBCException: could not extract ResultSet  


It show cannot create/write to file "/tmp/

Some guy have move the /tmp/ and than move back, all the file is the same but   mariadb  cannot   create/write   it.

Solution

restart mariabd servcie and it will be re-create. And issue reolved 

 service mariadb restart  

Please rate this case:   
0 Comments

No Comments

Add Comments: