.ora-code.com

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
windows database service not shutting down database on reboot

windows database service not shutting down database on reboot

2006-06-06       - By Paul Drake
Reply:     1     2     3     4     5     6  

On 6/6/06, Joe Armstrong-Champ <joseph.armstrong-champ@(protected)> wrote:
>
> We have about 10 windows servers, some w2k, some w2003 with 9i and 10g
> databases on them. When the server gets rebooted the database services
> don't get stopped and the instances crash. They always recover on
> startup and we have put a work-around in place but I'm curious about
> whether anyone else has experienced this problem. The following message
> appears in the oradim.log file when the problem happens:
>
> ORA-12638 (See ORA-12638.ora-code.com): Credential retrieval failed
>
> My guess is that a process which the database uses to authenticate
> itself has stopped before the oracle service and that is why the
> authentication fails.
>
> I have opened an sr but they are telling me to recreate the service
> using oradim locally, not remotely. I did this but when it didn't work
> they told me to apply the latest patchset and do it again. Since this is
> happening across different oracle and windows versions I have a feeling
> that it has nothing to do with the version.
>
> Has anyone else experienced this?
>
> Thanks.
> Joe
> --
> http://www.freelists.org/webpage/oracle-l
>
>
>
Joe,

Did you do any mucking about in the registry regarding

HKLM\SYSTEM\CurrentControlSet\Control\WaitToKillServiceTimeout

The default value is only 20 seconds (20000), which was likely fine for a
7.3.4 database using say 128 MB of physical memory and perhaps a single job
queue process.

A 10g R1 database instance using say 1.7 GB of physical memory may take
quite awhile to shutdown cleanly from a shutdown immediate. Perhaps the
following would help:

oradim -edit -sid mydb -shutmode a

or if you don't want to go the route of shutdown abort when the serivce is
stopped:

oradim -edit -sid mydb -timeout 600

This won't help in the case of a hard shutdown (power-off by BOFH, ups runs
out of juice, etc).
It also won't help with your current symptoms.

The re-create the serivce and apply the latest patchset are probably the
first 2 lines off of their script for this issue.

What credentials is the OS service running under? (localsystem, service
account with membership in the local OS ORA_DBA group, service account with
membership in the local OS ORA_MYDB_DBA group, etc)

Paul

On 6/6/06, <b class="gmail_sendername">Joe Armstrong-Champ</b> &lt;<a href=
"mailto:joseph.armstrong-champ@(protected)">joseph.armstrong-champ@(protected)</a>
&gt; wrote:<div><span class="gmail_quote"></span><blockquote class="gmail_quote"
style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex;
padding-left: 1ex;">
We have about 10 windows servers, some w2k, some w2003 with 9i and 10g<br
>databases on them. When the server gets rebooted the database services<br>don't
get stopped and the instances crash. They always recover on<br>startup and we
have put a work-around in place but I'm curious about
<br>whether anyone else has experienced this problem. The following message<br
>appears in the oradim.log file when the problem happens:<br><br>ORA-12638 (See ORA-12638.ora-code.com):
Credential retrieval failed<br><br>My guess is that a process which the
database uses to authenticate
<br>itself has stopped before the oracle service and that is why the<br
>authentication fails.<br><br>I have opened an sr but they are telling me to
recreate the service<br>using oradim locally, not remotely. I did this but when
it didn't work
<br>they told me to apply the latest patchset and do it again. Since this is<br
>happening across different oracle and windows versions I have a feeling<br>that
it has nothing to do with the version.<br><br>Has anyone else experienced this?
<br><br>Thanks.<br>Joe<br>--<br><a href="http://www.freelists.org/webpage
/oracle-l">http://www.freelists.org/webpage/oracle-l</a><br><br><br></blockquote
></div><br>Joe,<br><br>Did you do any mucking about in the registry regarding
<br><br>HKLM\SYSTEM\CurrentControlSet\Control\WaitToKillServiceTimeout<br><br
>The default value is only 20 seconds (20000), which was likely fine for a 7.3.4
database using say 128 MB of physical memory and perhaps a single job queue
process.
<br><br>A 10g R1 database instance using say 1.7 GB of physical memory may take
quite awhile to shutdown cleanly from a shutdown immediate. Perhaps the
following would help:<br><br>oradim -edit -sid mydb -shutmode a<br><br>
or if you don't want to go the route of shutdown abort when the serivce is
stopped:<br><br>oradim -edit -sid mydb -timeout 600<br><br>This won't help in
the case of a hard shutdown (power-off by BOFH, ups runs out of juice, etc).
<br>It also won't help with your current symptoms.<br><br>The re-create the
serivce and apply the latest patchset are probably the first 2 lines off of
their script for this issue.<br><br>What credentials is the OS service running
under? (localsystem, service account with membership in the local OS ORA_DBA
group, service account with membership in the local OS ORA_MYDB_DBA group, etc)
<br><br>Paul<br>