./dmserver /DM8/data/dw/dm.ini mount
执行上述命令启动数据库报错如下:
self instance(DW01) not found in /DM8/data/dw/dmmal.ini
Read /DM8/data/dw/dmmal.ini error.
MAL sys initialization failed!
dmserver startup failed, code = -9501 [MAL sys has not configured or server is not enterprise version]
nsvr_ini_file_read failed, [code: -9501]
**
检查发现原来是dm.ini文件中配置的INSTANCE_NAME与dmmal.ini文件中的MAL_INST_NAME不一致。**
[dmdba@kylinpr bin]$ ./dmserver /DM8/data/dw/dm.ini mount
file dm.key not found, use default license!
version info: develop
DM Database Server 64 V8 03134283890-20220720-165295-10045 startup...
Normal of FAST
Normal of DEFAULT
Normal of RECYCLE
Normal of KEEP
Normal of ROLL
Database mode = 0, oguid = 0
License will expire on 2023-07-20
file lsn: 65092
ndct db load finished
ndct second level fill fast pool finished
ndct third level fill fast pool finished
ndct second level fill fast pool finished
ndct third level fill fast pool finished
ndct fill fast pool finished
nsvr_startup end.
aud sys init success.
aud rt sys init success.
systables desc init success.
ndct_db_load_info success.
SYSTEM IS READY.
实例启动正常
在dm.ini中设置了MAL_INI=1,因此启动需要加载dmmal.ini文件。
文章
阅读量
获赞