Re: connect as sysdba
- From: "Ani" <call.anirban@xxxxxxxxx>
- Date: 20 Feb 2007 03:11:52 -0800
Hi All,
Resolved the problem by following the steps:
1. Create a password file under $ORACLE_HOME/dbs like:
orapwd file=$ORACLE_HOME/dbs/orapwSID password=change_on_install
entries=5
2. Add the following entry in $ORACLE_HOME/dbs/initSID.ora
remote_login_passwordfile = exclusive
3. Restart the database
Ani
On Feb 20, 2:11 pm, "Ani" <call.anir...@xxxxxxxxx> wrote:
Hi,
I am unable to connect to the database as sysdba using DBI, however I
am able to when I use sqlplus.
Here are my results:
sqlplus abc/xyz -----> OK
using DBI abc/xyz -----> OK
sqlplus 'abc/xyz as sysdba' -----> OK
using DBI abc/xyz with ora_session_mode => ORA_SYSDBA -----> Not
connecting
All the above four scenarios are executed as the same unix user, and
that user belongs to the dba group.
I am using DBI and DBD::Oracle qw(:ora_session_mode)
and am also setting ORACLE_SID before connecting.
The error I am getting is:
Error returned:ORA-01031: insufficient privileges (DBD ERROR:
OCISessionBegin)
Went through this previous threadhttp://groups.google.com/group/perl.dbi.users/browse_frm/thread/cf65d...
but it is not working for me.
Any help is really appreciated.
Thanks,
Ani
.
- References:
- connect as sysdba
- From: Ani
- connect as sysdba
- Prev by Date: Re: mysql "LIMIT ?"
- Next by Date: DBD::Oracle out of memory
- Previous by thread: connect as sysdba
- Next by thread: DBD::Oracle out of memory
- Index(es):
Relevant Pages
|
|