GBase 8s
运维管理
文章

Database is currently opened by another user.

发表于2026-07-27 10:03:5220次浏览2个评论

修改数据库名后发现有如下报错。

425: Database is currently opened by another user.
107: ISAM error:  record is locked.

Error in line 1

Near character position 19


重启或查看是否有程序链接到库。

onstat -g  ses

onstat -g ses
Your evaluation license will expire on 2027-07-10 00:00:00
gbase01: On-Line -- Up 00:14:09 -- 12524628 Kbytes


session                                      #RSAM    total      used       dynamic
id       user     tty      pid      hostname threads  memory     memory     explain
354      gbasedbt -        0        -        1        724992     699128     off
353      gbasedbt -        0        -        0        16384      15560      off
onmode -ky;oninit -vy

评论

登录后才可以发表评论
用户头像
小鱼不吐泡泡发表于 9天前
可以用onmode -z sessid杀掉,不用重启
发表于 9天前
@小鱼不吐泡泡:学习了,多谢