当前位置: 首页 > 工具软件 > DBSA > 使用案例 >

informix停数据库是报错:Must be a DBSA to run this program

史钊
2023-12-01

ids10.0

执行停数据库,或者备份的时候会报错
[informix@tonykorn97 ~]$ onmode -ky
ONCONFIG /home/informix/etc/xhback.cfg not owned by group with id 512.

Must be a DBSA to run this program


执行:
chown informix:bargroup /home/informix/etc/xhback.cfg
(bargroup的组id为512)

[informix@tonykorn97 ~]$ onmode -ky

Must be a DBSA to run this program

原因:权限不对
重新执行./installserver

执行完后记得修改/home/informix/etc/alarmprogram.sh文件
把BACKUPLOGS改为Y,否则不自动备份日志。

造成的原因可能是执行了:
chown informix:bargroup /home/informix/bar_act.log /home/informix/etc/oncfg* /home/informix/etc/ixbar.*
chmod g+rw /home/informix/bar_act.log /home/informix/etc/oncfg* /home/informix/etc/ixbar.*

不过在9.4上执行这两条语句是没有问题的

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/312079/viewspace-245525/,如需转载,请注明出处,否则将追究法律责任。

转载于:http://blog.itpub.net/312079/viewspace-245525/

 类似资料: