.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
connect / as sysdba

connect / as sysdba

2005-09-08       - By Bryan Wells
Reply:     1     2     3     4     5  

*PREREQUISITE *
 
  - This only applies to Oracle on MS Windows based systems
  - Must be part of the Oracle DBA group on the server

*PROCEDURE*

1. make sure your part of the ORA_DBA user group on the server

2. check the sqlnet.ora file that it shows the following:

a. in explorer goto D:\oracle\ora9i\network\admin

b. edit sqlnet.ora to show the following entry

i. SQLNET.AUTHENTICATION_SERVICES= (NTS)

3. log off the server and log back in

4. from command line set oracle instance variables

a. D:\>SET ORACLE_SID=GDWP

b. D:\>SET ORACLE_HOME=D:\ORACLE\ORA9I

5. from command D:\>sqlplusw /nolog

6. from SQL> command line: connect / as sysdba



On 9/8/05, DBA Deepak <oracle.tutorials@(protected)> wrote:
>
> Hi All,
>  I am trying to connect to my local DB (Windows XP Pro Box) using
>  connect / as sysdba
>  I am geting the error and unable to log in because of insufficient
> privilleges.
>  I have the following settings.
>  In initSID.ora
> remote_login_passwordfile=EXCLUSIVE
>  In sqlnet.ora
> SQLNET.AUTHENTICATION_SERVICES = (NTS)
>  Under ORA_DBA os group I have added the currect os user.
>  What might be the problem? Please help.
>  
> --
> Regards,
>
> Deepak
> Oracle DBA
>



--
Bryan Wells
bunjibry@(protected)
Oracle DBA hopeful

<h4 style="MARGIN: 0in 0in 0pt"><span lang="EN-GB" style="COLOR: blue; FONT
-FAMILY: Arial"><u><font size="2">PREREQUISITE </font></u></span></h4>
<ul style="MARGIN-TOP: 0in" type="disc">
<li class="MsoNormal" style="MARGIN: 0in 0in 0pt; mso-list: l0 level1 lfo1; tab
-stops: list .5in"><span lang="EN-GB" style="FONT-SIZE: 11pt; FONT-FAMILY: Arial
">This only applies to Oracle on MS Windows based systems</span>
</li>
<li class="MsoNormal" style="MARGIN: 0in 0in 0pt; mso-list: l0 level1 lfo1; tab
-stops: list .5in"><span lang="EN-GB" style="FONT-SIZE: 11pt; FONT-FAMILY: Arial
">Must be part of the Oracle DBA group on the server</span></li>
</ul>
<p class="MsoNormal" style="MARGIN: 0in 0in 0pt 0.25in"><span lang="EN-GB">
<font face="Times New Roman" size="2"></font></span></p>
<p class="MsoNormal" style="MARGIN: 0in 0in 0pt"><span lang="EN-GB"><font face=
"Times New Roman" size="2"></font></span></p>
<h4 style="MARGIN: 0in 0in 0pt"><span lang="EN-GB" style="COLOR: blue; FONT
-FAMILY: Arial"><u><font size="2">PROCEDURE</font></u></span></h4>
<p class="MsoNormal" style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: none">
<span style="FONT-FAMILY: Arial; mso-ansi-language: EN-US"><font size="2">&nbsp;
</font></span></p>
<p class="MsoNormal" style="MARGIN: 0in 0in 0pt 0.5in; TEXT-INDENT: -0.25in;
mso-list: l1 level1 lfo2; tab-stops: list .25in"><span lang="EN-GB" style="FONT
-SIZE: 11pt; FONT-FAMILY: Arial; mso-fareast-font-family: Arial">
<span style="mso-list: Ignore">1.<span style="FONT: 7pt 'Times New Roman'">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></span></span><span lang="EN-GB" style=
"FONT-SIZE: 11pt; FONT-FAMILY: Arial">make sure your part of the ORA_DBA user
group on the server
</span></p>
<p class="MsoNormal" style="MARGIN: 0in 0in 0pt 0.25in"><span lang="EN-GB"
style="FONT-SIZE: 11pt; FONT-FAMILY: Arial">&nbsp;</span></p>
<p class="MsoNormal" style="MARGIN: 0in 0in 0pt 0.5in; TEXT-INDENT: -0.25in;
mso-list: l1 level1 lfo2; tab-stops: list .25in"><span lang="EN-GB" style="FONT
-SIZE: 11pt; FONT-FAMILY: Arial; mso-fareast-font-family: Arial">
<span style="mso-list: Ignore">2.<span style="FONT: 7pt 'Times New Roman'">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></span></span><span lang="EN-GB" style=
"FONT-SIZE: 11pt; FONT-FAMILY: Arial">check the </span><span lang="EN-GB" style=
"FONT-SIZE: 11pt; FONT-FAMILY: 'Courier New'">
sqlnet.ora</span><span lang="EN-GB" style="FONT-SIZE: 11pt; FONT-FAMILY: Arial"
> file that it shows the following:</span></p>
<p class="MsoNormal" style="MARGIN: 0in 0in 0pt 0.25in"><span lang="EN-GB"
style="FONT-SIZE: 11pt; FONT-FAMILY: Arial">&nbsp;</span></p>
<p class="MsoNormal" style="MARGIN: 0in 0in 0pt 1in; TEXT-INDENT: -0.25in; mso
-list: l1 level2 lfo2; tab-stops: list .75in"><span lang="EN-GB" style="FONT
-SIZE: 11pt; FONT-FAMILY: Arial; mso-fareast-font-family: Arial"><span style=
"mso-list: Ignore">
a.<span style="FONT: 7pt 'Times New Roman'">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <
/span></span></span><span lang="EN-GB" style="FONT-SIZE: 11pt; FONT-FAMILY:
Arial">in explorer goto D</span><span lang="EN-GB" style="FONT-SIZE: 11pt; FONT
-FAMILY: 'Courier New'">
:\oracle\ora9i\network\admin</span><span lang="EN-GB" style="FONT-SIZE: 11pt;
FONT-FAMILY: Arial"></span></p>
<p class="MsoNormal" style="MARGIN: 0in 0in 0pt 1in; TEXT-INDENT: -0.25in; mso
-list: l1 level2 lfo2; tab-stops: list .75in"><span lang="EN-GB" style="FONT
-SIZE: 11pt; FONT-FAMILY: Arial; mso-fareast-font-family: Arial"><span style=
"mso-list: Ignore">
b.<span style="FONT: 7pt 'Times New Roman'">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <
/span></span></span><span lang="EN-GB" style="FONT-SIZE: 11pt; FONT-FAMILY:
Arial">edit </span><span lang="EN-GB" style="FONT-SIZE: 11pt; FONT-FAMILY:
'Courier New'">sqlnet.ora
</span><span lang="EN-GB" style="FONT-SIZE: 11pt; FONT-FAMILY: Arial"> to show
the following entry</span></p>
<p class="MsoNormal" style="MARGIN: 0in 0in 0pt 1.5in; TEXT-INDENT: -1.5in; mso
-list: l1 level3 lfo2; tab-stops: list 1.25in; mso-text-indent-alt: -9.0pt">
<span lang="EN-GB" style="FONT-SIZE: 11pt; FONT-FAMILY: 'Courier New'; mso
-fareast-font-family: 'Courier New'">
<span style="mso-list: Ignore"><span style="FONT: 7pt 'Times New Roman'">&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp; </span>i.<span style="FONT: 7pt 'Times New Roman'">&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp; </span></span></span><span lang="EN-GB" style="FONT
-SIZE: 11pt; FONT-FAMILY: 'Courier New'">
SQLNET.AUTHENTICATION_SERVICES= (NTS)</span></p>
<p class="MsoNormal" style="MARGIN: 0in 0in 0pt 99pt"><span lang="EN-GB" style=
"FONT-SIZE: 11pt; FONT-FAMILY: Arial">&nbsp;</span></p>
<p class="MsoNormal" style="MARGIN: 0in 0in 0pt 0.5in; TEXT-INDENT: -0.25in;
mso-list: l1 level1 lfo2; tab-stops: list .25in"><span lang="EN-GB" style="FONT
-SIZE: 11pt; FONT-FAMILY: Arial; mso-fareast-font-family: Arial">
<span style="mso-list: Ignore">3.<span style="FONT: 7pt 'Times New Roman'">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></span></span><span lang="EN-GB" style=
"FONT-SIZE: 11pt; FONT-FAMILY: Arial">log off the server and log back in</span><
/p>
<p class="MsoNormal" style="MARGIN: 0in 0in 0pt 0.25in"><span lang="EN-GB"
style="FONT-SIZE: 11pt; FONT-FAMILY: Arial"><span style="mso-spacerun: yes">
&nbsp;</span></span></p>
<p class="MsoNormal" style="MARGIN: 0in 0in 0pt 0.5in; TEXT-INDENT: -0.25in;
mso-list: l1 level1 lfo2; tab-stops: list .25in"><span lang="EN-GB" style="FONT
-SIZE: 11pt; FONT-FAMILY: Arial; mso-fareast-font-family: Arial">
<span style="mso-list: Ignore">4.<span style="FONT: 7pt 'Times New Roman'">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></span></span><span lang="EN-GB" style=
"FONT-SIZE: 11pt; FONT-FAMILY: Arial">from command line set oracle instance
variables</span></p>

<p class="MsoNormal" style="MARGIN: 0in 0in 0pt 0.25in"><span lang="EN-GB"
style="FONT-SIZE: 11pt; FONT-FAMILY: Arial">&nbsp;</span></p>
<p class="MsoNormal" style="MARGIN: 0in 0in 0pt 1in; TEXT-INDENT: -0.25in; mso
-list: l1 level2 lfo2; tab-stops: list .75in"><span lang="EN-GB" style="FONT
-SIZE: 11pt; FONT-FAMILY: 'Courier New'; mso-fareast-font-family: 'Courier New'"
>
<span style="mso-list: Ignore">a.<span style="FONT: 7pt 'Times New Roman'">
&nbsp;&nbsp; </span></span></span><span lang="EN-GB" style="FONT-SIZE: 11pt;
FONT-FAMILY: 'Courier New'">D:\&gt;SET ORACLE_SID=GDWP</span></p>
<p class="MsoNormal" style="MARGIN: 0in 0in 0pt 1in; TEXT-INDENT: -0.25in; mso
-list: l1 level2 lfo2; tab-stops: list .75in"><span lang="EN-GB" style="FONT
-SIZE: 11pt; FONT-FAMILY: 'Courier New'; mso-fareast-font-family: 'Courier New'"
>
<span style="mso-list: Ignore">b.<span style="FONT: 7pt 'Times New Roman'">
&nbsp;&nbsp; </span></span></span><span lang="EN-GB" style="FONT-SIZE: 11pt;
FONT-FAMILY: 'Courier New'">D:\&gt;SET ORACLE_HOME=D:\ORACLE\ORA9I</span></p>
<p class="MsoNormal" style="MARGIN: 0in 0in 0pt 0.25in"><span lang="EN-GB"
style="FONT-SIZE: 11pt; FONT-FAMILY: Arial">&nbsp;</span></p>
<p class="MsoNormal" style="MARGIN: 0in 0in 0pt 0.5in; TEXT-INDENT: -0.25in;
mso-list: l1 level1 lfo2; tab-stops: list .25in"><span lang="EN-GB" style="FONT
-SIZE: 11pt; FONT-FAMILY: Arial; mso-fareast-font-family: Arial">
<span style="mso-list: Ignore">5.<span style="FONT: 7pt 'Times New Roman'">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></span></span><span lang="EN-GB" style=
"FONT-SIZE: 11pt; FONT-FAMILY: Arial">from command </span><span lang="EN-GB"
style="FONT-SIZE: 11pt; FONT-FAMILY: 'Courier New'">
D:\&gt;sqlplusw /nolog</span><span lang="EN-GB" style="FONT-SIZE: 11pt; FONT
-FAMILY: Arial"></span></p>
<p class="MsoNormal" style="MARGIN: 0in 0in 0pt 0.25in"><span lang="EN-GB"
style="FONT-SIZE: 11pt; FONT-FAMILY: Arial"><span style="mso-spacerun: yes">
&nbsp;</span></span></p>
<p class="MsoNormal" style="MARGIN: 0in 0in 0pt 0.5in; TEXT-INDENT: -0.25in;
mso-list: l1 level1 lfo2; tab-stops: list .25in"><span lang="EN-GB" style="FONT
-SIZE: 11pt; FONT-FAMILY: Arial; mso-fareast-font-family: Arial">
<span style="mso-list: Ignore">6.<span style="FONT: 7pt 'Times New Roman'">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></span></span><span lang="EN-GB" style=
"FONT-SIZE: 11pt; FONT-FAMILY: Arial">from </span><span lang="EN-GB" style="FONT
-SIZE: 11pt; FONT-FAMILY: 'Courier New'">
SQL&gt;</span><span lang="EN-GB" style="FONT-SIZE: 11pt; FONT-FAMILY: Arial">
command line: </span><span lang="EN-GB" style="FONT-SIZE: 11pt; FONT-FAMILY:
'Courier New'">connect / as sysdba</span><span lang="EN-GB" style="FONT-SIZE:
11pt; FONT-FAMILY: Arial">
</span></p>
<p class="MsoNormal" style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: none">
<span style="FONT-FAMILY: Arial; mso-ansi-language: EN-US"><font size="2">&nbsp;
</font></span></p>
<p class="MsoNormal" style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: none">
<span style="FONT-FAMILY: Arial; mso-ansi-language: EN-US"><font size="2">&nbsp;
</font></span></p><br><br>
<div><span class="gmail_quote">On 9/8/05, <b class="gmail_sendername">DBA
Deepak</b> &lt;<a href="mailto:oracle.tutorials@(protected)">oracle.tutorials
@(protected)</a>&gt; wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0
.8ex; BORDER-LEFT: #ccc 1px solid">
<div>Hi All,</div>
<div>&nbsp;</div>
<div>I am trying to connect to my local DB (Windows XP Pro Box) using</div>
<div>&nbsp;</div>
<div>connect / as sysdba</div>
<div>&nbsp;</div>
<div>I am geting the error and unable to log in because of insufficient
privilleges.</div>
<div>&nbsp;</div>
<div>I have the following settings.</div>
<div>&nbsp;</div>
<div>In initSID.ora</div>
<div>remote_login_passwordfile=EXCLUSIVE</div>
<div>&nbsp;</div>
<div>In sqlnet.ora</div>
<div>SQLNET.AUTHENTICATION_SERVICES = (NTS)</div>
<div>&nbsp;</div>
<div>Under ORA_DBA os group I have added the currect os user.</div>
<div>&nbsp;</div>
<div>What might be the problem? Please help.</div><span class="sg">
<div>&nbsp;</div>
<div>&nbsp;</div>
<div><br>-- <br>Regards,<br><br>Deepak<br>Oracle DBA </div></span></blockquote>
</div><br><br clear="all"><br>-- <br>Bryan Wells<br><a href="mailto:bunjibry
@(protected)">bunjibry@(protected)</a><br>Oracle DBA hopeful