SSISO Community

시소당

[웹로직]weblogic.security.SecurityInitializationException: Authentication denied

증상 : 아래의 로그를 찍으면서 웹로직 서비스가 재시작 되지 않음.
***************************************************************************
The WebLogic Server did not start up properly.
Reason: weblogic.security.SecurityInitializationException: Authentication denied:

Boot identity not valid; The user name and/or password from the boot identity file

(boot.properties) is not valid. The boot identity may have been changed since the

boot identity file was created. Please edit and update the boot identity file with

the proper values of username and password. The first time the updated boot identity

file is used to start the server, these new values are encrypted.
***************************************************************************

원인 : 계정 관련 디렉토리인 {domain}/{server}/ldap 디렉토리나 하위 폴더와 파일을
삭제할 경우 계정이 초기화되어 boot.properties 파일을 이용해서 계정에 접근할 수 없어
서 생긴 에러임.


해결방안:
기본사항:웹로직 설치시 설정한 Admin 계정의 아이디와 비밀번호를 알고 있어야 한다.
 예)weblogic/weblogic
1. {domain}폴더 밑에 있는 boot.properties, boot.properties.bak 을 삭제한다.
2. java weblogic.security.utils.AdminAccount weblogic weblogic . 를 실행한다.
   리눅스에서 웹로직 관리 콘솔 아이디와 비밀번호를 변경하는 명령어이다. 맨끝에 점이
   있음을 명심하라. 첫번째 weblogic은 유저네임, 두번째 weblogic은 비밀번호이다.
3. vi boot.properties 로 파일을 열면 빈파일인데 그안에 아래와 같이 입력해라
   username=weblogic
   password=weblogic

4. {domain}/{server}/ldap 디렉토리에 있는 DefaultAuthenticatormyrealmInit.initialized
,DefaultAuthorizermyrealmInit.initialized,DefaultRoleMappermyrealmInit.initialized
파일을 삭제해라 (혹시 모르니 백업해두삼)
5. weblogic/weblogic 계정으로 웹로직 스타트시켜라.

4056 view

4.0 stars