使用IRIS碰到的坑

用户在Win11系统中使用IRIS数据库代替Cache2016后遇到重启后无法启动的问题,需要执行特定的数据库恢复步骤。同时,IRIS导出的M文件在Cache2016中导入时会出现错误,但可以通过调整导出设置使其兼容。每次重启电脑后,数据库需要先停止再启动才能正常运行。
摘要由CSDN通过智能技术生成

最近换新电脑了,然后直接不安装cache2016了,直接上IRIS啊。然后碰到几个坑,一是在win11不知道是兼容性不好还是怎么了。每次重启电脑后数据库就无法启动,为此祭出多年保存的方子(在cache时候存的)。

数据库有东西没执行完启动不了命令
C:\Users\Administrator>C:\InterSystems\Cache\bin\cache -sc:\InterSystems\Ensemble\mgr -B

%SYS>Do ^STURECOV


Journal recovery options
--------------------------------------------------------------
1) Display the list of errors from startup
2) Run the journal restore again
3) Bring down the system prior to a normal startup
4) Dismount a database
5) Mount a database
6) Database Repair Utility
7) Check Database Integrity
8) Reset system so journal is not restored at startup
10) Display Journaling Menu (^JOURNAL)
--------------------------------------------------------------
H) Display Help
E) Exit this utility
--------------------------------------------------------------

Enter choice (1-10) or [Q]uit/[H]elp? 8
If you erase this information then journal restore and transaction
rollback will not occur when the system is brought up in multi-user
mode. Use this if you are going to restore the journal manually after
users are allowed on the system. The console log will contain the current
journal file name and the position in the journal file to start the
restore (the number preceeding the journal file name).
Are you sure you want to do this? No => yes

Journal recovery options
--------------------------------------------------------------
1) Display the list of errors from startup
2) Run the journal restore again
3) Bring down the system prior to a normal startup
4) Dismount a database
5) Mount a database
6) Database Repair Utility
7) Check Database Integrity
8) Reset system so journal is not restored at startup
10) Display Journaling Menu (^JOURNAL)
--------------------------------------------------------------
H) Display Help
E) Exit this utility
--------------------------------------------------------------

Enter choice (1-10) or [Q]uit/[H]elp? 3
Are you sure you want to do this? No => yes

Cache will now shut down.
Use the cube or 'ccontrol start CACHE' to start the system after shutdown.

                  Cache Shutdown Status:  5:00 pm 25 Feb 2014

       0 interactive jobs (Telnet/Lat)
       0 background jobs (from job command)
       0 Cache Direct server jobs
       0 CSP server jobs
       0 ODBC server jobs
       6 system jobs

Do you want to broadcast a message to anyone? No => No
Do you want to see the Cache status report? No => No
Do you want to run the user defined shutdown routine? Yes => Yes
Are you ready for the system to halt? Yes => Yes

17:01:30 Shutting down Cache
17:01:30 Notifying Clients
17:01:30 No user shutdown routines to execute
17:01:30 Stopping User Jobs
17:01:30 Stopping Network Servers
17:01:30 Withdrawing from License Domain
17:01:30 Waiting for users to stop
17:01:30 Stopping Client Networking
17:01:30 Removing database locks
17:01:30 Updating Journal File
17:01:31 Waiting for database updates to complete
17:01:31 Database updates complete
17:01:31 Stopping System Jobs
17:01:33 Shutdown complete

C:\Users\Administrator>

在IRIS下换成,按上面步骤恢复

C:\InterSystems\IRISHealth\bin>irisdb -s c:\intersystems\irishealth\mgr -B

节点: zhanglianzhu,实例: IRISHEALTH

用户名:

然后就是IRIS导出的M在cache2016导入会报错。在studio维护下面信息即可:

IRIS以2016格式导出
Studio->Tools->Options界面,Environment->Advanced的Export Flags中写入/exportversion=2016.2.1就可以在当前studio导出兼容2016的xml IRIS Cahce导出CLS到Cache 2016设置

在这里插入图片描述

然后每次重启电脑之后直接用数据库都报下面错误,要把库停止一下再启动才能用,奇怪
在这里插入图片描述

以上就是IRIS使用碰到的问题

评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

小乌鱼

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值