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 2000 question

windows 2000 question

2004-03-31       - By Jared.Still@(protected)

Reply:     1     2     3     4     5     6  

> I 'm a windows newbie. I 'm installing windows 8.1.7 on a win2K box. When
I
>ran the oradim utility I didn 't specify an internal password. In my
>sqlnet.ora file, I specify SQLNET.AUTHENTICATION_SERVICES=(NTS). When I
do
>this, I can connect as internal sysdba fine without a password. But a
batch
>job that I have set to run as a scheduled task fails, with an error
>ORA-12640 (See ORA-12640.ora-code.com) Authentication Adapter Initialization failed.

Your batch job needs to run as a user that has membership in the DBA_GRP,
as
well as having logon privileges.

Your job is likely running as system local, which will not be able to
connect to
the database as sysdba.

There are probably various means to do this, but the only method I have
succesfully used involves using Perl with Dave Roth 's win32 Perl modules.

http://www.roth.net

The one or two batch jobs I use that need privs other than system local
and are not run as daemons via Win32:Daemon use the logon_as_user
function.

HTH

Jared





<br > <font size=2 face= "Courier New " >> I 'm a windows newbie. I 'm installing windows 8.1.7 on a win2K box. When I <br >
>ran the oradim utility I didn 't specify an internal password. In my <br >
>sqlnet.ora file, I specify SQLNET.AUTHENTICATION_SERVICES=(NTS). When I do <br >
>this, I can connect as internal sysdba fine without a password. But a batch <br >
>job that I have set to run as a scheduled task fails, with an error <br >
>ORA-12640 (See ORA-12640.ora-code.com) Authentication Adapter Initialization failed. <br >
</font >
<br > <font size=2 face= "sans-serif " >Your batch job needs to run as a user that has membership in the DBA_GRP, as </font >
<br > <font size=2 face= "sans-serif " >well as having logon privileges. </font >
<br >
<br > <font size=2 face= "sans-serif " >Your job is likely running as system local, which will not be able to connect to </font >
<br > <font size=2 face= "sans-serif " >the database as sysdba.   </font >
<br >
<br > <font size=2 face= "sans-serif " >There are probably various means to do this, but the only method I have </font >
<br > <font size=2 face= "sans-serif " >succesfully used involves using Perl with Dave Roth 's win32 Perl modules. </font >
<br >
<br > <font size=2 face= "sans-serif " >http://www.roth.net </font >
<br > <font size=2 face= "sans-serif " > <br >
The one or two batch jobs I use that need privs other than system local </font >
<br > <font size=2 face= "sans-serif " >and are not run as daemons via Win32:Daemon use the logon_as_user </font >
<br > <font size=2 face= "sans-serif " >function. </font >
<br >
<br > <font size=2 face= "sans-serif " >HTH </font >
<br >
<br > <font size=2 face= "sans-serif " >Jared </font >
<br >
<br >
<br >
<br >