Windows设置端口转发规则
2025 年 6 月 9 日SQL1032N Db2启动失败
2025 年 6 月 10 日环境: ISVD 10.0.3
在人员信息发生了大量改动,需要从老的LDAP环境重新导入时,
如果不需要保留ChangeLog,可以删掉ISVD的simldap实例的数据库,重新配置。
1.停止simldap服务
$ sudo ibmslapd -I simldap -k
GLPWRP123I The program ‘/opt/ibm/ldap/V10.0.3/sbin/64/ibmslapd’ is used with the following arguments ‘-I simldap
k .
GLPSRV124I The directory server instance ‘simldap’ is already stopped.
2.删除与simldap相关的数据
$ sudo idsucfgdb -I simldap -r
GLPUDB016I You have opted to delete the database for directory server instance. The database and data contained in
the directory server instance will be removed. This means you will lose all data currently stored in the database
Do you want to ….
(1) – Continue and delete the database, or
(2) – Exit this task without changes:1
GLPWRP123I The program ‘/opt/ibm/ldap/V10.0.3/sbin/64/idsucfgdb’ is used with the following arguments ‘-I simldap
-r’.
You have chosen to perform the following actions:
GLPUDB017I The database for directory server instance ‘simldap’ will be unconfigured.
GLPUDB019I Database will be completely removed.
Do you want to ….
(1) Continue with the above actions, or
(2) Exit without making any changes:1
GLPUDB002I Removing the DB2 database from directory server instance: ‘simldap’.
GLPCTL008I Starting database manager for database instance: ‘simldap’.
GLPCTL009I Started database manager for database instance: ‘simldap’.
GLPCTL040I Removing local loopback from database: ‘1dapdb2b’.
GLPCTL041I Removed local loopback from database: ‘1dapdb2b’.
GLPUDB005I Unconfiguring database ‘simldap’ for directory server instance: ‘simldap’.
GLPUDB006I Unconfigured database ‘simldap’ for directory server instance: ‘simldap’.
GLPCTL031I Removing database: ‘simldap’.
GLPCTL032I Removed database: ‘simldap’.
GLPCTL011I Stopping database manager for the database instance: ‘simldap’.
GLPCTL012I Stopped database manager for the database instance: ‘simldap’.
GLPUDB003I Removed the DB2 database from directory server instance: ‘simldap’.
3.重新配置数据库
$ sudo idscfgdb -I simldap -a db2inst1 -w 密码 -l /opt/simldap -t simldap
GLPWRP123I The program ‘/opt/ibm/ldap/V10.0.3/sbin/64/idscfgdb’ is used with the following arguments ‘-I simldap
a db2inst1 -w * -l /opt/simldap -t simldap’.
You have chosen to perform the following actions:
GLPCDB023I Database ‘simldap’ will be configured.
GLPCDB024I Database ‘simldap’ will be created at ‘/opt/simldap’
Do you want to ..
(1) Continue with the above actions, or
(2) Exit without making any changes:1
GLPCDB035I Adding database ‘simldap’ to directory server instance: ‘simldap’.
GLPCTL017I Cataloging database instance node: ‘simldap’.
GLPCTL018I Cataloged database instance node: ‘simldap’.
GLPCTL008I Starting database manager for database instance: ‘simldap’.
GLPCTL009I Started database manager for database instance: ‘simldap’.
GLPCTL026I Creating database: ‘simldap’.
GLPCTL027I Created database: ‘simldap’.
GLPCTL034I Updating the database: ‘simldap’
GLPCTL035I Updated the database: ‘simldap’
GLPCTL020I Updating the database manager: ‘simldap’.
GLPCTL021I Updated the database manager: ‘simldap’
GLPCTL023I Enabling multi-page file allocation: ‘simldap’
GLPCTL024I Enabled multi-page file allocation: ‘simldap’