Solved

dba_users view

Posted on 2006-06-21
11
2,340 Views
Last Modified: 2012-05-05
Hi

When I tried this query--->desc dba_users or select username from dba_users;
I am getting this message___->ERROR:
ORA-04043: object dba_users does not exist


It used to work before but all of a sudden I got this error.

Any help would be appreciated to resolve this.

thanks in advance.
0
Comment
Question by:Smruti1
  • 3
  • 2
  • 2
  • +3
11 Comments
 
LVL 23

Expert Comment

by:paquicuba
ID: 16956063
Are you connected as SYSTEM, SYS or have DBA role?
0
 
LVL 14

Expert Comment

by:sathyagiri
ID: 16956119
Your DBA probably revoked your grant on the dba_ tables. Ask your DBA to assign the view catalog role to you.Then you shd be to access the dba_ views
0
 
LVL 11

Expert Comment

by:mohammadzahid
ID: 16956334
You can find out privileges currently enabled by running a query against SESSION_PRIVS view. This view will help you to determine exactly which privileges are currently enabled. And, you don't need DBA privileges to query this view.

0
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 

Author Comment

by:Smruti1
ID: 16959514
Thanks to all for quick response.

I am connected as a  sysdba. I am the only one who is working as an Oracle DBA.

Thnaks in advance.
0
 
LVL 14

Expert Comment

by:sathyagiri
ID: 16961076
Are you able to view any other DBA_ views at all?
0
 

Author Comment

by:Smruti1
ID: 16961206
Thanks satyagiri.

Yes, but not dba_users and dba_profiles.

Thanks in advance.
0
 
LVL 19

Accepted Solution

by:
actonwang earned 500 total points
ID: 16961917
you might lost this view by accident, try to run the following  script to restore it:

@<oracle_home>/rdbms/admin/catalog.sql
0
 

Author Comment

by:Smruti1
ID: 16962075
Thank you very much actonwang.

I ran catalog.sql script and now I am able to see dba_users view.


0
 
LVL 19

Expert Comment

by:actonwang
ID: 16962165
COOL!
0
 
LVL 1

Expert Comment

by:Computer101
ID: 20294455
Forced accept.

Computer101
EE Admin
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Background In several of the companies I have worked for, I noticed that corporate reporting is off loaded from the production database and done mainly on a clone database which needs to be kept up to date daily by various means, be it a logical…
From implementing a password expiration date, to datatype conversions and file export options, these are some useful settings I've found in Jasper Server.
This video shows how to Export data from an Oracle database using the Original Export Utility.  The corresponding Import utility, which works the same way is referenced, but not demonstrated.
This video shows how to recover a database from a user managed backup

830 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question