Solved

Oracle Scheduler Job Credentials (Oracle version 11)

Posted on 2013-05-13
6
967 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 34

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.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
null value 15 70
alter database link to change the password 2 31
dates - loop 12 42
Oracle - Create Procedure with Paramater 16 32
Article by: Swadhin
From the Oracle SQL Reference (http://download.oracle.com/docs/cd/B19306_01/server.102/b14200/queries006.htm) we are told that a join is a query that combines rows from two or more tables, views, or materialized views. This article provides a glimps…
Checking the Alert Log in AWS RDS Oracle can be a pain through their user interface.  I made a script to download the Alert Log, look for errors, and email me the trace files.  In this article I'll describe what I did and share my script.
This video shows how to copy a database user from one database to another user DBMS_METADATA.  It also shows how to copy a user's permissions and discusses password hash differences between Oracle 10g and 11g.
Via a live example, show how to restore a database from backup after a simulated disk failure using RMAN.

743 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now