Avatar of crishna1
crishna1Flag for United States of America

asked on 

Oracle Errors while connecting to a database

I am trying to connect to a Oracle 10.2.0.2 database and i connect succesfully but get the following erros before connecting. Once i connect i try to run some sql scripts and they a error out, any ideas?

Please help!

*************************************************************************************************
Copyright (c) 1982, 2004, Oracle.  All rights reserved.

ERROR:
ORA-06550: line 1, column 7:
PLS-00201: identifier 'DBMS_OUTPUT.DISABLE' must be declared
ORA-06550: line 1, column 7:
PL/SQL: Statement ignored


ERROR:
ORA-06550: line 1, column 7:
PLS-00201: identifier 'DBMS_APPLICATION_INFO.SET_MODULE' must be declared
ORA-06550: line 1, column 7:
PL/SQL: Statement ignored


Error accessing package DBMS_APPLICATION_INFO
SP2-0575: Use of Oracle SQL feature not in SQL92 Entry Level.

Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.2.0 - Production
With the Partitioning, OLAP and Data Mining options

SQL>
Oracle Database

Avatar of undefined
Last Comment
Computer101
Avatar of rbrooker
rbrooker
Flag of New Zealand image

Avatar of lonerangerls
lonerangerls

The DBMS_OUTPUT package is created when the Oracle database is installed. You many need to run The dbmsoutp.sql script or create synonyms/give permission to the current schema to see them.
DBMS_APPLICATION_INFO apparently is not available in you current version.

Are you running Oracle XE?

LS
Avatar of crishna1
crishna1
Flag of United States of America image

ASKER

This used to work perfect till yeasterday, not sure what happened, as shown above ,
i am using Oracle EE.
rbrooker, from your first link , i verified that the value in DUAL is already X.
On the second link , it shows to set SQL> set flagger off, but looks like this works temporarily, only after i login and only for one particular session, how do i permannetly fix it.
I have the following three errors everytime i login, how to fix the rest?

***********************************************
ERROR:
ORA-06550: line 1, column 7:
PLS-00201: identifier 'DBMS_OUTPUT.DISABLE' must be declared
ORA-06550: line 1, column 7:
PL/SQL: Statement ignored


ERROR:
ORA-06550: line 1, column 7:
PLS-00201: identifier 'DBMS_APPLICATION_INFO.SET_MODULE' must be declared
ORA-06550: line 1, column 7:
PL/SQL: Statement ignored

Error accessing package DBMS_APPLICATION_INFO
SP2-0575: Use of Oracle SQL feature not in SQL92 Entry Level.


Avatar of rbrooker
rbrooker
Flag of New Zealand image

Hi,

there is a glogin.sql ( global ) and a login.sql ( local ) that you can alter to turn off flagger.

http://www.adp-gmbh.ch/ora/sqlplus/autotrace.html

good luck :)
Avatar of crishna1
crishna1
Flag of United States of America image

ASKER

i dropped and recreated the database and everything seems to working fine now.
ASKER CERTIFIED SOLUTION
Avatar of Computer101
Computer101
Flag of United States of America image

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
Oracle Database
Oracle Database

Oracle is an object-relational database management system. It supports a large number of languages and application development frameworks. Its primary languages are SQL, PL/SQL and Java, but it also includes support for C and C++. Oracle also has its own enterprise modules and application server software.

81K
Questions
--
Followers
--
Top Experts
Get a personalized solution from industry experts
Ask the experts
Read over 600 more reviews

TRUSTED BY

IBM logoIntel logoMicrosoft logoUbisoft logoSAP logo
Qualcomm logoCitrix Systems logoWorkday logoErnst & Young logo
High performer badgeUsers love us badge
LinkedIn logoFacebook logoX logoInstagram logoTikTok logoYouTube logo