Skip to Main Content

Oracle Database Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

I cannot login as SYSDBA

566450Mar 26 2007 — edited Aug 28 2011
Hi.
I'm running Oracle 8i for Windows NT (8.0.5) on Windows Server 2000. Somewhere I read that I need to be in ora_dba group on Windows NT platform in order to login as sysdba to database. But I cannot find this group. When I try to login as sysdba as system/manager, login fails with ORA-01031: insufficient privileges. I need to execute startup and shutdown commands from SQL*Plus.
Thx for help

C:\>sqlplus /nolog
SQL*Plus: Release 8.0.5.0.0 - Production on Mon Mar 26 8:13:23 2007

(c) Copyright 1998 Oracle Corporation. All rights reserved.

SQL> connect system/manager as sysdba
ERROR:
ORA-01031: insufficient privileges

SQL>


Message was edited by:
paulie.x

Comments

Vadim Tropashko-Oracle
Answer

There was a trivial case sensitivity bug that prevented parser from recognizing pl/sql source. For example,

CREATE OR REPLACE PACKAGE TEST_PACK as

procedure test (

   p_arg1 in varchar2 default 'AbcD',

   p_arg2 in number   default null);

end;

/

would be recognized (no matter what extension file had), while

CREATE OR REPLACE package ...

---------------------------------^^^^^^^^

won't be. This is fixed, of course, for RC1.

Marked as Answer by 906783 · Sep 27 2020
906783

Version 4.1.0.19.07

Bug still there

.pck file, opening line is

/*

$Log:   ...............

*/

Not formatted as per pl/sql file.

No coloured keywords.

Vadim Tropashko-Oracle

SQL & PL/SQL  source recognition works the following way:


1. If file extension is listed, then file is opened with associated editor. However this is broken in 4.1 (fix scheduled for 4.1.1 patch).

2. The first 5000 characters of the file content are scanned, and parsed. If the first several words are recognized as legitimate PL/SQL then the file is opened with PL/SQL editor. As this doesn't work in your case, how big is the comment? Is it longer than 50 lines? If the comment is short, can you please post the beginning of your file up to the line "create or replace package X" so that I can check where recognition failed?

1 - 3
Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Sep 25 2011
Added on Mar 26 2007
14 comments
37,207 views