Any reason why external jobs hang?

Hi
I'm in two minds as to whether this as an XE database problem or a general Scheduler problem so I'm trying my luck on this forum first.
Details: Database XE, Centos O/S
Problem
I can schedule all the different types of jobs and all except external jobs(job_type EXECUTABLE) do run. With external jobs, they just never complete running. It's not like they are doing anything either.
- Selecting from USER_SCHEDULER_RUNNING_JOBS while an external job is running just never comes back.
- Checking what's going on in v$session reveals an ACTIVE status and EVENT "JS external job".
- The xe_J00X os process doesn't seem to be doing anything. However, if I terminate(kill) it, it won't die except with kill -9, which frees up the database.
I have searched and tried a number of ideas but I haven't been able to resolve this.
So far
- I have tried the Metalink notes for setting permissions to nobody user.
- I have added #!/bin/ksh or #!/bin/bash to the shell scripts
- Implemented externaljob.ora
The results are the same. External jobs just hang, no error message, nothing.
I'd appreciate help if you can.
Thank you.
Siphiwe

Hi,
This is helpful and I can add some further comments.
- The Metalink notes were intended for normal SE/EE Oracle installs, there is no guarantee that they will work on XE. In fact your experiment shows that setting the permissions as in the Metalink note does not work on XE since nobody does not have access to the libclntsh.so.10.1 library (file and directory permissions are slightly different in XE) . You should ignore the Metalink notes and leave the original install permissions.
- because there is no extjobo executable, external jobs in the SYS schema will not work (although doing "cp extjob extjobo" should fix this) . This is a known filed bug.
- because the Metalink note does not work, all external jobs will run as the Oracle user. This is a security risk that should be taken into account whenever granting the CREATE EXTERNAL JOB system privilege to a user.
I can confirm that on an rpm installation of oracle-xe the following works for me when run as sys
-- test case for an external job on Oracle XE
create user testusr identified by testusr ;
grant create session, resource, create job, create external job to testusr;
connect testusr/testusr
begin
dbms_scheduler.create_job('job1','executable','/bin/sleep',1,
enabled=>false);
dbms_scheduler.set_job_argument_value('job1',1,'10');
dbms_scheduler.enable('job1');
end;
select * from all_scheduler_running_jobs;
select * from all_scheduler_job_run_details;
The job does run successfully and runs for 10 seconds as expected. I suggest you try this test case out after removing the pj files and fixing the permissions on extjob back to
-r-xr-xr-x 1 oracle dba 32068 Feb 19 2006 extjob*
Hope this helps,
Ravi.
null

Similar Messages

  • HT5622 Is there any reason why my apple id and password allow log in to App Store but say invalid password when trying to activate Facetime ?

    Is there any reason why my apple id and password allow log in to App Store but say password invalid when trying to activate Facetime - I thought that Id and password were the same for all functions ?

    try the steps in this article:
    http://support.apple.com/kb/TS4268

  • I have Windows 7 and recently everytime I try to update my iTunes I get an error message. Any reasons why?

    Hi! I have a PC running on Windows 7 and recently I can not upgrade my iTunes. Any reasons why?

    Many thanks, that's perfect.
    (1) Download the Windows Installer CleanUp utility installer file (msicuu2.exe) from the following Major Geeks page (use one of the links under the "DOWNLOAD LOCATIONS" thingy on the Major Geeks page):
    http://majorgeeks.com/download.php?det=4459
    (2) Doubleclick the msicuu2.exe file and follow the prompts to install the Windows Installer CleanUp utility. (If you're on a Windows Vista or Windows 7 system and you get a Code 800A0046 error message when doubleclicking the msicuu2.exe file, try instead right-clicking on the msicuu2.exe file and selecting "Run as administrator".)
    (3) In your Start menu click All Programs and then click Windows Install Clean Up. The Windows Installer CleanUp utility window appears, listing software that is currently installed on your computer.
    (4) In the list of programs that appears in CleanUp, select any iTunes entries and click "Remove", as per the following screenshot:
    (5) Quit out of CleanUp, restart the PC and try another iTunes install. Does it go through properly this time?

  • Any reasons why the content of a fillable form cannot be viewed or printed?

    I have created a 2-page form on Adobe Acrobat XPro. I emailed it to specific people and they filled it out, saved it and emailed it back. I am able to view what they typed in my monitor only, when I click on the field, but it will not print the content. Any reasons why the content of a fillable form cannot be viewed or printed?

    That's what I asked the people I emailed the form to and someone just emailed me saying: "I'll check my adobe. It keeps asking me to update and I keep ignoring it so maybe it was my fault". So there is the answer I guess. I saved the document as an Extended PDF and selected Enable Additional Features. Is there anything else I should consider?

  • Clone computers. Any reason why not?

    Hi
    I have an Intel Mini and I am going to buy a MacBook for travelling. Is there any reason why I could not just copy my Mini onto the MacBooks drive? Would it still be possible to use them together on a local network, given that their names etc would be identical?
    Cheers!
    Inte Mini, Core 2 Duo 2.16, 7200 HD   Mac OS X (10.4.8)  

    Copying the whole drive is a bit like sandblasting a cracker. Obliterating the macbook harddrive like that will take ages, and presumably copying data back would involve copying the macbook back to the mac mini? This would mean that you could never use them at the same time because you would have you manually fudge the changes. Sounds like a recipe for disaster to me. So, no technical reason it can't be done, but lots of practical ones.
    A much better way would be to get some synchronisation software (Deja Vu, Chronosync, rsyncX, or whatever) and have a 'shared' section on each drive that you can sync back and forth. Another option (and one I have implemented) is to use a Subversion repository. Check out the repository to the mini and the macbook, and you can easily resolve conflicts and take it on the move.

  • Using the new AppleTV, I cannot seem to find the same TV shows on the iTune Store as the older AppleTV. The selection is far more limited. For example, Modern Family is not available ... Any reason why?

    I recently upgraded from an older AppleTV to the new AppleTV. The TV Shows I can access through the new AppleTV are far fewer than before. For example, I cannot find Modern Family on the iTune Store, whereas I used to be able to find it on my older AppleTV. Any reason why the selection is more limited?

    I just found out the answer to my own post by browsing through other discussions. Looks like the new AppleTV only provides access to rental TV shows. Can't purchase anything ... So, the selection is far more limited. It's a drag, but at least the mystery is solved...

  • I just got my Iphone 5 (32g) and half of my Album covers dont show up on my iphone. Any reason why?

    I just got my Iphone 5 (32g) and half of my Album covers dont show up on my iphone. Any reason why?

    http://support.apple.com/kb/ts3694#error1603
    Error 1603
    Follow the steps listed above for Error 1604. Also, discard the .ipsw file, open iTunes and attempt to download the update again. See the steps under Advanced Steps > Rename, move, or delete the iOS software file (.ipsw) below for file locations. If you do not want to remove the IPSW in the original user, try restoring in a new administrator user. If the issue remains, Eliminate third-party security software conflicts.

  • Any reason why I should use Safari on my PC

    I use Mozilla now. I now have an Iphone. Is there any reason why I should download and use Safari on my PC? I expect the functions will be different from IE or Mozilla or maybe better, but is it a good idea to download and use since I have an Iphone?

    It's pretty irrelevant, unless you really want to sync bookmarks from your computer to your iPhone (you could do that with IE as well, but not Firefox).

  • Macbook air Wi Fi and sound stops every time it goes to sleep. i have to  restart it every time to use wifi and sounds. this started happening just after the latest upgrade to X. any reasons why its doing that and how to fix it.

    Macbook air Wi Fi and sound stops every time it goes to sleep. i have to  restart it every time to use wifi and sounds. this started happening just after the latest upgrade to OS X. any reasons why its doing that and how to fix it.

    Test after taking each of the following steps. Back up all data before making any changes.
    1. Make sure the network is on the preferred list by following these instructions. It's important to read the article carefully, as it's the starting point for any further efforts to solve the problem. If you skip any of the steps, the problem may not be solved.
    2. Follow the instructions in this support article under the heading "Symptom: The network connection drops unexpectedly."
    3. Make a note of all your settings for Wi-Fi in the Network preference pane, then delete the connection from the connection list and recreate it with the same settings. You do this by clicking the plus-sign icon below the connection list, and selecting Wi-Fi as the interface in the sheet that opens. Select Join other network from the Network Name menu, then select your network. Enter the password when prompted and save it in the keychain.
    4. From the Location menu at the top of the Network preference pane, select Edit Locations. A sheet will drop down. Click the plus-sign button to create a new location. Give it any name you want. In the new location, set up the Wi-Fi service with the same settings you used before. Click Apply and test.
    5. Launch the Keychain Access application. Search for and delete all AirPort network password items that refer to the network. Make a note of the password first.
    6. In some cases, the problem has been resolved by repairing permissions on the startup volume.
    7. Turn off Bluetooth and test.
    8. Reinstall OS X.

  • HT3702 My Master card card was rejected in the US store, it was issued in Jordan from Jordan Ahli Bank! However, it is accepted in the Jordanian store, any reason why? and what should i do to get to use the US store for future purchases?

    My Master card card was rejected in the US store, it was issued in Jordan from Jordan Ahli Bank! However, it is accepted in the Jordanian store, any reason why? and what should i do to get to use the US store for future purchases?

    Because they are the terms of use of the stores - terms from the US store :
    The iTunes Service is available to you only in the United States, its territories, and possessions. You agree not to use or attempt to use the iTunes Service from outside these locations. Apple may use technologies to verify your compliance.
    And similar terms apply to all other country's iTunes stores. Part of the reason is licensing (Apple can only sell content where the providers have granted them licenses to sell it), amd part might be due country's laws (some country's have restrictions as to what can be sold within their country). If there is content that you want that is not currently in the Jordanian store then you can try requesting that it be added (but the content providers might not let Apple sell it there) : http://www.apple.com/feedback/itunes.html

  • Any reasons why the icons lists in iPhoto aren't showing colors

    It may sound weird... My fiance's laptop, my MacBook Pro and iMac iPhoto list (Library, faces, photos, folders, etc.)- their icons are grey. Not colors. That was during Snow Leopard. I just upgraded to Lion couple of days ago, and iPhoto list icons are still showing grey, not colors.
    Any reasons why? Any way I can fix this?

    Greetings Sherry,
    The icons in the iPhoto sidebar changed to their present grey state with the iPhoto 9.1.5 update.  It should look rather similar to the iTunes and Finder sidebar if you compare them.
    This is normal behavior (everyone's changed) so don't worry its not broken.  They all have a consistent color scheme now.
    Cheers.

  • Any reason why it keeps telling me that it doesn't recognize my 3-digit security code and I have put it in several times correctly?

    I have tried putting my security code in on multiple occasions correctly!! Any
    Reason why it keeps saying, it doesn't recognize it?? Help!! I am now unable to
    Purchase free or items that cost??

    Yes, this is the 3-digit code on the back of my Visa credit card!! I have tried all the suggestions that other customers have said to try!!
    Such as: making sure I put the right code or numbers in, going back to my account and editing the information in ITunes, and
    Re-entering the information!!! Are there anymore suggestions!!!???? Please, I need help!

  • Is there any reason why my computer won't recognize my iphone

    is there any reason why my computer won't recognize my iphone?

    Have a look here
    iPhone, iPad, or iPod touch not appearing in iTunes
    From Here
    http://www.apple.com/support/itunes/devices/

  • Just scratched code of my gift card try to enter it on my ipod and it says already been redeemed any reason why it would do this???

    just scratched my gift card code of and entered it in ipod and it says this code already been redeemed any reason why this would happen please?

    Here:
    iTunes Store: Invalid, inactive, or illegible codes
    or contact iTunes
    Apple - Support - iTunes - Contact Us

  • I received an email from apple, but in russian about iCloud any reason why?

    I recently received an email from apple, but written in russian about iCloud login any reason why?  I've occassionaly received emails written in russian. No idea.

    I was adding my osx mail to a new mac, and I logged into icloud in order to transfer contacts, etc.  The email appears legit, but in Russian.  Basically the email looks like a statement that i've logged on from a new device, but its written in cyrillic.  I just used google translate to understand it.  I deleted the message, and there was a link at the bottom, but obviously i didnt touch it.  Just strange and coincidental.  Not sure what to make of it.  It has happened before, but I always deleted them.

Maybe you are looking for

  • Is downloading endnote the only way to insert citations?

    I recently downloaded pages for school, since it was cheaper than buying microsoft for mac. However, I discovered that there didn't seem to be any way of inserting citations without a program called Endnote x2? That's a good $120. Is endnote the only

  • Using custom CSS style sheet

    I'm trying to use a custom CSS style sheet and can't get it to work. I've created my stylesheet and uploaded it so it shows under Shared Components >> Cascading Style Sheets. Viewing the source for my pages currently shows a reference to what I guess

  • Unpack Items in Handling Units

    Hi, Is there any function modules or BAPI that can be used to unpack items in Handling Units that have been assigned to Outbound Delivery. Most of the FMs like  BAPI_HU_UNPACK, HU_PACKING_AND_UNPACKING  supports only unassigned HUs. Standard Transact

  • Difference between 5.0 & 6.0(Interaction center webclient only)

    Hi All, Currently iam working on ICWC kindly anybody tell me the extra features in 6.0(ICWC) Thanks&Regards V.Sekhar

  • TS1702 trying to download mp3 get: Safari cannot download this file

    I am trying to download MP3  even tried AAC I receive error Safari cannot download this file..  I am clueless in how to do this thank you Linda