Need to create a user who will run the logminer what rights should be given
I Need to create a user who will run the logminer what specific rights should be given in order to run the logminer and query the logminer views. Cant give the sysdba privilages.
Any help in this regard will be really appericiated.
Thanks
I have given the following privilages
GRANT CREATE SESSION TO NEW_USER;
GRANT SELECT ANY TABLE TO NEW_USER;
GRANT EXECUTE ON DBMS_LOGMNR TO NEW_USER;
GRANT EXECUTE ON SYS.DBMS_LOGMNR_D TO NEW_USER;
GRANT SELECT ON V_$SESSION TO NEW_USER;
GRANT SELECT ON V_$ARCHIVED_LOG TO NEW_USER;
GRANT SELECT ON V_$LOG TO NEW_USER;
GRANT SELECT ON V_$LOGFILE TO NEW_USER;
GRANT SELECT ON V_$LOGMNR_CONTENTS TO NEW_USER;
but when i try to add the logfile it gives me the following error
ERROR at line 1:
ORA-06550: line 1, column 85:
PLS-00201: identifier 'DBMS_LOGMNR.NEW' must be declared
ORA-06550: line 1, column 7:
PL/SQL: Statement ignored
What additional rights can i gave to run this
Thanks
Similar Messages
-
Create a user who can run only 'rman script'
Dear Friends ,
I have created a 'rmanback; user who only can run the RMAN script only . I have created user like follwoing way :
1)
SQL> CREATE USER rmanback IDENTIFIED BY rmanback;
User created.
SQL> GRANT RECOVERY_CATALOG_OWNER TO rmanback;
Grant succeeded.
SQL> GRANT CONNECT, RESOURCE TO rmanback;
Grant succeeded.
2)
And My rman script is :
rman target rmanback/rmanback@orcl <<!
run
allocate channel t1 type disk;
backup format 'df_%t_%s_%p'
(database);}
3) And I make a situation where sys user cannot enter the database using its password . For this reason i give the follwoing entry in "sqlnet.ora" :
SQLNET.AUTHENTICATION_SERVICES=(NONE)
Now when I run the script then it shows the follwing error :
[oracle@localhost RMAN]$ sh rman.sh.copy
Recovery Manager: Release 10.1.0.3.0 - Production
Copyright (c) 1995, 2004, Oracle. All rights reserved.
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-00554: initialization of internal recovery manager package failed
RMAN-04005: error from target database:
ORA-01031: insufficient privileges
Now plz tell me where is the problem . If I make any mistake then plz inform me .....
Thx
-----SYSOPER is a privilege that is not enough for recovery manager. Talking about SYSOPER privileges to perform a backup/recover operation from a sqlplus prompt, SYSOPER can perform backup operations, but when recovery is required, the only kind of recover it can perform is a complete recover, if the user requires any kind of incomplete recover it won't be possible since SYSOPER cannot issue neither of until time|change|cancel|controlfile operations, which require the user to connect with the SYSDBA role.
If you attempt to connect to the database by means of recovery manager with an account with SYSOPER role, you will get the following error:
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS===============
RMAN-00571: ===========================================================
RMAN-00554: initialization of internal recovery manager package failed
RMAN-04005: error from target database:
ORA-01031: insufficient privilegesFor the OP, there is no way to create some sort of operator accout, since this will have to connect as SYSDBA to perform all operations required by recovery manager, you will absolutely have to rethink your security strategy, and as I previously posted, you should use OS authentication and protect access to the host server.
~ Madrid
http://hrivera99.blogspot.com/ -
How to find the person.. who is running the report..
Hi,
I am using RedHat linux for the PROD server.(10.2.0.4 DB, R12.0.6 Application)
I have end users those who are running discoverer reports.
The question is how can i find exactly from which IP address the end user is running the reports.
I have the top command results.
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
15397 oraprd 16 0 2150m 1.0g 1.0g R 81 3.2 80:44.27 oracle
15408 oraprd 16 0 2150m 1.0g 1.0g R 73 3.1 120:38.62 oracle
15487 oraprd 22 0 2154m 493m 483m R 67 1.5 110:05.65 oracle
32155 oraprd 15 0 2187m 1.7g 1.6g S 63 5.2 113:11.06 oracle
with the help of the PID and SID.. how can i find the IP address of the End user who is running the reports. So that i can stop him from running the reports, since its running for long time.
Regards
KarthyHi;
What below query return?
select a.sid, a.serial#, b.sql_text,a.user#,a.username
from v$session a, v$sqlarea b
where a.sql_address=b.address
and a.SID='2121';
Please also see:
Re: How to i get client IP address of a system on Oracle E-biz
Re: sql to get Machine IP
Regard
Helios -
Need to create a user from procedure
Hi to all,
I need to create a user from oracle stored procedure. i am able to create a proceure successfully, when i am executing the procedure i cant able to successfully run it. it is throwing insufficient privileges. i tried to run the procedure from system user also.
The below one is the procedure.
create or replace procedure sp_createsuser(username varchar2)
as
begin
execute immediate 'create user ' || username || ' identified by ' || username;
end;
the code is parsed successfully and created without any errors
when trying to executing it throwing error as insufficient privileges
the user is dba privileged and tried this procedure to execute from the system user also, getting the same output.
I need to know whether it is possible to create user from a procedure, package or a trigger.
Thanks in advance.Hi,
I guess the message is pretty clear !! you lack privilege.
SQL> conn imx/imx
Connected.
SQL>
SQL> create user testproc identified by testproc;
create user testproc identified by testproc
ERROR at line 1:
ORA-01031: insufficient privileges
SQL> create or replace procedure sp_createsuser(username varchar2)
2 as
3 begin
4 execute immediate 'create user ' || username || ' identified by ' || username;
5 end;
6 /
Procedure created.
SQL> exec sp_createsuser('testproc');
BEGIN sp_createsuser('testproc'); END;
ERROR at line 1:
ORA-01031: insufficient privileges
ORA-06512: at "IMX.SP_CREATESUSER", line 4
ORA-06512: at line 1
SQL> conn sys/******* as sysdba
Connected.
SQL> grant create user to imx;
Grant succeeded.
SQL> conn imx/imx
Connected.
SQL> exec sp_createsuser('testproc');
PL/SQL procedure successfully completed.
SQL> conn sys/syssys as sysdba
Connected.
SQL> select username from dba_users where username like 'TESTP%';
USERNAME
TESTPROC
SQL>Regards -
Need to create a graph that will chanrt either monthy quarterly or annual
I need to create a graph which will display in a workbook. I need to be able to somehow have the user pick monthly querterly or annual graphing. How do I do this this? do I create this selection in the query intself?
I think the only way is to do that in the query.
Another way shoul be to have all the info in the query and build 3 graph.
Hope it helps.
Regards -
How to find users who are running IE with different credentials ?
How to find users who are running IE with different credentials ?
Is there any tool or a solution in the market will help or a i can use GPO or even Power Shell ?
thnx & Regards ,,Hi Salman,
Based on your description, we can use Windows Credential Manager to check this. Windows Credential Manager stores credentials, such as user names and passwords that we use to log on to websites or other computers on a network.
Regarding Credential Manager, the following article can be referred to for more information.
Credential Manager
http://windows.microsoft.com/en-in/windows7/what-is-credential-manager
Manage passwords in Internet Explorer using Credential Manager
http://www.thewindowsclub.com/manage-passwords-internet-explorer-10
Please Note: Since the above website is not hosted by Microsoft, the link may change without notice. Microsoft does not guarantee the accuracy of this information.
Best regards,
Frank Shen -
HT1752 I have forgotten my admin password and need to create another user
I have forgotten my admin password and need to create another user. Have no disks to boot from!!
You need an installer disc in order to reset an admin password. I don't know if the following will work on your system, but give it a try:
You can also reset the password by printing out (or writing down) and carefully following these steps.
First, find the short name of the admin user on the machine. The easiest way of doing this is by looking at what their directory is called in the Users folder.
Now, start up the computer while holding down Cmd-S. It should boot into a command line. (If it doesn't, you may need to reset the firmware password, which is detailed elsewhere.)
Type these exact lines:
mount -uw /
ifconfig lo0 up
cd /var/db/netinfo
netinfod -s local
Now you'll need that short name. (You did write it down, didn't you?) Type "passwd", a space, and the short name of the admin. For example, if the admin was - rather prosaically - called "admin", you'd type "passwd admin".
The computer will now prompt you to change the password for "admin" (or whatever the short name was). Go ahead and type a new password.
Now, type:
sync
reboot
and the machine will reboot. The admin password should now be changed. -
I need to create a link which will send on email
hi All
i need to create a link which will send to email after click to that link it will directly opent that portlet so i want to know how to create
runtime link.What you're referring to is a drop down menu. Those can't be created normally in iWeb. They can be added to a iWeb page but require an HTML snippet and javascript. Some possible javascript solutions have been posted in this forum. Search for drop down menu. Also do a Google search for drop down menu to get a number of sites with possible solutions.
Or, you can create a separate Residential page and put photos of windows, shower doors, etc. on it and use them as links to the pages for the windows, shower doors. Those pages don't have to be included in the navbar. You can turn it off in the Inspector/Page/Page pane.
Also see Section 9 of this iWeb FAQ site.
Happy New Year -
I need to create a schedule that will be performed every day
Hi,
I need to create a schedule that will be performed every day. Must start at a specified time and finish their work at a certain time. Joby hooked to this schedule must do their work in a loop, until he completed the work to the procedure. Do you have any solution?6e4e5455-0183-4163-be68-1e68fc529042 wrote:
Hi,
I need to create a schedule that will be performed every day. Must start at a specified time [...]
Easy, use DBMS_SCHEDULER to schedule the job to start at a particular time every day.
[...] and finish their work at a certain time. [...]
What should it do if it finishes early? What should it do if it hasn't finished its work by the given time? There may be things you can do to make it crash out at a given time - but its helpful to know what your aims are first.
Joby hooked to this schedule must do their work in a loop, until he completed the work to the procedure. Do you have any solution?
I don't have a clue what that last sentence means, let alone a solution. -
How to find the users who has done the manual blockings in F110?
I would like to knw the users who has blocked the inoice in F110 and even who has re-allocated the payment method/bank details in F110
Hi,
You can open the TC F110. Give the run dates and identification numbers then go to menubar systems- status.
Which user has been blocked the invoice displayed.
I hope it will help to you.
Thanks,
Venkat -
Having stopped audio with a swf inside a sidelet can someone create a swf that will resume the audio
Ok, rick is going to post the fla of this file and I will
post the swf. Basically this is all about having a slide that has
audio running all the way through and enabling the user to roll
over a sidelet and have the video and audio stop playback.
At present, the max you can achieve is, to stop video. The
audio keeps going and of course everything gets out of
sync. Rick has create a swf that you input into a sidelet (
after having imported your image or video ) which stops the audio.
Fantasitc. Unfortunatly he was not successful in creating a swf
that will resume the audio.
So there is the mission. To create something that will resume
the audio, be it a swf inside the sidelet or something else.Hi there paul. Am I right in thinking that your code will
mute the audio. In my situation this would cause problems becasue
you would roll over the sidelet - the audio would go silent and
when you rolled off, or resumed the audio, it would have been
playing so again the video and audio will be out of sync.
Rick - rather than another swf which would activate the audio
and video when you roll off the sidelet ( while that is the perfect
solution ) what about looking at a button the user can press to
resume things, maybe Im wrong but that sounds a little easier.
( however for all those reading this that is not really the
solution I am looking for, what Im looking for is the above
solution where you can just roll off and on and so on ) -
For example can i identify the user who clicked on the link of webform? Because i have a list of users and every time individual needs to select their name.?
Hi,
Unfortunately, it is not possible to create a user specific form in FormsCentral, It is not possible to identify the users who has visited the link.
Regards,
Nakul -
Syntax to get the login user who is generating the BIP report
Hi,
I need to display the user who is executing the BIP Report. I hav used the following syntax, but it displays blank.
<?xdofx:xdo_user_name?>
Can someone please provide the syntax?Hi
To connect the project professional with Project server and publish the project plan on server user need to have Project manager permission on PWA.
How to connect :
Open Project Professional from All program --> File --> Managed
Accounts -->Add you PWA URL (till PWA) --> Select the option Choose an account --> Save then close
Now open MS Project professional again it will ask you to connect to computer or PWA select PWA then you can start the Work.
You need not to get worry about LOGIN and user name , MPP will take Windows login of the user from Computer/laptop whoever
will be log in to system.
http://www.epmcentral.com/msp2010/pjserveraccount.php link is having Step by step image which will help you
kirtesh -
I need to create a banner in Fireworks but the canvas is only allowed to go up to 6000px at 300dpi, is there a way to make it larger?
Do NOT use Fireworks for print work. Use Illustrator, InkScape, InDesign, Scribus, Xara Designer Pro, Photoshop, etc, anything BUT Fireworks. Fireworks is meant for web graphics.
However, if you are still convinced it is a good idea to do this in Fw, there is a way to increase the max canvas size:
Source
However, you can change the limit.
Make sure that Fireworks is closed, open Fireworks CS6 Preferences.txt file located in:
Windows 7/Vista: C:\Users\USERNAME\AppData\Roaming\Adobe\Fireworks CS6\English\
Windows XP: C:\Documents and Settings\USERNAME\AppData\Roaming\Adobe\Fireworks CS6\English\
MacOS X: Library/Preferences/Adobe Fireworks CS6/en/
and change
<key>MaxDocSizeInPixels</key> <integer>6000</integer>
to
<key>MaxDocSizeInPixels</key> <integer>10000</integer>
or adjust this number as needed. -
Who will write the SOAP message
when wrting simple Webservice .Who will write the SOAP message?
weather it generate automatically? or we need write?
is there any automatic tools are there to generte the SOAP message?
Please send me a Simple Webservice Example?
Thanks in advance
RajuCheck out http://jax-ws.dev.java.net and look at the samples provided. Netbeans 5.5 beta also makes it very easy to publish a web service. All of the hard work is done for you automatically, to you as a developer it looks just like you are makiing an normal method invocaiton, the framework underneath converts that invocation to/from a soap message.
Maybe you are looking for
-
I would like to see the same mails in all my apple devices. Can someone please tell me how? My calendar and contacts sync but my mailboxes dont...
-
Pages 5.2.2 Saving bug
hello, Pages calls me every 5 minutes with this message: This document was edited in another application. To work on this version, click Back. Changes made here will be saved as version on your Mac. * Tip: If you use an online storage service, do not
-
Report Writer / Report Painter Export to Excel Spreadsheet
Hello Experts, I have created a report writer report with variation (can be seen on the left hand of the screen after execution of the report). Now, if i try to export the report to a spreadsheet, it just gives me the information without including th
-
Media pending problem after clearing media cache folder
Hi All, So yesterday I was having trouble with premeire in that on some of the files it conformed it managed to screw up the audio and play a short 'loop' instead of the actual audio. I was instructed to empty my media cache folder and re-start preme
-
is it possible to have a central control of data format for example, all number data are with thousand separator and zero decimal place. if some columns have data format, user can customize it (like current way - set manually in column property)