Solved

Oracle Scheduler Job Credentials (Oracle version 11)

Posted on 2013-05-13
6
1,010 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

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.

Question has a verified solution.

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

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…
Using SQL Scripts we can save all the SQL queries as files that we use very frequently on our database later point of time. This is one of the feature present under SQL Workshop in Oracle Application Express.
This video explains at a high level with the mandatory Oracle Memory processes are as well as touching on some of the more common optional ones.
This video shows syntax for various backup options while discussing how the different basic backup types work.  It explains how to take full backups, incremental level 0 backups, incremental level 1 backups in both differential and cumulative mode a…

808 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