473,753 Members | 7,743 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Error in starting Oracle agent and ORA:01031 on SQLPLUS

hello,

I am been getting mad with so many doubts and errors..

I have posted some doubts,test cases regarding listener,replic ation
and standby database.But i havent got any response..(I am sorry as
some of the queries i have posted twice).Is it that my doubt are funny
and simple for u gurus. I am just interested in Oracle on Linux . i
request u all to guide me.

my error : I cannot log on to database as any user. I cannot startup
the database.My listener is up without any error. When i start the
oracle agent, i get the following error..

[oracle@localhos t 9.2]$ bin/agentctl start

DBSNMP for Linux: Version 9.2.0.1.0 - Production on 02-JAN-2004
10:47:31

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

Starting Oracle Intelligent
Agent.../usr01/ora9/product/9.2/bin/dbsnmpwd: line 153: 9810
Segmentation fault nohup $ORACLE_HOME/bin/dbsnmp $*
$DBSNMP_WDLOG FILE 2>&1

/usr01/ora9/product/9.2/bin/dbsnmpwd: line 153: 9823 Segmentation
fault nohup $ORACLE_HOME/bin/dbsnmp $* >>$DBSNMP_WDLOG FILE 2>&1
/usr01/ora9/product/9.2/bin/dbsnmpwd: line 153: 9835 Segmentation
fault nohup $ORACLE_HOME/bin/dbsnmp $* >>$DBSNMP_WDLOG FILE 2>&1
/usr01/ora9/product/9.2/bin/dbsnmpwd: line 153: 9847 Segmentation
fault nohup $ORACLE_HOME/bin/dbsnmp $* >>$DBSNMP_WDLOG FILE 2>&1
..[oracle@localhos t 9.2]$

then i tried logging on to SQLPLUS. But i get the error below...
SQL> conn system/system@bics as sysoper
ERROR:
ORA-01031: insufficient privileges

The Solution I tried :

1) i deleted the earlier password file and recreated it.
2) i gave $ unset TWO_TASK
3) i verified the group which owns pwd<DBNAME>.ora it belongs to
oinstall group

Can you suggest any other options to solve it?? Is it that i have to
delete the database.

regards,
Cherrish
Jul 19 '05 #1
7 12876
Cherrish Vaidiyan wrote:

hello,

I am been getting mad with so many doubts and errors..

I have posted some doubts,test cases regarding listener,replic ation
and standby database.But i havent got any response..(I am sorry as
some of the queries i have posted twice).Is it that my doubt are funny
and simple for u gurus. I am just interested in Oracle on Linux . i
request u all to guide me.


CALM DOWN! Responses are provided by volunteers. Many of whom are
taking a vacation because of New Year celebrations.

Also, realize that that there are not that many who are running Oracle9i
on Red Hat 9. And even fewer do replication or standby. A reminder -
Red Hat 9 is not a certified or supported platform. Things can, and
will, go wrong.

From the description, you have a serious problem with your install - you
should not be getting segmentation faults. You may want to check
http://www.dizwell.com for a real detailed guide on installing Oracle9i
9.2 on Red Hat 9.

After install, you may also want to look at the Oracle By Example (OBE)
section of Oracle Tech Net (http://otn.oracle.com/obe/start/index.html)
That provides detailed instructions on installing and doing things in
the Windows environment. By carefully adjusting the OBE instructions,
using the information in Howard's document, you should be able to move
forward.
Jul 19 '05 #2
Cherrish Vaidiyan wrote:
hello,

I am been getting mad with so many doubts and errors..

I have posted some doubts,test cases regarding listener,replic ation
and standby database.But i havent got any response..(I am sorry as
some of the queries i have posted twice).Is it that my doubt are funny
and simple for u gurus. I am just interested in Oracle on Linux . i
request u all to guide me.

my error : I cannot log on to database as any user. I cannot startup
the database.My listener is up without any error. When i start the
oracle agent, i get the following error..

[oracle@localhos t 9.2]$ bin/agentctl start

DBSNMP for Linux: Version 9.2.0.1.0 - Production on 02-JAN-2004
10:47:31

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

Starting Oracle Intelligent
Agent.../usr01/ora9/product/9.2/bin/dbsnmpwd: line 153: 9810
Segmentation fault nohup $ORACLE_HOME/bin/dbsnmp $*
$DBSNMP_WDLO GFILE 2>&1


/usr01/ora9/product/9.2/bin/dbsnmpwd: line 153: 9823 Segmentation
fault nohup $ORACLE_HOME/bin/dbsnmp $* >>$DBSNMP_WDLOG FILE 2>&1
/usr01/ora9/product/9.2/bin/dbsnmpwd: line 153: 9835 Segmentation
fault nohup $ORACLE_HOME/bin/dbsnmp $* >>$DBSNMP_WDLOG FILE 2>&1
/usr01/ora9/product/9.2/bin/dbsnmpwd: line 153: 9847 Segmentation
fault nohup $ORACLE_HOME/bin/dbsnmp $* >>$DBSNMP_WDLOG FILE 2>&1
.[oracle@localhos t 9.2]$

then i tried logging on to SQLPLUS. But i get the error below...
SQL> conn system/system@bics as sysoper
ERROR:
ORA-01031: insufficient privileges

The Solution I tried :

1) i deleted the earlier password file and recreated it.
2) i gave $ unset TWO_TASK
3) i verified the group which owns pwd<DBNAME>.ora it belongs to
oinstall group

Can you suggest any other options to solve it?? Is it that i have to
delete the database.

regards,
Cherrish


So, when I get this correctly, you do not even have your basic
setup right, yet you are pounding all over for answers?
I have provided you with guidance, scripts, and links - yet you
do not seem to:
- know what you want (standby db or replication)
- want to take it one step at the time

It looks asif you accepted a task and need it getting done
before a deadline, but you haven't got a clue ho, what, or where.
All I can say is that lack of planning on your side does not
mean any panic on my side.
--
A prosperous 2004,
Regards,
Frank van Bortel

Jul 19 '05 #3
Hans Forbrich <fo******@yahoo .net> wrote in message news:<3F******* ********@yahoo. net>...
CALM DOWN! Responses are provided by volunteers. Many of whom are

taking a vacation because of New Year celebrations.

Also, realize that that there are not that many who are running Oracle9i
on Red Hat 9. And even fewer do replication or standby. A reminder -
Red Hat 9 is not a certified or supported platform. Things can, and
will, go wrong.

From the description, you have a serious problem with your install - you
should not be getting segmentation faults. You may want to check
http://www.dizwell.com for a real detailed guide on installing Oracle9i
9.2 on Red Hat 9.

After install, you may also want to look at the Oracle By Example (OBE)
section of Oracle Tech Net (http://otn.oracle.com/obe/start/index.html)
That provides detailed instructions on installing and doing things in
the Windows environment. By carefully adjusting the OBE instructions,
using the information in Howard's document, you should be able to move
forward.


SIR,
I REQUEST YOUR PARDON FOR THOSE MY LINES.IT WAS BECAUSE I WAS I NEED
OF IT BADLY.ORACLE DB IS WORKING PERFECTLY.AS I HAVE INSTALLED
FOLLOWING THE INSTRUCTION GIVEN IN THE OREILLY WEB SITE. ORACLE WAS
WORKING WELL AND GOOD WHEN I HAD TO CHANGE MY SYSTEM'S HARD DISK TO A
BIGGER 60GB HDD. SINCE I CAN INSTALL ORACLE BY JUST COPYING THE
ORACLE FOLDER IN LINUX. I DID THAT. I CREATED THE GROUP AND USER TO
RUN ORACLE. I SET THE KERNEL PARAMETERS.I STARTED WORKING ON IT. THEN
DUE TO YEAR END I DIDNT USE MY PC FOR A WEEK. NOW WHEN I START ORACLE
AGENT I GET ERROR. THE SECOND ERROR I HAD MENTIONED EARLIER WAS THAT I
COULDNT LOGIN AS SYS,SYSTEM OR ANY OTHER USER. I WAS GETTING ERROR
ORA-01031 INSUFFICIENT PRIVILEGES.
I CORRECTED IT BY DELETING THE EXISTING PASSWORD FILE AND RECREATED
IT. NOW I CAN LOGIN AS SYS WITH SYSDBA PRIVILEGE. I CAN USE DB I HAD
USED BEFORE...

MY TENSION NOW IS WHAT ALL PROCESSES WILL BE AFFECTED BY ORACLE
AGENT.?
CAN I CORRECT THE ERROR BY ANY MEANS....? OR SHOULD I NEED TO
UNINTSALL ORACLE AND INSTALL IT AGAIN?

EXPECTING REPLY,
CHERRISH VAIDIYAN
Jul 19 '05 #4
Cherrish Vaidiyan wrote:


SIR,
I REQUEST YOUR PARDON FOR THOSE MY LINES.IT WAS BECAUSE I WAS I NEED
OF IT BADLY.ORACLE DB IS WORKING PERFECTLY.AS I HAVE INSTALLED
FOLLOWING THE INSTRUCTION GIVEN IN THE OREILLY WEB SITE. ORACLE WAS
WORKING WELL AND GOOD WHEN I HAD TO CHANGE MY SYSTEM'S HARD DISK TO A
BIGGER 60GB HDD. SINCE I CAN INSTALL ORACLE BY JUST COPYING THE
ORACLE FOLDER IN LINUX. I DID THAT. I CREATED THE GROUP AND USER TO
RUN ORACLE. I SET THE KERNEL PARAMETERS.I STARTED WORKING ON IT. THEN
DUE TO YEAR END I DIDNT USE MY PC FOR A WEEK. NOW WHEN I START ORACLE
AGENT I GET ERROR. THE SECOND ERROR I HAD MENTIONED EARLIER WAS THAT I
COULDNT LOGIN AS SYS,SYSTEM OR ANY OTHER USER. I WAS GETTING ERROR
ORA-01031 INSUFFICIENT PRIVILEGES.
I CORRECTED IT BY DELETING THE EXISTING PASSWORD FILE AND RECREATED
IT. NOW I CAN LOGIN AS SYS WITH SYSDBA PRIVILEGE. I CAN USE DB I HAD
USED BEFORE...
You have an incorrect install. This may be due to an incomplete or
incorrect copy. Oracle does not ONLY place it's information in the
$ORACLE_HOME directory.

You do not seem to understand Oracle architecture. Doing so would ease
your tension significantly.


MY TENSION NOW IS WHAT ALL PROCESSES WILL BE AFFECTED BY ORACLE
AGENT.?
CAN I CORRECT THE ERROR BY ANY MEANS....? OR SHOULD I NEED TO
UNINTSALL ORACLE AND INSTALL IT AGAIN?
YES. YOU SHOULD INSTALL AGAIN. YOU HAVE A SERIOUS PROBLEM WITH YOUR
ENVIRONMENT. IT WOULD TAKE TOO LONG TO DEBUG YOUR ENVIRONMENT OVER THIS
MEDIA.

NOTE THAT THE AGENT IS ONLY USED FOR ENTERPRISE MANAGER INTERACTION AND
WILL ONLY CAUSE YOU PROBLEMS WHEN YOU ARE TRYING TO DO SOMETHING THROUGH
THE OEM.

EXPECTING REPLY,
CHERRISH VAIDIYAN


Please do not EXPECT anything from volunteers.

Please do not use UPPERCASE ONLY. That is generally interpreted as
shouting and is considered very rude. Continuing to do so will decrease
the chances that you will get the help you wish.
Jul 19 '05 #5
Hans Forbrich <fo******@yahoo .net> wrote in message news:<3F******* ********@yahoo. net>...

You have an incorrect install. This may be due to an incomplete or
incorrect copy. Oracle does not ONLY place it's information in the
$ORACLE_HOME directory.

You do not seem to understand Oracle architecture. Doing so would ease
your tension significantly.
Please do not EXPECT anything from volunteers.


Please do not use UPPERCASE ONLY. That is generally interpreted as
shouting and is considered very rude. Continuing to do so will decrease
the chances that you will get the help you wish.


sir,
I am very guily and request pardon all Google users for my words and
specially for typing the queries in uppercase. I didnt knew that
typing in uppercase had such a meaning.Its all because i was not used
to posting FAQs.I never meant as if i was shouting, i typed in
uppercase so that it creates some change to readers from previous
replies. I apologise for my behaviour towards all volunteers and
google users.

I will copy the entire Oracle Directory . I think I have followed
Oracle Flexible Architecture in installation. Thaking you for
correcting my errors.. and suggestions... please dont ignore me...

Respectfully
Cherrish Vaidiyan
Jul 19 '05 #6
Frank van Bortel <fv********@net scape.net> wrote in message news:<bt******* ***@news1.tilbu 1.nb.home.nl>.. .

So, when I get this correctly, you do not even have your basic
setup right, yet you are pounding all over for answers?
I have provided you with guidance, scripts, and links - yet you
do not seem to:
- know what you want (standby db or replication)
- want to take it one step at the time

It looks asif you accepted a task and need it getting done
before a deadline, but you haven't got a clue ho, what, or where.
All I can say is that lack of planning on your side does not
mean any panic on my side.


Sir,
I request ur pardon for my words & query typed in uppercase. I have
copied the Entire Oracle Folder to the system.so i was getting the
error in Oracle Agent. But i am able to open and use Database. Will my
databse fail due to error in Oracle Agent ?
I am pounding for answers as i am a learner.. i have just 6 months
experience in Oracle.So i am in a testing environment.. i get stucked
in many situation where i cant get any views from books. Its true and
i am very grateful for ur effort and mind to help me by providing
guidance at various stages both personally and though groups.Please do
continue helping me.I accept ur words.
I am working on Database Availability. So I first wanted to implement
Advanced Replication.Wit h ur guidance i did that. Later i got an
article on the net to setup fail over and standby database is best
suited. So after implementing Asynchronous Replication, i tried on
standby Database.
I know that all these stuffs are very tough and only Gurus in Oracle
can perform it.I thought of going into the subject by Trial N Errors
as i like the stream of Database.Hope u got my situation.There by i was
first querying about Listeners, then replicationand standby database.
Since a simple replication environment is set with sample tables of
Oracle. I am having some clarification and i am doing it as Test
Cases.So i am not trying to do everything at a stretch.
I accept that i have many disadvantage and lack many things in the
industry.. but i am sure with guidance from persons like you will make
me up.I take up jobs of my interest and ones that i think i can
perform well... leading to a inference...In a way that leads to some
learning.

Please do mail me in person and in the group and guide me...

Respectfully,
Cherrish Vaidiyan
Jul 19 '05 #7
Cherrish Vaidiyan wrote:

Hans Forbrich <fo******@yahoo .net> wrote in message news:<3F******* ********@yahoo. net>...

You have an incorrect install. This may be due to an incomplete or
incorrect copy. Oracle does not ONLY place it's information in the
$ORACLE_HOME directory.

You do not seem to understand Oracle architecture. Doing so would ease
your tension significantly.
Please do not EXPECT anything from volunteers.


Please do not use UPPERCASE ONLY. That is generally interpreted as
shouting and is considered very rude. Continuing to do so will decrease
the chances that you will get the help you wish.


sir,
I am very guily and request pardon all Google users for my words and
specially for typing the queries in uppercase. I didnt knew that
typing in uppercase had such a meaning.Its all because i was not used
to posting FAQs.I never meant as if i was shouting, i typed in
uppercase so that it creates some change to readers from previous
replies. I apologise for my behaviour towards all volunteers and
google users.

I will copy the entire Oracle Directory . I think I have followed
Oracle Flexible Architecture in installation. Thaking you for
correcting my errors.. and suggestions... please dont ignore me...

Respectfully
Cherrish Vaidiyan


I understand what you were trying to accomplish with the uppercase
typing. For myself, and I hope for the rest of our community, apology
accepted.

Please note: it is generally not well understood that the
comp.database.o racle and comp.databases. oracle newsgroups are obsolete
(and have been for several years). The correct location for the
questions is comp.databases. oracle.server and I encourage you to post
new questions there. This is because some ISPs do not carry obsolete
groups and you are not getting the full benefit of the volunteer
community. (For example, I believe you are missing Sybrand's helpful
hints.)
Now back to your problem:

I strongly encourage you to do a reinstall of your software based on the
discussion papers either from http://www.dizwell.com or
http://www.puschitz.com (both are excellent) . Reinstalling your
software does NOT mean destroying your database as these are separate.
(The software, when running, is your instance that manages the
database.)

The software is generally kept in the $ORACLE_HOME tree. There are
exceptions. It is these exceptions that I am concerned about. Things
like /usr/local/bin, /opt/oracle and possibly others. I am also
extremely concerned that your environment (such as variables) are not
set up correctly. And finally, I worry that you do not have the correct
version of gcc/glibc for recompile/relink. All these things are
discussed in the Dizwell and Puschitz papers.

Please note that there are MANY files in the $ORACLE_HOME directories,
such as (but not limited to) the $ORACLE_HOME/network/admin/*.ora and
some in the $ORACLE_HOME/sysman/config/*.properties, that contain
references to the installed and/or discovered systems. These will be
set up correctly with a reinstall, but will be incorrect for a pure
copy. It MAY be possible to fix your problem by adjusting the entries
in $ORACLE_HOME/network/agent/config files, but I suspect there are
other files as well. (Quite frankly, it's not worth the time or effort
to look for them, as the reinstall will probably be faster and will be
more complete!)

However, the database(s) are generally kept in the $ORACLE_BASE/oradata
tree. These can usually be safely copied between systems that use the
same operating system and same file system. The exceptions to the
location may include the pfile, the log files and possibly the control
files however they may also be copied to a corresponding location on the
clone system. Since various files names and directories are kept in
the pfile (or spfile) and in the control files, you will need to make
sure the database files are initially copied into an identically named
tree structure. Once there and the database is verified operational,
things can be moved (using the alter database command together with
Linux mv command).

I am hoping you are using pfile and not spfile, or at least you are not
editing the spfile directly. Editing the spfile has a high probability
of making your database unusable. If you are using spfile, read the
manual about converting to pfile so you can make appropriate changes
such as directory names. (All manuals are at http://docs.oracle.com and
the most important two are the Concepts Manual and Database
Administration Guide.)

HTH
/Hans
Jul 19 '05 #8

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

Similar topics

0
8522
by: KULJEET | last post by:
i install oracle 8i (8.1.6.0.0) ON WIN2K after proper installtion when i connect to oracle through sql it gives message ora-12638 credential retrieval failed after setting in sql net sqlnet.authentication_services=(nts) change to sqlnet.authentication_services=(none) after it i succesfully connect to oracle
3
7560
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 Oracle9i. I name the 2 system and DB for convenience. SYSTEM01 & DB NAME= APPLE (Primary) SYSTEM02 & DB NAME=INTEL (Standby)
0
3028
by: totierne | last post by:
comp.databases.ms-access, I want to know how to use Oracle views with session variables in Access. The parameterised views in access, are migrated to views with per session variables. The open questions: How to display a resultset
3
5056
by: Rahmon Adewale | last post by:
Hello colleques. My name is Rahmon Adewale. I am a oracle dba I installed Oracle 9i on Linux successfully, after i logged in sqlplus /nolog i was unable to connect, when i issue the command connect sys/change_on_install as sysdba (error ORA-01031 : insufficient privilege is displayed). Friends, kindly assist in providing solution to this. Thanks,
1
2547
by: Velrajan | last post by:
sql>sys/manager as sysdba it give error ora-01031 insufficent privileges i am connect with administrator user and it is a member of ora_dba group so whats the reason please give me correct solution By
3
1614
by: dilippanda | last post by:
Hi, While executing the following block i am getting error as Insuffiecient privilege. CREATE OR REPLACE PROCEDURE ddl_create_proc (p_table_name IN VARCHAR2) AS l_stmt VARCHAR2(200); BEGIN DBMS_OUTPUT.put_line('STARTING '); l_stmt := 'create table '|| p_table_name || ' as (select * from emp )';
7
203
by: Cherrish Vaidiyan | last post by:
hello, I am been getting mad with so many doubts and errors.. I have posted some doubts,test cases regarding listener,replication and standby database.But i havent got any response..(I am sorry as some of the queries i have posted twice).Is it that my doubt are funny and simple for u gurus. I am just interested in Oracle on Linux . i request u all to guide me.
1
4190
by: mbrackin | last post by:
How can I add a percentage (one column divided by another) to a group by total in Oracle sqlplus?
1
9657
by: 2desperate2usedesperate | last post by:
ERROR: You do not have SELECT privileges on sys.V_$PARAMETER view. This process cannot proceed. Hello, I am using ORACLE 10g Standard Edition and I am trying to configure the Oracle Designer for which a repository must be installed. The following is the procedure I am following: START > PROGRAMS > ORACLE DEVELOPER SUITE –DevSuite1 >
0
9072
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
1
9421
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9333
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8328
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
4771
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4942
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3395
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2872
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2284
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.