Sql@loader-704  and ORA-12154: error messages when trying to load data with SQL Loader

I have a data base with two tables that is used by Apex 4.2. One table has 800,000 records . The other has 7 million records
The client recently upgraded from Apex 3.2 to Apex 4.2 . We exported/imported the data to the new location with no problems
The source of the data is an old mainframe system; I needed to make changes to the source data and then load the tables.
The first time I loaded the data i did it from a command line with SQL loader
Now when I try to load the data I get this message:
sql@loader-704 Internal error: ulconnect OCISERVERATTACH
ORA-12154: tns:could not resolve the connect identifier specified
I've searched for postings on these error message and they all seem to say that SQL Ldr can't find my TNSNAMES file.
I am able to  connect and load data with SQL Developer; so SQL developer is able to find the TNSNAMES file
However SQL Developer will not let me load a file this big
I have also tried to load the file within Apex  (SQL Workshop/ Utilities) but again, the file is too big.
So it seems like SQL Loader is the only option
I did find one post online that said to set an environment variable with the path to the TNSNAMES file, but that didn't work..
Not sure what else to try or where to look
thanks

Hi,
You must have more than one tnsnames file or multiple installations of oracle. What i suggest you do (as I'm sure will be mentioned in ed's link that you were already pointed at) is the following (* i assume you are on windows?)
open a command prompt
set TNS_ADMIN=PATH_TO_DIRECTOT_THAT_CONTAINS_CORRECT_TNSNAMES_FILE (i.e. something like set TNS_ADMIN=c:\oracle\network\admin)
This will tell oracle use the config files you find here and no others
then try sqlldr user/pass@db (in the same dos window)
see if that connects and let us know.
Cheers,
Harry
http://dbaharrison.blogspot.com

Similar Messages

  • I am continually getting this error message when trying to up-date software for: iTunes and iPhoto:The operation couldn't be completed. (NSURLErrorDomain error -1012.)

    I am continually an error message when trying to up-date iPhoto and iTunes. Does anyone have any suggestions, please?

    Hello Linc. These are the logs to the last attempts at up-dating iTunes.
    Sep  8 18:10:59 iMac.local Software Update[1722]: SoftwareUpdate: Scan for client pid 1722 (/Applications/App Store.app/Contents/MacOS/App Store)
    Sep  8 18:11:02 iMac.local Software Update[1722]: Failed Software Update - Refusing invalid certificate from host: swscan.apple.com
    Sep  8 18:11:04 --- last message repeated 1 time ---
    Sep  8 18:11:04 iMac.local Software Update[1722]: SoftwareUpdate: Error encountered in scan: Error Domain=NSURLErrorDomain Code=-1012 "The operation couldn’t be completed. (NSURLErrorDomain error -1012.)" UserInfo=0x7fd9a8cfae70 {NSErrorFailingURLKey=https://swscan.apple.com/content/catalogs/others/index-mountainlion-lion-snowleo pard-leopard.merged-1.sucatalog, NSErrorFailingURLStringKey=https://swscan.apple.com/content/catalogs/others/index-mountainlion-lion-snowleo pard-leopard.merged-1.sucatalog}
    Sep  8 18:11:04 iMac.local Software Update[1722]: SUAppStoreUpdateController: scan (f=0, c=1, p=1, r=1) got error The operation couldn’t be completed. (NSURLErrorDomain error -1012.)
    Sep  8 18:11:17 iMac.local Software Update[1722]: SUAppStoreUpdateController: proceed with scan based on intervening install (including Unity Web Player at 2013-07-23 17:32:38 +0000) (last scan: 2013-03-11 16:00:20 +0000)
    Sep  8 18:11:17 iMac.local Software Update[1722]: SoftwareUpdate: Scan for client pid 1722 (/Applications/App Store.app/Contents/MacOS/App Store)
    Sep  8 18:11:19 iMac.local Software Update[1722]: Failed Software Update - Refusing invalid certificate from host: swscan.apple.com
    Sep  8 18:11:22 --- last message repeated 1 time ---
    Sep  8 18:11:22 iMac.local Software Update[1722]: SoftwareUpdate: Error encountered in scan: Error Domain=NSURLErrorDomain Code=-1012 "The operation couldn’t be completed. (NSURLErrorDomain error -1012.)" UserInfo=0x7fd9a98c2090 {NSErrorFailingURLKey=https://swscan.apple.com/content/catalogs/others/index-mountainlion-lion-snowleo pard-leopard.merged-1.sucatalog, NSErrorFailingURLStringKey=https://swscan.apple.com/content/catalogs/others/index-mountainlion-lion-snowleo pard-leopard.merged-1.sucatalog}
    Sep  8 18:11:22 iMac.local Software Update[1722]: SUAppStoreUpdateController: scan (f=0, c=1, p=1, r=1) got error The operation couldn’t be completed. (NSURLErrorDomain error -1012.)
    Sep  8 18:11:39 iMac.local installd[1728]: installd: Exiting.
    Sep  8 18:14:15 iMac.local Software Update[1751]: SUAppStoreUpdateController: found in cache: <none>
    Sep  8 18:14:16 iMac.local installd[1757]: installd: Starting
    Sep  8 18:14:16 iMac.local installd[1757]: installd: uid=0, euid=0
    Sep  8 18:14:16 iMac.local Software Update[1751]: SUAppStoreUpdateController: proceed with scan based on intervening install (including Unity Web Player at 2013-07-23 17:32:38 +0000) (last scan: 2013-03-11 16:00:20 +0000)
    Sep  8 18:14:16 iMac.local Software Update[1751]: SoftwareUpdate: Scan for client pid 1751 (/Applications/App Store.app/Contents/MacOS/App Store)
    Sep  8 18:14:19 iMac.local Software Update[1751]: Failed Software Update - Refusing invalid certificate from host: swscan.apple.com
    Sep  8 18:14:21 --- last message repeated 1 time ---
    Sep  8 18:14:21 iMac.local Software Update[1751]: SoftwareUpdate: Error encountered in scan: Error Domain=NSURLErrorDomain Code=-1012 "The operation couldn’t be completed. (NSURLErrorDomain error -1012.)" UserInfo=0x7f9391840bf0 {NSErrorFailingURLKey=https://swscan.apple.com/content/catalogs/others/index-mountainlion-lion-snowleo pard-leopard.merged-1.sucatalog, NSErrorFailingURLStringKey=https://swscan.apple.com/content/catalogs/others/index-mountainlion-lion-snowleo pard-leopard.merged-1.sucatalog}
    Sep  8 18:14:22 iMac.local Software Update[1751]: SUAppStoreUpdateController: scan (f=0, c=1, p=1, r=1) got error The operation couldn’t be completed. (NSURLErrorDomain error -1012.)
    Sep  8 18:14:22 iMac.local Software Update[1751]: SUAppStoreUpdateController: proceed with scan based on intervening install (including Unity Web Player at 2013-07-23 17:32:38 +0000) (last scan: 2013-03-11 16:00:20 +0000)
    Sep  8 18:14:22 iMac.local Software Update[1751]: SoftwareUpdate: Scan for client pid 1751 (/Applications/App Store.app/Contents/MacOS/App Store)
    Sep  8 18:14:25 iMac.local Software Update[1751]: Failed Software Update - Refusing invalid certificate from host: swscan.apple.com
    Sep  8 18:14:27 --- last message repeated 1 time ---
    Sep  8 18:14:27 iMac.local Software Update[1751]: SoftwareUpdate: Error encountered in scan: Error Domain=NSURLErrorDomain Code=-1012 "The operation couldn’t be completed. (NSURLErrorDomain error -1012.)" UserInfo=0x7f93904b5c00 {NSErrorFailingURLKey=https://swscan.apple.com/content/catalogs/others/index-mountainlion-lion-snowleo pard-leopard.merged-1.sucatalog, NSErrorFailingURLStringKey=https://swscan.apple.com/content/catalogs/others/index-mountainlion-lion-snowleo pard-leopard.merged-1.sucatalog}
    Sep  8 18:14:27 iMac.local Software Update[1751]: SUAppStoreUpdateController: scan (f=0, c=1, p=1, r=1) got error The operation couldn’t be completed. (NSURLErrorDomain error -1012.)
    Sep  8 18:14:36 iMac.local Software Update[1751]: SUAppStoreUpdateController: proceed with scan based on intervening install (including Unity Web Player at 2013-07-23 17:32:38 +0000) (last scan: 2013-03-11 16:00:20 +0000)
    Sep  8 18:14:36 iMac.local Software Update[1751]: SoftwareUpdate: Scan for client pid 1751 (/Applications/App Store.app/Contents/MacOS/App Store)
    Sep  8 18:14:38 iMac.local Software Update[1751]: Failed Software Update - Refusing invalid certificate from host: swscan.apple.com
    Sep  8 18:14:41 --- last message repeated 1 time ---
    Sep  8 18:14:41 iMac.local Software Update[1751]: SoftwareUpdate: Error encountered in scan: Error Domain=NSURLErrorDomain Code=-1012 "The operation couldn’t be completed. (NSURLErrorDomain error -1012.)" UserInfo=0x7f93904b7340 {NSErrorFailingURLKey=https://swscan.apple.com/content/catalogs/others/index-mountainlion-lion-snowleo pard-leopard.merged-1.sucatalog, NSErrorFailingURLStringKey=https://swscan.apple.com/content/catalogs/others/index-mountainlion-lion-snowleo pard-leopard.merged-1.sucatalog}
    Sep  8 18:14:41 iMac.local Software Update[1751]: SUAppStoreUpdateController: scan (f=0, c=1, p=1, r=1) got error The operation couldn’t be completed. (NSURLErrorDomain error -1012.)
    Many thanks.
    Cropper100.

  • "do not have enough access privilege" error message when trying to synch iPhone with iTunes

    Primary computer crashed and got this error message when trying to synch my iPhone to iTunes with another computer I have on my Home Share.

    Same problem with my iphone too
    is ur problem resolved?

  • I have Mac OSX 10.5.8 and get java "error" message when trying to use research tool on Morningstar Java referred me to Apple but they had no update.Any ideas? thanks.e

    I have a imac OSX 10.5.8 and get a java "error" message when trying to use a research tool on Morningstar.Java referred me to Apple but they had no updates. Any ideas? thanks.

    Well I solved my problem.
    What still doesn't make sense though is that dragging iTune audio files directly on to the iTunes application icon gave me the error message... which is why I originally discounted it as being a potential link problem. If I had been able to get files to open normally (i.e. without an error message) I would have known it was a simple link problem. Strange.
    Anyway... relinking my folder of audio files did the trick.
    If you don't already know how here are the steps...
    iTunes > Preferences > Advanced > click on the "Change" button and browse to the folder that contains all of your iTunes audio files... that's it.

  • My iphone 4 gsm stuck in recovery loop and I get error message when trying to recover thru itunes, error message 1602. help!!!!

    I removed the battery in my att iphone 4 (gsm) osi 6.2? when i turned phone on i got pug into itunes screen. I did that and it said phone detected in  recovery mode click update recover butten so i did. everything started liek t was working, i tunes showes verifing with apple but never make it past that point. itunes gives error message 1602. tried fixes, got error 22 tried fixes got error 11, tried fixesand got error message 1602. i then got advice from friend who wrks with iphones. told me get inrecovery, turn off. take out battery for  min at least and put back together nad then try. i could not turn it on so plugged into wll charger and screen showed osi 6 and slide bar. slid bar and asked for my pw. put in and low and behold icon on screen telling me to plug into itunes. Did that and got error messge 1602 again and itunes neer went past verifing with apple.

    Error 1600, 1601, 1602
    Follow the steps listed above for Error 1604. This error may also be resolved by disabling, deactivating, or uninstalling third-party security, antivirus, and firewall software. See steps in this article for details on troubleshooting security software.
    Error 1604
    This error is often related to USB timing. Try changing USB ports, using a different dock connector to USB cable, and other available USB troubleshooting steps (troubleshooting USB connections. If you are using a dock, bypass it and connect directly to the white Apple USB dock connector cable. If the issue persists on a known-good computer, the device may need service.
    If the issue is not resolved by USB isolation troubleshooting, and another computer is not available, try these steps to resolve the issue:
    Connect the device to iTunes, confirm that the device is in Recovery Mode. If it's not in Recovery Mode, put it into Recovery Mode.
    Restore and wait for the error.
    When prompted, click OK.
    Close and reopen iTunes while the device remains connected.
    The device should now be recognized in Recovery Mode again.
    Try to restore again.
    If the steps above do not resolve the issue, try restoring using a known-good USB cable, computer, and network connection.

  • Why do I keep getting an error message when trying to share photos with facebook?

    In i photo there is a facebook button-and I keep getting an error message when I try to sign in and use it any ideas why?

    Kind of hard to answer without some details such as iPhoto version and OS version. Are you signed into your Facebook account?

  • Loaded the newest IOS and I get error message when trying to load I messaging and Facetime.

    I have an Ipad mini 2 and I downloaded the software update  IOS 8.1.3. Now when I try to use facetime and I-messaging it gives me an error message : (An error occurred during activation. Try again.)
    I have tried turning the applications on and off, I have turned off the I pad and restarted it. I made sure I was on the Wi-Fi. I even made sure the date and time zone were correct. None of these things have made any difference.
    Does anyone have a fix for this problem. Is there a way to reload the last IOS update? Any help would be appreciated.
    Peter

    Hey Peter Manring,
    It is my understanding that you are receiving an activation error when attempting to use FaceTime or iMessage. I have an article that should be able to help you address this issue, and it can be found below:
    If you get an error when trying to activate iMessage or FaceTime - Apple Support
    http://support.apple.com/en-us/HT201422
    Thanks for using the Apple Support Communities. Have a good one!
    -Braden

  • ORA-01078 error message when trying to start database

    Hi,
    I am trying to clone a production database to use it as a standby on a different server. When I try to startup the database I get the below error message. I tryied starting it up from EM, but got "ORA-01078: failure in processing system parameters" error message.
    SQL> startup nomount pfile='D:\oracle\admin\MYDB\pfile\initmydb.ora'
    LRM-00101: unknown parameter name 'db_cache_size'
    LRM-00101: unknown parameter name 'dispatchers'
    LRM-00101: unknown parameter name 'fast_start_mttr_target'
    LRM-00101: unknown parameter name 'pga_aggregate_target'
    LRM-00101: unknown parameter name 'undo_management'
    LRM-00101: unknown parameter name 'undo_retention'
    LRM-00101: unknown parameter name 'undo_tablespace'
    ORA-01078: failure in processing system parameters
    SQL>
    This is my "ini" file:
    *.aq_tm_processes=1
    *.background_dump_dest='d:\oracle\admin\mydb\bdump'
    *.compatible='9.2.0.0.0'
    *.control_files='d:\oracle\oradata\mydb\control01.ctl','d:\oracle\oradata\mydb\control02.ctl','d:\oracle\oradata\mydb\control03.ctl'
    *.core_dump_dest='d:\oracle\admin\mydb\cdump'
    *.db_block_size=8192
    *.db_cache_size=629145600
    *.db_domain='skmconsulting.com'
    *.db_file_multiblock_read_count=16
    *.db_name='mydb'
    *.dispatchers='(PROTOCOL=TCP)'
    *.fast_start_mttr_target=300
    *.hash_join_enabled=TRUE
    *.instance_name='mydb'
    *.java_pool_size=33554432
    *.job_queue_processes=10
    *.large_pool_size=8388608
    *.log_archive_format='arch_mydb_%t_%s.arc'
    *.log_archive_dest = D:\oracle\archive-logs\mydb
    *.log_archive_start=TRUE
    *.max_enabled_roles=148
    *.open_cursors=500
    *.optimizer_mode='rule'
    *.pga_aggregate_target=25165824
    *.processes=200
    *.query_rewrite_enabled='FALSE'
    *.remote_login_passwordfile='EXCLUSIVE'
    *.shared_pool_size=83886080
    *.sort_area_size=524288
    *.star_transformation_enabled='FALSE'
    *.timed_statistics=TRUE
    *.undo_management='AUTO'
    *.undo_retention=10800
    *.undo_tablespace='UNDOTBS1'
    *.user_dump_dest='d:\oracle\admin\mydb\udump'
    Any ideas?
    Thanks.

    Also tried this, and got the same error:
    oradim.exe -delete -sid mydb
    set ORACLE_HOME=D:\oracle\ora92
    oradim.exe -new -sid mydb -intpwd pw -startmode manual
    set oracle_sid=mydb
    sqlplus /nolog
    conn sys/pw as sysdba
    startup nomount pfile='D:\oracle\admin\MYDB\pfile\initmydb.ora'
    ORA-12538: TNS:no such protocol adapter

  • Photoshop CS6 and PS CC error message when trying to open file

    The following error occurs when I try to open a file from Bridge of Windows Explore:
    "The procedure entry point
    ?ProposeSearchBounds@StructuralImageEditing@@YA?AVBox@I@EA
    BV?$point2_J@gil@boost@@AEBV21@M@Z could not be located in
    the dynamic link library PatchMatch.dll"
    This started happening latge in the day recently and usually a reboot solved the problem
    but i am getting this every time I try open an image. What is the problerm and what are
    the solutions?
    Thank you john

    Just thought I would update. I reinstalled PS CS6 since I had the disk available and the error message did not come back. I then launched Bridge CC and I was able to launch from Bridge without the error message but the file opened in PS CS6 so I checked my file associations in Bridge CC and they were all set to CS6 (odd) but I changed the associations for jpeg and NEF to PS CC and I tried to launch the files. ERROR MESSAGE it is the same one as I noted in yesterdays message. Any suggestions?
    When I did the reinstall of CS6 it was right over the top of PS CS6. Should I do the same with CC? How do I do that? Just download from Creative Cloud Manager?
    Thanks
    John

  • Getting error message when trying to add apple id to facetime and imessage, getting error message when trying to add apple id to facetime and imessage

    When I try to add my Apple ID to Facetime or iMessage, I get an error message "username or password is incorrect " even though its the same username and password I use for everything else.
    anyone else getting this problem?

    The Order has got 5 lines. First 4 lines are product lines and the 5th line is a service.
    We have a customized form called mass order change which will bring only the product lines when we query a order. We usually do the mass update of shceduling date
    and promise date in that form for all the order lines or for some perticular lines in that order.
    For one order when i tried to update the scheduling date and promise date its showing this message. Not sure why??.. i have checked the form logic and the package which this form is using but all of them are calling the standard API process_order to change the sales order. I found out that This message is a standard Oracle message : OE_SCH_OVER_ATP_NO_SCH_ACT. I tried to find this message in process_order API but could'nt find this message. status of these 4 lines are : Awaiting Shipping
    Thanks and Regards,
    Ragni Gupta
    Edited by: 921176 on Jan 21, 2013 5:17 AM

  • Error message when trying to connect to a SQL Server Database

    All:
    I get the following message when I try to connect to a SQL Server Database within a form:
    "Connection for Source DataConnection failed because the environment is not trusted"
    Can anyone help me solve this problem?
    Thanks,
    BR

    Hi Brian,
    In Acrobat, security concerns dictate that you cannot specify an ODBC connection string by using the Driver=; syntax. Therefore, the client computer using the form needs to have a DSN pre-configured for ODBC connections.
    Denver
    Adobe Enterprise Developer Support

  • Error message when trying to sign in with iTunes: ConnectionManager::invoke::failed to find service connection url.

    I recently signed out of itunes on my imac and when i tried to sign back in i get the error message: ConnectionManager::invoke::failed to find service connection url. If i try again i get another box asking if i've forgotten my password. But my password is definitely right as i just used to it make an account on this support page. Any simple ways of fixing this?

    Just to test the simple things first, did you try to sign in using another credential?
    If only yours fails, then is a RIM issue, otherwise is indeed your Playbook failure.
    --- Catalonia, next state in Europe ----
    Use the "solved" or "Like" icons if my answer helped you.
    BES10 administrator for several customers.
    "SMPTE Calculator" timecode APP developer for BB10

  • Error message when trying to create DMG with Disk Utility

    Have a highly confidential folder on my drive, so am driving to convert to a DMG file, with password protection. It gets nearly done with the DMG process then generates Error - 49168.
    Anyone know what means?
    1.I choose read-write as my access options
    2.Under encryption I choose the AES setting. It asks me to create a password and I create one (unchecking the "remember password option, of course")
    3. It seems to get through 95% of the process, then produces that error message.
    -- david in KC

    A little Googling suggests that Norton Anti-Virus can cause this problem by trying to scan the image as it's being created. The fix seems to be to turn off NAV while creating the image.
    If that doesn't work, I'd suggest rebooting from the system disk and having Disk Utility repair the disk, to make sure all is in good working order.

  • Why do I keep getting error message when trying to update iPad with ios7?

    Keep getting error message ios7 won't validate? Can I reset iPad and download again? Will I lose data on iPad if reset?

    NMAYO,
    In your project view can you right click on the chassis in the cRIO and make sure that it is set for Scan Mode and not FPGA mode? Also, In the measurement and automation explorer you can check the cRIO and verify that it has Scan Engine Support installed on it. The tutorial below shows how to reformat a cRIO and install software on it, the later steps on software will allow you to check your cRIO.
    Reformatting a CompactRIO Real-Time Embedded Controller
    Ben Sisney
    FlexRIO V&V Engineer
    National Instruments

  • Installed newest version of Itunes and get an error message when trying to launch

    downloaded and installed newest version of itunes twice, when i go to launch it says the following error messge "the ordinal 2551 could not be located in the dynamic link library CoreMedia.dll"

    Entry point errors can often be fixed by deleting the offending dll, then repairing the component it is part of. CoreMedia.dll is part of Apple Application Support.
    For general advice see Troubleshooting issues with iTunes for Windows updates.
    The steps in the second box are a guide to removing everything related to iTunes and then rebuilding it which is often a good starting point unless the symptoms indicate a more specific approach. Review the other boxes and the list of support documents further down the page in case one of them applies.
    The further information area has direct links to the current and recent builds in case you have problems downloading, need to revert to an older version or want to try the iTunes for Windows (64-bit - for older video cards) release as a workaround for performance issues or compatibility with third party software.
    Your library should be unaffected by these steps but there is backup and recovery advice elsewhere in the user tip.
    tt2

Maybe you are looking for