Chinaunix

标题: ontape -s 更改日志模式, [打印本页]

作者: carefen    时间: 2004-12-15 13:57
标题: ontape -s 更改日志模式,
是啥问题啊
重启了数据库也这样啊
ontape -s -U db_name
Server is in an incompatible state or user authentication failed.
作者: carefen    时间: 2004-12-15 15:32
标题: ontape -s 更改日志模式,
现在更郁闷,连数据库都访问不了。也不清楚是什么原因影响了。
刚刚还行的。我重新启动后数据库,竟然每个用户都访问不了数据库。

dbaccess db_name -

  951: Incorrect password or user informix is not known on the database server.
作者: netiger    时间: 2004-12-16 10:30
提示: 作者被禁止或删除 内容自动屏蔽
作者: carefen    时间: 2004-12-16 11:15
标题: ontape -s 更改日志模式,
现在我用ontape -r来0级恢复。
但是不成功,提示
Continue restore? (y/n)y
Do you want to back up the logs? (y/n)n
Physical restore failed - could not fork server connection

Program over.
作者: carefen    时间: 2004-12-16 15:18
标题: ontape -s 更改日志模式,
这问题有其他办法吗,一直被困扰着,虽然我自己重新初始化一次来解决了。我想知道应该还可用什么方法来解决
作者: netiger    时间: 2004-12-16 15:55
提示: 作者被禁止或删除 内容自动屏蔽
作者: carefen    时间: 2004-12-16 16:17
标题: ontape -s 更改日志模式,
[quote]原帖由 "netiger"]当执行完onmode切换online状态时,online并不一定能按你的意图马上切换到你想要的状态,主机资源并不一定就马上释放了。你说的ontape -r 恢复时出现的问题很有可能online共享内存并没有完全释放,要用ipcs查看,用i..........[/quote 发表:


这个我知道,可是我等了2个多小时啊。

还有,ontape -r出现这个问题,我真不清楚。
内存完全释放的。我用ipcs看了看,没占用任何内存,甚至我重新启动机器后,也是这个样子。
幸好的是测试机,
我是想了解为什么会出现这情况,当然我是怕以后生产机也遇到这问题。
作者: yyiiasc    时间: 2004-12-16 18:18
标题: ontape -s 更改日志模式,
想知道你最初是在什么状态
做ontape -s -U db_name
应该online 不是UP状态
你不能在恢复状态做的
作者: carefen    时间: 2004-12-16 21:52
标题: ontape -s 更改日志模式,
是online状态的,但出现
Server is in an incompatible state or user authentication failed




欢迎光临 Chinaunix (http://bbs.chinaunix.net/) Powered by Discuz! X3.2