Solved

Oracle Scheduler Job Credentials (Oracle version 11)

Posted on 2013-05-13
6
998 Views
Last Modified: 2013-05-28
Hi Experts

I have created a scheduler job in Oracle, the Job executes a windows batch file. Im using local credentials. The O/S im using is Windows 2008 server.

When creating the credentials on SQL scheduler, I cant see where I need to enter the Windows AD account credentials - is the batch file executed with the Windows service account OracleJobSchedulerXE details?, or is the Windows credentials defined in the scheduler credentials? I cant see where the database credentials are stored  / Windows credentials are stored against an oracle scheduler job!
0
Comment
Question by:MrDavidThorn
  • 4
6 Comments
 
LVL 76

Expert Comment

by:slightwv (䄆 Netminder)
ID: 39161116
0
 
LVL 35

Expert Comment

by:Mark Geerlings
ID: 39161549
Which tool are you using to create the schedule?  Are you doing this in the database using the supplied package: DBMS_SCHEDULER?  Or, are you doing this in OEM (Oracle Enterprise Manager)?  Or, are you using a different tool/utility to enter this schedule?
0
 

Author Comment

by:MrDavidThorn
ID: 39161717
I dont know a lot about Oracle, but im using Oracle SQL developer and managing my connections from there.

I have created a credentials log in (With windows authentication details) but still having problems, I can add a "Program" object and the scheduler works - but if I point the scheduler at a batch file or script, it fails to load.
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:MrDavidThorn
ID: 39161963
I keep getting a 27370 error

"EXTERNAL_LOG_ID="job_71081_154589",
ORA-27370: job slave failed to launch a job of type EXECUTABLE
ORA-27300: OS system dependent operation:accessing login executable failed with status: 2
ORA-27301: OS failure message: The system cannot find the file specified.
ORA-27302: failure occurred at: sjsecl 1
ORA-27303: additional information: The system cannot find the file specified.
"

My job action  is "C:\Windows\System32\cmd.exe"

I have no parameters mapping to a bat file (I could add them but figgured  - just to get a sucess on the cmd.exe would be a good start)
0
 

Accepted Solution

by:
MrDavidThorn earned 0 total points
ID: 39161998
0
 

Author Closing Comment

by:MrDavidThorn
ID: 39200642
Found external URL guide to anwer my question
0

Featured Post

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

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

Suggested Solutions

Note: this article covers simple compression. Oracle introduced in version 11g release 2 a new feature called Advanced Compression which is not covered here. General principle of Oracle compression Oracle compression is a way of reducing the d…
Cursors in Oracle: A cursor is used to process individual rows returned by database system for a query. In oracle every SQL statement executed by the oracle server has a private area. This area contains information about the SQL statement and the…
Via a live example, show how to take different types of Oracle backups using RMAN.
This video shows how to configure and send email from and Oracle database using both UTL_SMTP and UTL_MAIL, as well as comparing UTL_SMTP to a manual SMTP conversation with a mail server.

785 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