10g - ora-01097 during shutdown immediate 2005-09-16 - By Paul Drake
strange thing happened today in testing 10.1.0.4 <http://10.1.0.4> patch 5 Std Ed on ms w2k adv svr. (this patch included a bug fix that we needed)
started up a new session with sqlplus. connected as sysdba. selected against v$database, v$instance. disabled restricted session tested login with an unprivileged account - ok. made a parameter change in the init.ora. going to cycle it for the change to take effect.
SQL> shutdown immediate ORA-01097 (See ORA-01097.ora-code.com): cannot shutdown while in a transaction - comit or rollback first
SQL> commit;
Commit complete.
SQL> shutdown immediate Database closed. ...
no database links in use, no distributed transactions. how could I have a transaction open in this session with no DML applied, or selects across db_links? there were no other sessions in the database, except for background jobs.
I did check out Note:310956.1 but that did not seem to apply.
cold backups are not in use there, but it sure seems like if I were using a scripted cold backup routine, that I'd want to throw in a commit/rollback prior to the shutdown immediate.
Has anyone else seen anything similar?
I'm thinking that a likely recipient of blame would be a logon trigger that did not commit, but after logging onto a new session, there are no active transactions in the system ... and now I am not permitted to shut this down until after close of business to test further.
Paul
strange thing happened today in testing <a href="http://10.1.0.4">10.1.0.4</a> patch 5 Std Ed on ms w2k adv svr.<br> (this patch included a bug fix that we needed)<br> <br> started up a new session with sqlplus.<br> connected as sysdba.<br> selected against v$database, v$instance.<br> disabled restricted session<br> tested login with an unprivileged account - ok.<br> made a parameter change in the init.ora.<br> going to cycle it for the change to take effect.<br> <br> SQL> shutdown immediate<br> ORA-01097 (See ORA-01097.ora-code.com): cannot shutdown while in a transaction - comit or rollback first<br> <br> SQL> commit;<br> <br> Commit complete.<br> <br> SQL> shutdown immediate<br> Database closed.<br> ...<br> <br> no database links in use, no distributed transactions.<br> how could I have a transaction open in this session with no DML applied, or selects across db_links?<br> there were no other sessions in the database, except for background jobs.<br> <br> I did check out <font face="helvetica">Note:310956.1 but that did not seem to apply.</font><br> <br> cold backups are not in use there, but it sure seems like if I were using a scripted cold backup routine, that I'd want to throw in a commit/rollback prior to the shutdown immediate.<br> <br> Has anyone else seen anything similar?<br> <br> I'm thinking that a likely recipient of blame would be a logon trigger that did not commit, but after logging onto a new session, there are no active transactions in the system ... and now I am not permitted to shut this down until after close of business to test further.<br> <br> Paul<br> <br> <br>
|
|