Links
Home
Oracle DBA Forum
Frequent Oracle Errors
TNS:could not resolve the connect identifier specified
Backtrace message unwound by exceptions
invalid identifier
PL/SQL compilation error
internal error
missing expression
table or view does not exist
end-of-file on communication channel
TNS:listener unknown in connect descriptor
insufficient privileges
PL/SQL: numeric or value error string
TNS:protocol adapter error
ORACLE not available
target host or object does not exist
invalid number
unable to allocate string bytes of shared memory
resource busy and acquire with NOWAIT specified
error occurred at recursive SQL level string
ORACLE initialization or shutdown in progress
archiver error. Connect internal only, until freed
snapshot too old
unable to extend temp segment by string in tablespace
Credential retrieval failed
missing or invalid option
invalid username/password; logon denied
unable to create INITIAL extent for segment
out of process memory when trying to allocate string bytes
shared memory realm does not exist
cannot insert NULL
TNS:unable to connect to destination
remote database not found'>ora-02019
exception encountered: core dump
inconsistent datatypes
no data found
TNS:operation timed out
PL/SQL: could not find program
existing state of packages has been discarded
maximum number of processes exceeded
error signaled in parallel query server
ORACLE instance terminated. Disconnection forced
TNS:packet writer failure
see ORA-12699
missing right parenthesis
name is already used by an existing object
cannot identify/lock data file
invalid file operation
quoted string not properly terminated
10g - ora-01097 during shutdown immediate

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&gt; shutdown immediate<br>
ORA-01097 (See ORA-01097.ora-code.com): cannot shutdown while in a transaction - comit or rollback first<br>
<br>
SQL&gt; commit;<br>
<br>
Commit complete.<br>
<br>
SQL&gt; 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>