Job Scheduing [message #629068] |
Wed, 03 December 2014 01:33 |
|
Mayuresh Kumar
Messages: 7 Registered: December 2014 Location: India
|
Junior Member |
|
|
Hello Everyone,
I am trying to call an executable through a scheduled job. However, when I run the job, I get the following errors:
i.) ORA-27370: job slave failed to launch a job of type EXECUTABLE
ii.) ORA-27300: OS system dependent operation:accessing execution agent failed with status: 2
iii.) ORA-27301: OS failure message: The system cannot find the file specified.
I was trying to call the notepad from the job and I am pretty sure that the path is correct.
This seems to be some OS Level permissions issues. Any help on this will be warmly welcomed.
Regards
Mayuresh Kumar
|
|
|
|
|
|
|
|
Re: Job Scheduing [message #629077 is a reply to message #629073] |
Wed, 03 December 2014 02:37 |
John Watson
Messages: 8931 Registered: January 2010 Location: Global Village
|
Senior Member |
|
|
You have not used the [code] tags to format your code, as I asked you to. Please do so next time.
However, your method is wrong. You can't call a program that needs user inut. Think it through: on what device do you want the window appear? Your client machine, I suppose. How can a server process open a window there? What is the Scheduler supposed to do while you are working in the notepad?
|
|
|
Re: Job Scheduing [message #629079 is a reply to message #629077] |
Wed, 03 December 2014 02:46 |
ThomasG
Messages: 3211 Registered: April 2005 Location: Heilbronn, Germany
|
Senior Member |
|
|
Also: Has anybody actually ever managed to open "Notepad" on the DB Server?
I actually ran into a phenomenon with an old cobbled together (Non-Oracle) application that Windows Services (and Oracle runs as a Window Service) can interact with the network OR the desktop, not with both at the same time. That was made impossible by Microsoft as a consequence of the Shatter Attack
So basically, a service shouldn't be able to open notepad at all.
|
|
|
|
|
|
|
|
|
|
|
Re: Job Scheduing [message #629097 is a reply to message #629091] |
Wed, 03 December 2014 04:07 |
ThomasG
Messages: 3211 Registered: April 2005 Location: Heilbronn, Germany
|
Senior Member |
|
|
I now remember more clearly: Once the "Allow the service to interact with the desktop" was checked in the service configuration (it was a Windows 2008 server in a domain) that service could no longer interact with the network in my case, and when it was unchecked it could interact with the network again, but no longer with the desktop.
|
|
|