WSO2 碳数据库损坏 [英] WSO2 Carbon Database getting corrupted
问题描述
每当我们部署 API Manager 并且用户创建帐户时,经过一段时间(数周、数天,有时甚至几分钟)后,carbon 数据库似乎已损坏,用户无法再登录,甚至无法创建帐户.出现的错误是
Whenever we deploy an API Manager and users create accounts, after some time - weeks, days and sometimes in a matter of minutes - the carbon database seems to get corrupt and users are no longer able to sign in or even create accounts. The error that arrises is
WARN - AuthenticationHandler 在尝试验证对服务 UserAdmin 的访问时从 IP 地址 192.168.0.5 在 [2013-05-19 13:13:37,0963] 进行非法访问尝试
我们唯一的选择是重新创建数据库并重新定义服务,这非常费时费力.
The only option we have is to recreate the database and redefine the services which is quite laborious and time consuming.
有什么想法吗?
推荐答案
当您更改了管理员用户密码时会出现此错误.如果您已更改它,请确保使用新的管理员密码更新 APIM_HOME/repository/conf/api-manager.xml 以进行以下配置.
This error comes when you have changed the admin user password. If you have changed it make sure to update APIM_HOME/repository/conf/api-manager.xml with new admin passwords for following configurations.
授权管理器
API网关
APIKeyManager
APIKeyManager
这篇关于WSO2 碳数据库损坏的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!