SQL*Loader-522: lfiopn failed for file

Posted on 2010-01-06
Medium Priority
Last Modified: 2016-09-11
There are no rows getting loaded through sqlloader.Please advise.
Below is the command.It used to run finr earlier but not working fine now.
runSqlLoader /home/work/abc.dat /home/work/test.ctl 0 0 "BINDSIZE=20000000 READSIZE=20000000 rows=200000"
/app/oracle/product/client/9.2.0/bin/sqlldr userid=123/xxxxx@db   data=/home/work/abc.dat control=/home/work/test.ctl bad=/tmp/test.ctl.bad
log=/tmp/test.ctl.log errors=0 BINDSIZE=20000000 READSIZE=20000000 rows=200000
SQL*Loader-522: lfiopn failed for file (/tmp/test.ctl.log)

SQL*Loader: Release - Production on Wed Jan 6 17:23:06 2010

Copyright (c) 1982, 2002, Oracle Corporation.  All rights reserved.
Question by:sunilbains
LVL 15

Accepted Solution

Franck Pachot earned 1500 total points
ID: 26195489
Check if you have the permissions to create /tmp/test.ctl.log
and if that filesystem is not full.

Author Closing Comment

ID: 31673768

Expert Comment

by:devi lakshmi
ID: 41793440
SQL*Loader: Release - Production on Sun Sep 11 10:03:40 2016

Copyright (c) 1982, 2005, Oracle.  All rights reserved.

SQL*Loader-522: lfiopn failed for file (emp2.log)
solution to this problem

Featured Post

Vote for the Most Valuable Expert

It’s time to recognize experts that go above and beyond with helpful solutions and engagement on site. Choose from the top experts in the Hall of Fame or on the right rail of your favorite topic page. Look for the blue “Nominate” button on their profile to vote.

Question has a verified solution.

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

Have you ever had to make fundamental changes to a table in Oracle, but haven't been able to get any downtime?  I'm talking things like: * Dropping columns * Shrinking allocated space * Removing chained blocks and restoring the PCTFREE * Re-or…
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…
This video shows, step by step, how to configure Oracle Heterogeneous Services via the Generic Gateway Agent in order to make a connection from an Oracle session and access a remote SQL Server database table.
Via a live example, show how to take different types of Oracle backups using RMAN.
Suggested Courses
Course of the Month16 days, 11 hours left to enroll

862 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