473,385 Members | 1,712 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Standby Database.. Error in password file..

Sir,

A Warm and Smart 2004 greetings to all.
I have a problem with standby database.I have been posting queries but
no response .....

I am using 2 system running on Red Hat Linux9 and Oracle9i. I name the
2 system and DB for convenience.
SYSTEM01 & DB NAME= APPLE (Primary)
SYSTEM02 & DB NAME=INTEL (Standby)

I did follow the steps available on oracle documentation (
http://download-west.oracle.com/docs...e_ps.htm#66206
)and almost 80% percent of the steps involved are correct. On the
standby database,the following command in the standby database is used

SQL> STARTUP NOMOUNT;
SQL> ALTER DATABASE MOUNT STANDBY DATABASE;

When i give this it says old passwod file is corrupt and something
that its not vaild.so I deleted the passwword file and tried to
recreate it using

orapwd file=<path>/PWDintel.ora password=sys entires=5;

The command executes and password file is created. i took sqlplus
/nolog in a terminal. when i try to connect to the database as any
user like sys,system,scott,hr etc the error i am getting is '
INSUFFICIENT PRIVILEGES'.For sys and system i tried with sysdba
privilege also still the same result.

Kindly, Could anyone please tell me Why I am getting this error ?

Is there any remedy for this error ?

regards,
Cherrish Vaidiyan
Jul 19 '05 #1
3 7461
Cherrish Vaidiyan wrote:
Sir,

A Warm and Smart 2004 greetings to all.
I have a problem with standby database.I have been posting queries but
no response .....

I am using 2 system running on Red Hat Linux9 and Oracle9i. I name the
2 system and DB for convenience.
SYSTEM01 & DB NAME= APPLE (Primary)
SYSTEM02 & DB NAME=INTEL (Standby)

I did follow the steps available on oracle documentation (
http://download-west.oracle.com/docs...e_ps.htm#66206
)and almost 80% percent of the steps involved are correct. On the
standby database,the following command in the standby database is used

SQL> STARTUP NOMOUNT;
SQL> ALTER DATABASE MOUNT STANDBY DATABASE;

When i give this it says old passwod file is corrupt and something
that its not vaild.so I deleted the passwword file and tried to
recreate it using

orapwd file=<path>/PWDintel.ora password=sys entires=5;

The command executes and password file is created. i took sqlplus
/nolog in a terminal. when i try to connect to the database as any
user like sys,system,scott,hr etc the error i am getting is '
INSUFFICIENT PRIVILEGES'.For sys and system i tried with sysdba
privilege also still the same result.

Kindly, Could anyone please tell me Why I am getting this error ?

Is there any remedy for this error ?

regards,
Cherrish Vaidiyan


Try the following before accessing the database
unset TWO_TASK

Jul 19 '05 #2
"Ana C. Dent" <an*******@hotmail.com> wrote in message
Try the following before accessing the database
unset TWO_TASK


Hai,

I am still getting the same result. I gave the command
$ unset TWO_TASK

still when i try to connect as
$ sqlplus /nolog
SQL> connect sys/sys@intel as sysdba

But I am getting the same error...

ERROR:
ORA-01031: insufficient privileges

What else should i do...???

regards
Cherrish Vaidiyan
Jul 19 '05 #3
un***************@yahoo.com (Cherrish Vaidiyan) wrote in message news:<f0**************************@posting.google. com>...
"Ana C. Dent" <an*******@hotmail.com> wrote in message
Try the following before accessing the database
unset TWO_TASK


Hai,

I am still getting the same result. I gave the command
$ unset TWO_TASK

still when i try to connect as
$ sqlplus /nolog
SQL> connect sys/sys@intel as sysdba

But I am getting the same error...

ERROR:
ORA-01031: insufficient privileges

What else should i do...???

regards
Cherrish Vaidiyan

The database must be down prior to recreating the
passwordfile,otherwise it won't pick up you changed it.
On Unixes you will be also getting this error if
- your Unix account is not in the dba group
- The ownership and protection of the Oracle files and executables is
incorrect. The setuid bit should be set for the oracle executable and
the tnslistener executable.

Note : try using
set oracle_sid=intel
sqlplus /nolog
connect sys/sys as sysdba

(leaving out the @intel)
In this scenario sql*net will be bypassed. If it works in this
configuration you know sqlnet is the source of trouble.

Regards and happy new year,

Sybrand Bakker
Senior Oracle DBA
Jul 19 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Cherrish Vaidiyan | last post by:
hello, Thanx for the suggestions on my Listener query. Now i am performing a simple work.. STANDBY DATABASE creation. I have followed the instraction from Oracle 9i Release 1 documentation...
0
by: Cherrish Vaidiyan | last post by:
sir, The following are the steps that i followed in setting up standby database on Red hat Linux 9. i am using Oracle 9i. i have followed the steps in this site : ...
0
by: Officer | last post by:
I want to setup standby database which reside on the same host with my primary database -dbSA is my primary and dbSB is my standby database. I select v$log as follows: SVRMGR> select...
7
by: Juan Norton | last post by:
got: DB2 v8.2 ESE WinXP in machine A Windows Server 2003 in machine B I have a db server on machine 'A' and I want to create a standby db on machine 'B' via log shipping. standby db on B was...
1
by: bwmiller16 | last post by:
Folks - Linux RH3, UDB 8.2 FP9. I've got two tiny test boxes that I'm setting up to get a simple HADR configuration built. When I start the primary I get the famous SQL1768 RC=7 and also...
3
by: Tom Lant | last post by:
Hello everybody, I have been developing an application in Visual Basic.Net that queries an SQL database every 15 minutes. My problem arises when the computer upon which the application is...
6
by: shorti | last post by:
db2 8.1 fix pack 12 on AIX 5.3 This is a newly configured HADR machine. The HADR was up and running. I was 'playing' around some on the standby and did a db2 deactivate and things sort of went...
0
by: Vinod Sadanandan | last post by:
STANDBY DATABASE MONITORING & PROTECION MODES (9iR2) This document is written for understanding and monitoring standby database configured with diffrent protection modes . MAXIMUM PROTECTION ...
3
by: Cherrish Vaidiyan | last post by:
Sir, A Warm and Smart 2004 greetings to all. I have a problem with standby database.I have been posting queries but no response ..... I am using 2 system running on Red Hat Linux9 and...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.