password required to login as sysdba [message #205834] |
Mon, 27 November 2006 18:30 |
orcldba2001
Messages: 1 Registered: November 2006 Location: USA
|
Junior Member |
|
|
Oracle version 9.2.0.4.0
OS = Windows 2000 server
I have a domain account on a server and I am a member of
ORA_DBA and Adminstrator group
I open a command window and set
oracle_home and
oracle_sid
However when I try to login without a password
sqlplus
SQL*Plus: Release 9.2.0.4.0 - Production on Mon Nov 27 13:08:28 2006
Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
Enter user-name: /as sysdba
ERROR:
ORA-01031: insufficient privileges
Is it possible that Oracle software was installed by a user who was not a part of the ora_dba group. In that case how do I find out which group
|
|
|
|
|
Re: password required to login as sysdba [message #207234 is a reply to message #206979] |
Mon, 04 December 2006 15:28 |
hmunke
Messages: 1 Registered: December 2006
|
Junior Member |
|
|
hi,
you have two possibilities.
1. when you will connect to database without a password
- check that you a member of DBA-Group (local machine group)
- check your "$ORACLE_HOME/network/admin/sqlnet.ora"
SQLNET.AUTHENTICATION_SERVICES=(NTS, ...)
2. (re)create a new password file with ORAPWD-Utility
2.1 recreate a new password file on UNIX (case sensitive)
prompt> orapwd file={$ORACLE_HOME}/dbs/orapw<SID> password=<new_password> [entries=5]
or
2.2 WINDOWS (ORACLE 9 backwards)
prompt> orapwd file={%ORACLE_HOME%}/database/PWD<SID>.ORA password=<new_password> [entries=5]
- from ORACLE 10g upwards, the password file stored on windows also in "{%ORACLE_HOME%}/dbs/"
- restart the services and you can use the new_password
("/ as sysdba")
|
|
|