7.1 버전을 설치하다가, install.bat 실행이 전혀 오류없이 끝났으나, 설치 테스트가 제대로 안 될경우.
아마도, DB2의 라이센스 문제일 확률이 크다.
install.bat에서 뱉어내는 로그를 잘 보면, 대부분 successful이지만.... 잘 보면...
ADM12026W The DB2 server has detected that a valid license for this product has not been registered.
이런 메시지를 볼 수 있다. 이런 메시지는 주로 번들용 DB2가 깔려있는 머신에 RPM을 깔다가 생길수 있는 문제이다.
사실 필자의 노트북에는 Build Forge가 깔려있었고, 그 번들인 DB2 Express 9.1을 쓰고 있었던 것이다.
db2licm -l 로 자세히 보면
db2licm -l
Product name: "DB2 Express Edition"
License type: "License not registered"
Expiry date: "License not registered"
Product identifier: "db2exp"
Version information: "9.1"
Max number of CPUs: "2"
Annotation: "1;(_b)"
아뿔사!! 라이센스가 등록되어 있지 않다는 것을 알 수 있다. 엇.. 그런데, Build Forge는 어떻게 돌아가지? 사실 잘 모르겠다. -.-;
지금은 바쁘므로, 이 부분은 나중에 규명토록 한다.
IBM 내부 사이트를 이용하든, 재주껏 activation파일을 받는다. 그리고 db2licm명령어를 이용해서 라이센스를 추가하자.
db2licm -a E:\Products_Install\DB2_Express_Ed_Auth_User_Activation\db2\licee\db2exp_u.lic
LIC1402I License added successfully.
LIC1426I This product is now licensed for use as specified in the License Agr
ment and License Information documents pertaining to the licensed copy of this
roduct. USE OF THE PRODUCT CONSTITUTES ACCEPTANCE OF THE TERMS OF THE IBM LIC
SE AGREEMENT AND LICENSE INFORMATION DOCUMENTS, LOCATED IN THE FOLLOWING DIREC
RY: "C:\PROGRA~1\IBM\SQLLIB\license\en"
다시 한번 라이센스 상태를 확인하면
db2licm -l
Product name: "DB2 Express Edition"
License type: "User"
Expiry date: "Permanent"
Product identifier: "db2exp"
Version information: "9.1"
Max number of CPUs: "2"
Number of licensed authorized users: "5"
Annotation: "2;(_u)"
Features:
DB2 Performance Optimization Exp: "Not licensed"
DB2 High Availability Exp: "Not licensed"
DB2 Workload Management Exp: "Not licensed"
DB2 Pure XML Exp: "Not licensed"
Homogeneous Federation for DB2: "Not licensed"
해결이다.
이제 다시 RPM DB를 설치하면 된다.
이 글은 스프링노트에서 작성되었습니다.