Grant Rights to Start, stop, view Oracel-Jobs inother roles

Hi,
i need a little help.
how can i grant rights to my jobs, that the users of other roles can start, stop and view my jobs?
Thanks
Greetings
John

Not easily. You would have to give grants on DBA_JOBS, dbms_job to the other user, and give execute on what the job is running to the other user as well.
Then the other user would need to change the ????_USER column of the job, know either the job number of the WHAT, e.g.
update dba_jobs set log_user = 'OTHER_USER', priv_user = 'OTHER_USER', schema_user = 'OTHER_USER'
    where job=42; -- OR where WHAT like '%sp_insert_into_tab1%' ;
Then not forget to set it back to the original owner.

Similar Messages

  • Print job starts, stops on last page of job, then finally restarts.

    Hello, I have an HP Office Jet Pro 8500 (A909), connected via router (ethernet cable). Windows 8, HP Pavillion machine, i5 processor, 64 bit, 6gigs ram
    The print job starts, stops on last page of job, then finally restarts, then starts whole print job over with same results; pausing for about a minute, restarting and finishing job but the driver must detect that the job - still in the queue - is not done and starts again.
    I've swapped ethernet cables with the same results. I can print over the wireless network with other computers and do not have this issue.
    I thought it was a driver issue so I uninstalled/reinstalled HP software, with all available updates, same results.
    The only work around at my disposal now, other than printing from another machine, is to wait for the last page to print and manually clear the queue so the job doesn't print again. Suggestions?
    Thanks

    Hey @DavidWW ,
    Thank you for joining us on the HP Forums today, hope you enjoy your time with us! Also thank you for taking the time to thoroughly explain the issue, much appreciated. 
    I understand you are having an issue with the last page printing late, the computer not recognizing it, re-printing and so on. You need to print, wait for stall and then last page and then clear queue to stop the printer. That is truly annoying, however; I might have a fix for you in 1 simple post... maybe not, but maybe at least.
    Try the tool I have posted below and run the print fix option.
    Click here to download and run the Print and Scan Doctor >>> www.hp.com/go/tools
    If that doesn't fix your issue make sure you let me know and we can continue.
    I worked for HP.

  • Can I view DV start/stop metadata to see date/time shot

    Hello,
    Is there a way I can view the DV start/stop metadata to see when a particular clip was shot.
    Thanks!

    Hank,
    Would you then put CatDV is a separate "pro" category? I'm looking for an application like these to build a large archive of clips, from hundred of DV tapes. Of course, I'd like to pick a product that will still be there in a few years. Any advice you may have on the subject is greatly appreciated.

  • HOWTO: start/stop htmldb processes in Unix

    I've installed 10gR2 DB, and then installed HTMLDB from the companion CD. I could access the server no problems, so my configuration is good and working.
    The issue is how do I start/stop the processes. It appears (from this forum) that Windows installs create a service but that's of course no good to me as I'm on AIX.
    I'm a database guy, not an iAS guy, and it took me a while to figure out the way to make this all work.
    First, set your ORACLE_HOME to the HTTP home (not the DB home).
    In ORACLE_HOME/opmn/bin is the magic command:
    ./opmnctl startall
    or
    ./opmnctl stopall
    Seems to do the job.

    That's almost right - that command will start & stop the Oracle HTTP Server (Apache). If Apache is down, then there is no way to access HTML DB via a web browser. However, users - if they had access - could still access the database, of course.
    There is no such thing as the "HTML DB Process", as HTML DB is nothing more than a schema in the database.
    Thanks,
    - Scott -

  • Who start/stop Performance Monitor

    Hi all,
    Is there's any audit trace I can check on who did the start/stop on Performance Monitor tool?
    Because I've created the Performance Monitor tool to run for a week, then on day 3 I found it was stopped.
    I ran it again & it's now completed.
    So, how can I tell who did the job to stop the tool on day 3 that day? I just can't seem to find on on Event Viewer.
    Thank you in advanced!
    ---Pat

    Hi Patrick M,
    Based on your description, I want to confirm whether this
    Performance Monitor was stopped automatically. Please check if it occurred (stop working) with a cycle. In other words, please check if Performance Monitor stops automatically every 3 days. Just guess.
    There is a similar question, it may provide some thoughts.
    http://social.technet.microsoft.com/Forums/en-US/69d209eb-6717-499f-9b8e-0de09eb11695/performance-monitor-every-weekend-is-stopped-automatically?forum=winservergen
    Hope this helps.
    Best regards,
    Justin Gu

  • How to stop a Scheduler Job in Oracle BI Publisher 10g

    Hello!
    Can someone tell me how can I stop a scheduler job in Oracle BI Publisher 10g?
    I scheduled a bursting job to run a report but is running during two days.
    I would like to stop it.
    Thanks.
    Edited by: SFONS on 19-Jan-2012 07:16

    Unfortunately there is no way to stop a job once it is being executed. Yes as you read, it is not possible once job has started.
    Same thing applies for running queries.
    Once queries are sent to the DB BIP loses control over them. The message you see (if any) "Click Here to Cancel" does not stop any query
    it is just a message.
    I guess you will have to stop/kill the process in your DB
    regards
    Jorge
    p.s If you consider your question answered then please mark my answer as *"Correct"* or *"Helpful"*

  • How to Get Duration, Start/Stop Time of Each Instance (Run)

    Can someone tell me how to get the Duration, as well as Execution Start/Stop times for a given run (Instance) of a Report, stored in History?
    For example, on the BO Server in InfoView, I can browse the History of each report, and for each run, I can click the details and view the Duration and Start/Stop times for that run. How do I get that information in Java via the SDK?
    Neither IProcessInfo nor ISchedulingInfo seems to have this information.
    For example, ISchedulingInfo's Start/Stop Times are for general scheduling (when the report will stop being scheduled). That is not what I want.
    I need specific data for a given completed Run, namely its duration and time endpoints. Thanks a lot.

    Hi,
    fetch the instance of the run like this
    IInfoObjects list = infoStore.query(
    "select SI_STARTTIME , SI_ENDTIME From CI_INFOOBJECTS Where SI_ID=<instanceIDtoMeasure>"
    IInfoObject element = list.get(0);
    Date startTime = element.properties().getDate("SI_STARTTIME");
    System.out.println("Beginn "+ startTime);
    Date endTime = element.properties().getDate("SI_ENDTIME" );
    System.out.println("End " + endTime);
    long time = ((endTime.getTime() - startTime.getTime()) / 1000);
    System.out..println("Runtime " + time + " sec");
    You can get the nstanceIDtoMeasure form your Report with getInstances
    Enjoy
    johannes

  • Grant access to all the views created in user schema to another schema

    How to grant access for all the views created in own HAGGIS schema to comqdhb schema on the HAGGIS database.
    Oracle Grant Privileges
    ===============
    Object privileges assign the right to perform a particular operation on a specific object
    I read that we can use select 'grant select on' ||view_name||'HAGGIS' user_views where owner='COMQDHB'
    Is this right
    Oracle System Privileges
    ===============
    System privileges should be used in only cases where security isnt important,because a single grant statement could remove all security from the table
    Role based security
    ============
    Role security allows you to gather related grants into a collection-since the role is a predefined collection of privileges that are grouped together.privileges are easier to assign to users.
    [http://www.dba-oracle.com/art_builder_grant_sec.htm]
    can we grant select update to all the views at a time to the other schema.
    Are there any other ways to secure the data other than creating users and assigning roles.
    Thank you
    Edited by: Trooper on Dec 23, 2008 9:24 AM

    I think what was suggested was that you use SQL to generate the grants on each and every view, that is, you use SQL to generate SQL where the SQL being generated is "grant select on view_name to role'"
    If you users to connect to Oracle you have to create usernames for them though if the users only connect via an application the application might run just as one user and access to the application is controled via application security. The control on the application can be via Directory Services such as OID or MS Active Directory. User access to Oracle can also be controlled via OID.
    To connect to Oracle you can use OS authenication (not recommended), usernames with passwords, or via Advanced Security Option which supports single sign-on products like Kebros or Oracle Internet Directory etc....
    Example using SQL to generate SQL
    How do I find out which users have the rights, or privileges, to access a given object ?
    http://www.jlcomp.demon.co.uk/faq/privileges.html
    HTH -- Mark D Powell --

  • Creating a Business Service for Start/Stop Application Service in CCB 2.3.1

    Hi,
    I'm in the process of creating a BPA script that invokes a Business Service to perform a Start/Stop for a given Account ID/Premise ID combination. The Business Service is using the base Application Service: Start Stop (CILCSSEP). I am moving the Account ID and Premise ID, along with the start date and requested by fields to the data area of the Business Service, prior to invoking it. When I invoke the Business Service via the BPA script, it throws the below error message... I'm at a loss because the BILL_ADDR_SRCE_FLG is being set to a default of "PREM" on the Business Service Schema:
    A Bill Address Source is required on the address override record. Please enter a valid value.
    One of these two is true:
    1) The Bill Route Type on this record has a Bill Routing Method of 'Postall', or
    2) The main customer on the Account has a Quote Route Type with a Quote Routing Method of 'Postal'.
    In either case, the Bill Address Source must be populated with a valid value.
    If you need support please supply the following info to system support:
    Message number: 3, 59204
    Business Service: CMSTARTSERVICE
    Application Service: CILCSSEP
    Schema:
    <schema pageAction="fastChange">
    <accountId mapField="ACCT_ID"/>
    <df mapField="DEFAULT_FOR_FLG"/>
    <startDate mapField="STRT_START_DT"/>
    <startOption mapField="STRT_TYPE_FLG"/>
    <premiseId mapField="STRT_PREM_ID"/>
    <premAddress mapField="ADDRESS1"/>
    <premCity mapField="CITY"/>
    <startCisDiv mapField="STRT_CIS_DIVISION"/>
    <startReqBy mapField="STRT_STRT_REQ_BY"/>
    <bldStrtSaSw mapField="BUILD_START_SA_SW" default="true"/>
    <accountIdtwo mapField="ACCT_ID2"/>
    <mainCustPerId mapField="MAIN_CUST_PER_ID"/>
    <billFrmtFlg mapField="BILL_RTE_TYPE_CD" default="POSTAL" private="true"/>
    <billAddrSrcFlg mapField="BILL_ADDR_SRCE_FLG" default="PREM"/>
    <billAddrSrcFlg2 mapField="BILL_ADDR_SRCE_FLG2" default="PREM"/>
    <startStopTelephoneOverride type="list" mapList="OVRD_PHONE">
    <accountId mapField="ACCT_ID"/>
    <sequence mapField="SEQ_NUM"/>
    <phoneType mapField="PHONE_TYPE_CD"/>
    <internationalPrefix mapField="COUNTRY_CODE"/>
    <phone mapField="PHONE"/>
    <extension mapField="EXTENSION"/>
    <version mapField="VERSION"/>
    </startStopTelephoneOverride>
    <startBtn mapField="ACTION_START_SW" default="true" private="true"/>
    </schema>
    I'm running CC&B 2.3.1 - Any help in pointing me in the right direction to get this working would be greatly appreciated, Thanks!
    Regards,
    Jack

    Hi,
    Can you try and do this transaction online and see if the error occurs as well? If so run it with traces on and check for the details just before the error is thrown. ( you can also switch on debug via the service call, but it may be easier to debug when doing this online. ) I am predicting this error will occur also when you do it online.
    When you are using an Account with its main Person set up with BILL_ADDR_SRC_FLG as PREM you will need a valide PREM_ID on the CI_ACCT record for MAILING_PREM_ID and the premise needs to have a switch set to YES indicating it is a Mailing Address type Premise.
    Good luck
    Arjen

  • Which is the best structure for start/stop data logging?

    Hi everybody,
    hope I can explain my problem good enough that anyone can help me:
    I have a VI which continuely shows on a graph the voltage of a Analog Input of a DAQ device. Now I want to allow the user to start/stop with a click on a button data logging. Means that a second loop writes to a selected path every ms the data to a spreadsheet file.
    At the moment my VI works like this:
    You run the VI and Labview asks you one time for the file path, then you can start and stop the data logging. But you can do it only one time. If you want to log a certain time later another file, you have to close and open the whole VI again which is not very professional...
    My target is:
    It is onlyl necessary to start the VI one time. Then you can select a new file path, log data, select another file path, logging data again....and so on...
    Which programm structure is necessary, can anyone help me as a labview beginner with that issue? I attached the VI if someone just wants to edit that...
    Thank you for your help!! Markus
    Attachments:
    Logging voltage.vi ‏93 KB
    screenshot.JPG ‏98 KB

    @NaruF1 and GerdW
    you are right, there is a mistake, both loop rates should be the same (10 ms) :-)
    @NaruF1
    yes you understood correctly that the file dialog should appear every time the user wants to start writing a new log-file. The voltage we measure is a analog signal, so there will be several interesting periods we want to save for a later analysis in Excel.
    To your 2nd point: if it works with a array it will be fine. But it must be possible to log data for lets say 5 minutes, so the array won´t be too large? (5 min @ 10  ms loop rate will be 30000 rows..
    attached is the VI, saved as LV2009..
    Thanx a lot!
    @GerdW
    ..you ask why I didn´t create a structure like you recommended with notifiers or queues? The simple answer would be that I am not familiar with all this.. just began to write my first Labview programm. I will have al look to the LV help with all that stuff... Thank you a lot
    Attachments:
    Logging voltage.vi ‏80 KB

  • Start / stop recording from other software?

    I have a setup where three cameras are supposed to start/stop recording based on user interaction in another software. So, is it possible to trigger a recording to start and stop from another software? If so, how can this be done?

    To be honest Im not sure but I dont think so.
    If this is a securitycam setup one way to do it without having to have acces to "endles" storage space is to use one of the free services for webcasting like jtv, ustream, veetle, or livestream. I believe all of them have a privace option so you can enter a securitycode so only you can acces the videos. Its not optimal but it gets the job done. I believe some of them will erase videos after a while though if you dont highlight them for saving.

  • Auto Start/Stop Oracle Database Lintener DBConslone on Linux

    Dear all
    I have install oracle 10.2.0 on redhat 4.7 every time i have to start manualy.
    it try with following scrip / process but database not starting automatically.
    Please any one can provide steps for auto start and stop oracel services on RedHat 4.7
    Once the instance is created, edit the "/etc/oratab" file setting the restart flag for each instance to 'Y'.
    TSH1:/u01/app/oracle/product/10.2.0:Y
    Next, create a file called "/etc/init.d/dbora" as the root user, containing the following.
    #!/bin/bash
    #chkconfig: 345 95 10
    #description: init script to start/stop oracle database 10g, TNS listener, EMS and isqlplus
    case $1 in
         start)
         su - oracle -c 'lsnrctl start'
         su - oracle -c 'dbstart'
    su - ora10g -c 'isqlplusctl start'
         su - oracle -c 'emctl start dbconsole'
         stop)
    su - oracle -c 'emctl stop dbconsole'
         su - oracle -c 'isqlplusctl stop'
    su - oracle -c 'dbshut'
    su - oracle -c 'lsnrctl stop'
         restart)
    su - oracle -c 'emctl stop dbconsole'
         su - oracle -c 'isqlplusctl stop'
    su - oracle -c 'dbshut'
    su - oracle -c 'lsnrctl stop'
         su - oracle -c 'lsnrctl start'
         su - oracle -c 'dbstart'
    su - ora10g -c 'isqlplusctl start'
         su - oracle -c 'emctl start dbconsole'
    esac
    create service on linux
    Actions >> System Settings >> Server Settings >> Services Then
    Actions >> Add Service Then
    Service Name = dbora Then Press Ok
    chmod a+x /etc/init.d/dbora
    Check is it running this service properly
    service dbora stop
    service dbora start
    showing error
    :bad interperter : no such file or directory
    Please forward me process/steps for auto start/stop oracel services

    :bad interperter : no such file or directorymeans that it could not find the interpreter which should be used to interpret the script.
    most probably this is caused by the shebang (#!/bin/bash)
    the default location of bash on RHEL (OEL/CentOS) is /bin/bash, which means that the shebang looks correct.
    can you make the shebang:
    #!/bin/bash -xso shelltracing is put on and execute script again?
    this will make clear if it is the shebang in your script, or in another script.

  • How to start & stop SAP J2EE services.

    Hello,
    Can anyone tell me the steps how to Start and Stop SAP J2EE operations and how to troubleshoot the problems when the Java doesn't come-up.
    Regards,
    Murali

    Hi,
    In windows,
    go to SAP management console,Right click on the SID and then <b>start all tasks</b>
    similarly to stop,Right click,
    <b>stop all tasks</b>
    If it is linux machine,
    switch to SIDadm user,by giving the command <b>su sidadm</b>
    ex:if SID is J2E,then it will be <b>j2eadm</b>.and then it is <b>startsap</b> or <b>stopsap</b>.
    For troubleshooting,
    1.go to /usr/sap/SID/JCxx/j2ee/cluster/server0/log
    look for <b>defaulttrace.trc file.</b>
    you can get to know the errors here and find teh root cause of it.
    2.you can also look for <b>devp_trace</b> in SAPmanagement console.
    3.Before doing all this,first check if <b>JAVA_HOME,path</b> and <b>LD_LIBRARY_PATH</b> is set properly and proper JDK is taken.
    4.check id <b>DB is up and running.</b>
    reward points if helpful
    Message was edited by:
            usha rani

  • Allow normal user to start/stop Tomcat

    Hi,
    Recently I deployed a web app at client's pc running on WinXP SP2. However, I'm not allowed admin rights to that local machine. Is there a way to allow normal user ( like my case) to start/stop Apache Tomcat services without requesting my client to log in as admin to perform this simple task?
    Thanks.
    Z

    salafrance wrote:A simple way would be to write a small C program to run systemctl setuid root.
    So perhaps like this?
    #include <stdlib.h>
    #include <unistd.h>
    int main(void)
    execl("/usr/bin/systemctl", "systemctl", "start", "calibre", NULL);
    return(EXIT_SUCCESS);
    compiled it, then "chown root:root test", "chmod u+s test" and it worked.
    But is this safe? I have absolutely no knowledge about potential security issues...
    I also have thought about periodically restarting calibre, but on the Raspberry Pi, with it's slow ARM, the start takes ages and the processor is completely busy with that task for some minutes.
    And that's the reason why I also want to avoid starting an entire second systemd session... Or is this not that resource intensive?

  • Unable to Start/Stop Directory server from console

    We have two Directory Server 5.2 installations with both running as masters with replication between them. One of them was installed with the admin server and the other without. On the one that was installed without the admin server we added it afterwards.
    We now find that on the one that had the admin server installed after the directory server that we cannot start/stop the directory server from the server console nor can we view or access backups or logs from the console. The system does however create the log and backup files and we can start/stop it from the command line.
    I read in a post somewhere that the admin server can be created with a different user from the directory server or with the same username but a different domain and wondered if that was the problem but have looked through the configuration files on both machines and haven't managed to spot a discrepancy.
    Does anyone have any ideas where and what to check?
    Thanks in advance.
    Peter

    Ah, I wouldn't have recognized this scenario if you didn't report the scrozzled user name. The "access denied" error happens for the simple reason that 'IAyjcJlYKL' is not a valid user in your domain. Fancy that. If you look in your config.xml for the "node-manager-username" element, you may find the value is encrypted, and probably is 'IAyjcJlYKL'.
    It might be best if you filed a support case for this. I can make some guesses about what you should do, but it's just a guess. In any case, if you try fixing something, make a backup of the file first.
    The two things you can try doing are (backup the files and shut down everything first):
    * Edit the nm_password.properties file, replacing the one "hashed" line with two lines, setting the "username" property and the "password" property, both in cleartext. When the nodemanager starts up, it will replace those two lines with the "hashed" value.
    * Edit the config.xml file, replacing the values in the "node-manager-username" and "node-manager-password-encrypted" elements with their cleartext versions.
    Then start up the nodemanager and server.
    I'm familiar with this because I saw this happen, and I'm trying to remember the strange thing we had to do. I worked this out with BEA support a while ago. If it helps, my case number was #796710.

Maybe you are looking for

  • Getting int values from a char array

    Hi, I need to make a fast program which reads lots of data from files and process them. I need to interpret these data as int's. To be more efficient and avoid to make a lot of disk access, I allocate in memory buffers part of the data, then process

  • Document upload in web service

    Hi, I am creating a webservice to upload a document, how can I upload the content without using Options.CONTENTSTREAM as it is mentioned that it cant be used for webservices. I tried to upload using HttpConnection but I could not pass the entire sess

  • Throwing error coding

    Hi, I'm working on a code where I can throw an error, but I'm just wondering is this the correct way to code it? The idea here is to create a class where the NotImplementedError will be used as an error to be thrown public class NotImplementedError e

  • How can I get rid of tabbed browsing? I positively hate it and none of the choices in tools get rid of them.

    I was using an older version of FF because the newer versions had messed up private browsing and I had the option of deciding if I wanted tabbed browsing. I switched to a newer version because a lot of sites didn't work with the older version. I went

  • Importing raw into photos for mac

    trying to get to grips with photos now aperture scrapped