Executing OS Commands Fail with 512 Error when using Multi-threaded Extproc Agent
Last updated on JULY 05, 2017
Applies to:Oracle Net Services - Version: 10.2.0.5 to 184.108.40.206 - Release: 10.2 to 11.2
PL/SQL - Version: 10.2.0.5 to 220.127.116.11 [Release: 10.2 to 11.2]
Information in this document applies to any platform.
code 512 .
Starting MTA agent on the Unix server(telnet session) with the following command :
>agtctl startup extproc MTAagent_1
And everything was working fine up to some point.
Return code of 512 is intermittently returned when executing OS command, 'ls'.
After first occurrence the error occurs until Multi-threaded Extproc Agent is restarted.
In this case error seems to only reproduce for 'ls' command and might occur
with any OS command execution.
Also noticed that if instead of a simple "ls /etc/oratab", if
"ls /etc/oratab >> dummy.out" (redirect the output of the ls command), the error doesn't occur.
Everything is working correctly as long as the Unix session(telnet) that started the MTA agent is up and running.
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
Million Knowledge Articles and hundreds of Community platforms