UTL_FILE errors are one of those mysterious failures which are quite hard to pin down what is wrong. Recently we had a process failing intermittently on a cluster database. The process was running successfully on some days but failing on some days. It was quite a challenge to find out the reason behind the failure.
Error -
ORA-29283: invalid file operation
ORA-06512: at "SYS.UTL_FILE", line 536
ORA-29283: invalid file operation
Below are some of the analysis performed -
1. Checks were performed to check the permissions on the target area.
2. The target area is defined in dba_directories (The target area in this case was ZFS mounted on EBS/DB server side)
3. The code is referring to the correct directory and this is case sensitive
4. The oracle account has access to the target area.
After spending quite some time the DBA has identified that the target area was not mounted on one of the DB nodes.(Note the EBS program runs on the DB server. That was the reason the job was being successful at times.
So in summary we need to check the target area is accessible from all the servers if EBS is running on cluster environment.
Subscribe to:
Posts (Atom)
Integrations Lead - Lessons learnt
Integrations have been my passion for a while but like anything tech there is no credit given when things go right but always heaps of pres...
-
For most outbound interfaces bursting to content server and then picking the file from UCM is the best approach for large extracts. Default...
-
While developing Cloud integrations I could not find a single place for all details like InterfaceID or jobdefinitionname or job name etc. ...
-
You can use valueset(Ex-ORG_LEVEL1) to use the query table functionality in Fast Formulas. Below is sample how you pass parameters(P_ORG_ID)...