在开发环境,原本好的环境突然间登录不上了。由于我在和同事继续讨论问题,就让其他的同事去解决该问题。同事一开始修改安全策略,修改密码控制,后面又执行了脚本初始化脚本,导致环境都不能重启了。后面直接告诉我搞不定, 于是有了如下的操作。
1. 我刚刚接手的时候,是直接重启app报重启失败,初始化用户失败:
这个好处理,我直接去查看app的配置,然后修改了配置用户的密码。
2. 当再次重启的时候,直接报IB ....error;
再次检查,发现是PTWEBSERVER账户的密码也被同事重置了。于是进行修改PTWEBSERVER的密码。
3. 再次重启的时候,是可以重启成功,但是,用户一直登陆不了。所有的用户都登录失败。报错信息如下:
Password for User HRIT_ADMIN@10.114.119.65: has expired. Server security set to only allow access for user to change the password. User can only access to pages in the --PSWDEXPR-- Permission List PSAPPSRV.27818 (2) [12/23/21 10:28:58 GetCertificate](1) (NET.502): HRIT_ADMIN@10.114.119.65 is an Invalid User ID, or you typed the wrong password. User ID and Password are required and case-sensitive. Make sure you're typing in the correct upper and lower case. PSAPPSRV.27818 (2) [12/23/21 10:28:58 GetCertificate](1) (NET.346): Failed to execute GetCertificate request
在oracle搜索的时候,发现解释如下
Document 781591.1 (oracle.com)
其中有句话是这样子说的:Looping GetCertificate requests in the Application Server log file causes user accounts to get locked when Password Controls are enabled. When Password Controls are not enabled, then the Application Server log file shows an endless loop of GetCertificate errors.
翻译过来就是密码控制没被启用,后台查询数据库:
PSSIGNONPPC
PSSECOPTIONS
发现该控制被修改得面目全非。