Oracle Client and SqlPlus on Mac Os X Leopard Configuration Script

Hello,
I have just written 2 bash scripts for the installation and configuration of SqlPlus and the Oracle Client v10.2.
The first script MacSqlPlus.sh install the client set the environment variables, the second TNSconnectMac.sh help to configure the tnsnames.ora. They can be found here
http://www.danilovizzarro.it/script/MacSqlPlus.sh
http://www.danilovizzarro.it/script/TNSconnectMac.sh
In order to have them working it's required to download the oracle client basic lite and SqlPlus in the /var/root directory.
A step-by-step tutorial can be found here http://www.danilovizzarro.it/?p=10
Soon I will try to upload a demonstration video.
Your comments are always appreciated.
BR
DV

Doug,
It is possible that there could be data corruption, because this is not a tested, thus not supported, setup. I hope that helps!

Similar Messages

  • Oledb and path length - Oracle client and networking components ...

    Hello,
    I've been suddenly getting the
    "Oracle client and networking components were not found. These components are supplied by Oracle Corporation and are part of the Oracle Version 7.3.3 or later client software installation."
    error when trying to connect to an oracle 9.2 database using the msdaora oledb provider.
    "..ora92/bin" is in my PATH environoment variable and the hints about setting read and execute permissions on the ..ora92/bin direction didn't work for me. However, what did do the trick, was reducing the length the PATH environement variable to under 182 characters.
    Anybody else seen this that can explain what's gonig on here?
    Erik

    Hello Kamal,
    Thanks for your reply
    My system looks like this:
    OS: MS Windows XP Professional Service Pack 2
    msdaora version: 2.81.1117.0
    This problem has only recently surfaced, but has now appeared on at least two other systems as well as my own. Any system changes must have happened on all three systems. I have "automatic updates" setup on my computer and they maybe setup on the other computers - could the be responsible for breaking oledb?
    Other things I have tried:
    The Oracle Oledb provider is also not working. It gives me the error:
    "OraOLEDBpus.dll: the specified module could not be found"
    When I reduce the size of the PATH variable it works too.
    I am always able to run executables from the ../ora92/bin directory. So the path is only being wrongly interpreted by the Oledb providers.
    Erik

  • What is an Oracle Client and why is it needed

    Hi,
    I have an application that is using an Oracle database as data source. Application and database is located on two different servers. Now I will move application to a new server and to do this I need to install an Oracle client and install this on the new application server. From my understanding this Oracle client is needed to make it possible for the application server to communicate with the database server. I wonder if someone can tell me more about this Oracle client, functionality, role and why it is needed?
    I have been recommended to install the Oracle client 10g version. Where can I download this together with instructions of installation process?
    FYI - database used is Oracle 10g EE.

    Third-party products (and Oracle's own too) need certain Oracle DLLs in order to connect to the database. This set of files is called the Oracle client. You may also want to learn about tnsnames.ora because you need to edit it in order to use Oracle client to Oracle database.

  • Oracle client and networking components were not found.

    Hello, I've installed the oracle 9i Enterprise Edition, IIS, .NET framework 2.0 on a server, but when I want to open an aspx file i have this error:
    Server Error in '/kinepolis' Application.
    Oracle client and networking components were not found. These components are supplied by Oracle Corporation and are part of the Oracle Version 7.3.3 or later client software installation.
    Provider is unable to function until these components are installed.
    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
    Exception Details: System.Data.OleDb.OleDbException: Oracle client and networking components were not found. These components are supplied by Oracle Corporation and are part of the Oracle Version 7.3.3 or later client software installation.
    Provider is unable to function until these components are installed.
    Source Error:
    An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
    Stack Trace:
    [OleDbException (0x80004005): Oracle client and networking components were not found. These components are supplied by Oracle Corporation and are part of the Oracle Version 7.3.3 or later client software installation.
    Provider is unable to function until these components are installed.]
    System.Data.OleDb.OleDbConnectionInternal..ctor(OleDbConnectionString constr, OleDbConnection connection) +1054593
    System.Data.OleDb.OleDbConnectionFactory.CreateConnection(DbConnectionOptions options, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningObject) +53
    System.Data.ProviderBase.DbConnectionFactory.CreateNonPooledConnection(DbConnection owningConnection, DbConnectionPoolGroup poolGroup) +27
    System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection) +47
    System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory) +105
    System.Data.OleDb.OleDbConnection.Open() +37
    System.Data.Common.DbDataAdapter.FillInternal(DataSet dataset, DataTable[] datatables, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior) +121
    System.Data.Common.DbDataAdapter.Fill(DataSet dataSet, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior) +137
    System.Data.Common.DbDataAdapter.Fill(DataSet dataSet, String srcTable) +83
    System.Web.UI.WebControls.SqlDataSourceView.ExecuteSelect(DataSourceSelectArguments arguments) +1770
    System.Web.UI.DataSourceView.Select(DataSourceSelectArguments arguments, DataSourceViewSelectCallback callback) +17
    System.Web.UI.WebControls.DataBoundControl.PerformSelect() +149
    System.Web.UI.WebControls.BaseDataBoundControl.DataBind() +70
    System.Web.UI.WebControls.GridView.DataBind() +4
    System.Web.UI.WebControls.BaseDataBoundControl.EnsureDataBound() +82
    System.Web.UI.WebControls.CompositeDataBoundControl.CreateChildControls() +69
    System.Web.UI.Control.EnsureChildControls() +87
    System.Web.UI.Control.PreRenderRecursiveInternal() +41
    System.Web.UI.Control.PreRenderRecursiveInternal() +161
    System.Web.UI.Control.PreRenderRecursiveInternal() +161
    System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1360
    Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.42
    Do i really also need to install the client 6i on that server?
    Can somebody help me?
    thanks

    Hi Guys,
    I am wondering about this error as while I am using the same code to connect to the Oracle database server in my Windows program with Win Forms, the connection to the Oracle server is established and working fine.
    But when I have tried to use it with Web Forms for my ASP.NET Application, it throws me out with these exceptions :
    ?ex.Message
    "Oracle client and networking components were not found. These components are supplied by Oracle Corporation and are part of the Oracle Version 7.3.3 or later client software installation.
    Provider is unable to function until these components are installed."
    ?ex.StackTrace
    " at System.Data.OleDb.OleDbConnection.ProcessResults(Int32 hr)
    at System.Data.OleDb.OleDbConnection.InitializeProvider()
    at System.Data.OleDb.OleDbConnection.Open()
    at PMlitDocs_NET.checkMe.Button1_Click(Object sender, EventArgs e) in C:\Inetpub\wwwroot\PMlitDocs_NET\checkMe.aspx.vb:line 32"
    Can anyone help?
    Trush.

  • Oracle client and... Forms&reports client?

    Hello, to all; may be you could help me:
    I have installed a Oracle 9.2.0.6 database in PC-1, in PC2 I want to install the oracle client and the forms and report client... (I mean, PC2 is the PC where I will copy my Forms 6i client/server application and the idea is to put an direct access icon on the desktop to a .fmx... to be able run my application)
    I've already insalled the Oracle client, only runtime version (I think 9.2.0.1, which was included in the oracle database installation cd's) but .. I need one more thing.. because I can't execute forms.. I need ifrun60.exe I think.. Where is it? Is there any forms & reports 6i client or similar? or is necessary to install the developer 6i (I don't think so.. but...)
    Thank you very much
    Jose.

    I was reading lots of post and I've seen this two from 2001 related to Forms 5, I suposse they're applicable to Forms 6i?
    Forms Client Runtime : where are you ?
    Enviado: 27-sep-2001 15:34 Responder
    Which version can I install as a pure client version of Forms 6i on a light desktop ? Is there a Forms client runtime like there was with the versions 5.0 and earlier, which we could use just to run a Form, without using any web server, Forms werver, nor using the extra/inter/intra-net ?
    Thanx for your help !!
    Eric.
    re:Forms Client Runtime : where are you ?
    Enviado: 27-sep-2001 17:58 en respuesta a: eheede Responder
    Yes there is. Just choose Form/Report Server installation and choose customs. There you can choose Form or report runtime only (under Forms and Reports tree node) and click on install!
    Remember to choose customs install so that oracle installer bring you the list of the component.
    Do you agree? Could it be just begin the Forms&reports installation and after that.. Chosoe custom.. an choose to install runtimes?
    (I'll try tomorrow and I will say the result here) I hope it works!!
    Thanks

  • ZAV, Oracle client and applications

    Hi,
    I have a old client/server software that need a Oracle 9.2 client.
    As a test I have created a new snapshot, installed and configured Oracle client and the actual application on Windows XP, second snapshot, did a few changes and built the project.
    First I test this on the same build machine - working fine. Then I test the file on a clean Windows XP machine, working fine, started the same test on a clean Windows 7 machine - working fine.
    But when I test on a standard Windows 7 machine (with Oracle 10g client) it does not work.
    The big question is how to isolate Oracle 9 client from other Oracle client resides on the host machine, or have I isolated too much (I created a cmd link within the virtual application and when I try tnsping within the virtual machine I get time out error.
    Does anyone have any luck on virtualize Oracle 9 client and run it on machines with other Oracle clients on?
    Regards,
    Bjarte

    check:
    tnsnames.ora location
    sqlnet.ora location
    TNS_ADMIN environment variable
    oracle_home settings in registry

  • Difference between oracle client and oracle server?

    Hi,
    could any one please tell me the difference between these things?
    1.)oracle client and oracle server
    2.) installtion of oracle client and oracle server
    Thanks in advance.

    Take a look at the general client - server computing model, described e.g. in this wiki.
    edit:
    corrected bad link
    Message was edited by:
    orafad

  • Need to know the information between Oracle Client and Server

    Hi,
    I have recently installed Oracle 11g Rel 2 client (11.2.0.1) in Windows XP. Can you please tell me whether I can connect to Oracle 9i Server ( 9.2.0.6) using the client and successfully run any application based or not ?

    skaich wrote:
    Hi,
    I have recently installed Oracle 11g Rel 2 client (11.2.0.1) in Windows XP. Can you please tell me whether I can connect to Oracle 9i Server ( 9.2.0.6) using the client and successfully run any application based or not ?Theoretically, yes.
    The goal is that SQL*Net will be inter-operable within two major versions.

  • Installing Lion and formatting my Mac (with Snow Leopard)

    Hey everybody!
    I have a MacBook Pro with Snow Leopard.
    I want to install Lion from the App Store and format my Mac. How should I do it?
    Thanks!

    Aha!
    The proper way to "clean" a computer before selling it is to zero the hard drive. This will make all your data irretrievable.
    Steps for zeroing the drive Disk Utility:
    1. Insert your Mac OS X CD-ROM disc or Restore DVD disc, then restart the computer while holding the C key until you see the spinning gear.
    2. Once started up from CD or DVD, choose Disk Utility from the Installer menu.
    Important: Do not click Continue in the first screen of the Installer. If you do, you must restart from disc to access Disk Utility.
    3. Choose the entire disk (top icon).
    4. Choose erase tab.
    5. Click on Options
    6. Choose "write zeros".
    7. Erase
    This will take a bit of time because the computer is physically writing zeros to each block.
    You should then re-install the original OS from the system disks and deliver the Mac to the new owner with the system disks that shipped with it.
    If you want it to boot as new at startup, do the installation of OS X and follow the onscreen prompts until it asks you to enter a username and password to create your first account. Quit the installer and shut down the system. The next time the system is powered on it will display the same welcome message and be ready to setup OS X.
    Or you can delete the AppleSetupDone file.
    rm -rf /var/db/.AppleSetupDone

  • SP2-0750: You may need to set ORACLE_HOME with instant client and sqlplus

    On an hp-ux 32 ,,,
    - i downloaded instant client from here http://www.oracle.com/technology/software/tech/oci/instantclient/htdocs/hpsoft.html
    - installed and set my shlib_path to directory where I extracted it.
    - running sqlplus comes up with this ...
    Error 6 initializing SQL*Plus
    Message file sp1<lang>.msb not found
    SP2-0750: You may need to set ORACLE_HOME to your Oracle software directory.
    - what the heck am i missing here?
    Thank you.

    you can see from the 'tusc' ouput below that it is clearly trying to locate msb files. These files are not packaged with the instant client. So how it this supposed to ever work? These files are simply missing from the distribution.
    close(3) ............................................................................................................. = 0
    stat("/home/oracle/oraclnt/clnt/libclntsh.sl.10.1", 0x7f7e3070) ...................................................... = 0
    open("/home/oracle/oraclnt/clnt/libclntsh.sl.10.1", O_RDONLY, 02) .................................................... = 3
    fstat(3, 0x7f7e3138) ................................................................................................. = 0
    read(3, "0210010e0512@ \0C f7h 13\0\0\0\0".., 128) ................................................................... = 128
    lseek(3, 128, SEEK_SET) .............................................................................................. = 128
    read(3, "10\0\004\0\0\0( 01L W a4\0\010\0".., 48) .................................................................... = 48
    read(3, "80\0\0\v\0\0\004\0\0\0\0", 12) .............................................................................. = 12
    lseek(3, 4059136, SEEK_SET) .......................................................................................... = 4059136
    read(3, "058cy 10\0\0, \ \004: 8 \0\0\0\n".., 112) ................................................................... = 112
    mmap(NULL, 21782528, PROT_READ|PROT_EXEC, MAP_SHARED|MAP_SHLIB, 3, 0x3df000) ......................................... ERR#12 ENOMEM
    close(3) ............................................................................................................. = 0
    munmap(0xcc000000, 70111232) ......................................................................................... = 0
    munmap(0x7f684000, 4096) ............................................................................................. = 0
    open("./nls/data/lx1boot.nlb", O_RDONLY|O_LARGEFILE, 0) .............................................................. ERR#2 ENOENT
    open("./sqlplus/mesg/sp1us.msb", O_RDONLY|O_LARGEFILE, 0121430) ...................................................... ERR#20 ENOTDIR
    open("./sqlplus/mesg/sp1us.msb", O_RDONLY|O_LARGEFILE, 0121430) ...................................................... ERR#20 ENOTDIR
    Error 6 write(2, "E r r o r 6 ", 8) ...................................................................................... = 8
    iwrite(2, "i ", 1) .................................................................................................... = 1
    nitializwrite(2, "n i t i a l i z ", 8) ...................................................................................... = 8

  • Oracle Client NOT INSTANT on Mac OSX Tiger NOT X SERVER PPC

    Has anyone been able to install The Oracle Mac Client from on a g4 ppc. It has tiger and the latest updates ie java5 and gcc 4.
    I have seen many postings on installing Oracle 10g on Tiger ppc but not just the client. Does anyone have any experience with this. With some many developers going to macs, I would imagine someone has to.
    http://www.oracle.com/technology/software/products/database/oracle10g/htdocs/macsoft.html
    Thanks
    Steve

    i,
    It appears that in the past few days you have not received a response to your
    posting. That concerns us, and has triggered this automated reply.
    Has your problem been resolved? If not, you might try one of the following options:
    - Visit http://support.novell.com and search the knowledgebase and/or check all
    the other self support options and support programs available.
    - You could also try posting your message again. Make sure it is posted in the
    correct newsgroup. (http://forums.novell.com)
    Be sure to read the forum FAQ about what to expect in the way of responses:
    http://forums.novell.com/faq.php
    If this is a reply to a duplicate posting, please ignore and accept our apologies
    and rest assured we will issue a stern reprimand to our posting bot.
    Good luck!
    Your Novell Product Support Forums Team
    http://support.novell.com/forums/

  • Photoshop CS (1) and font problems (Mac OS X Leopard)

    A friend of mine has Photoshop CS (1) on his G5 (running on Leopard) and he says that he has font problems ONLY IN PHOTOSHOP. Bad fonts, missing fonts. Now, whether he uses a font management software or not is not important since that problem does not happen in other programs (like Illustrator). Are there issues between Photoshop CS and fonts.
    Thanks

    CS1 works on my friend's desktop which runs on Leopard but it doesn't seem to work on a Macbook which runs on Leopard. We've installed it and it's reported that installation is complete but upon opening the program, an error message states that certain files had not been installed and to reinstall the program to recover them. We've tried reinstalling multiple times but to no avail. Any explanation?

  • Oracle Client 64-bit and Oracle Client 32-bit on the same server

    Hi,
    I have a Windows 2008 server 64-bit with Oracle Client 64-bit and Oracle Client 32-bit installed on different directories (D:\Oracle and D:\Oracle32)
    Is it possible to define for certain applications to use the TNSNAMES entry from the 64-bit Oracle Client
    and for other applications to use the TNSNAMES entry from the 32-bit Oracle Client
    Once I installed the Oracle Client 32-bit (Oracle Client 64-bit version was already installed) and restarted the server I performed a TNSPING and it defaulted to the Oracle Client 32-bit installation path
    Thanks,
    Barry

    Hello,
    When you install a new client on a server, it will update the PATH variable, and add the ORACLE_HOME\bin path to it, at the first place. That explains why the tnsping use the last installed ORACLE_HOME.
    What you can do if you want only to change the default path to the tnsnames is to set the environment variable TNS_ADMIN to the path where the tnsnames you want to use is located. You can modify this variable in your application if you want to use another tnsnames.
    If you want switch from 32 bits to 64 bits client, then you have to modify the PATH variable.
    Hope this will help.
    Best regards,
    Sylvie

  • How to validate prerequisite for ODP and Oracle Client connection

    Hi.
    I have a very simple application on .Net that connect to Oracle using ODP (was compiled with Oracle.DataAccess dll 10.2).
    I want to check "connection prerequisite" (application will be able to connect to DB) before installing this aplication on other computers?
    How can I check that ODP.NET version 10.2 or higher is installed on target host (registry check is not enopugh)?
    I know that I can check ODP entries in registry - but this will not check Oracle Client and compatibility between client and ODP.
    Also, if ODP was installed by ODAC XCopy installation - registry may be not updated by new ODP entry.
    And - if I am installing on the computer, DB was installed on, Oracle Client can be not installed separately.
    And one more issue: When I tried to run "test connection" method from installation, that use referenced dll on machine, that has only ODAC (with ODP) 11, - "Oracle.DataAccess.Client.OracleException The provider is not compatible with the version of Oracle client at Oracle.DataAccess.Client.OracleInit.Initialize()
    at Oracle.DataAccess.Client.OracleConnection..cctor()" error message was thrown (policies for both ODAC 10.2 and 11 are exists in GAC (assembly), pointing to Oracle.DataAccess 11 from ODP 2x bin).
    So, How and which components can I check to ensure appropriate versions of ODP and Oracle Client were installed and application will be connected?
    Thank you in advance!

    Hi,
    You could check for the presense of Oracle.DataAccess.dll in the GAC. Bear in mind you'd also want to check the version and whether a policy files exists as well as a newer version + policy file will work too (but not without the policy file).
    That wouldn't confirm the install is valid and works though, and I don't know of a way you could easily check that, apart from perhaps simply trying to run a small exe that attempts a connection to the database.
    With respect to the type initializer exception, that occurs when ODP cant find the right oraops*.dll or oci.dll, usually due to the wrong one being found, but can also occur if one is not found at all. Quite often this is due to the application including ODP in its bin directory rather than letting ODP get picked up out of the gac. Prior to 10.2.0.2.20, ODP loads the dependencies based in PATH so multiple homes can cause it as well. 10.2.0.2.20 and higher ODP loads dll's based on DLLPATH registry entry.
    Hope it helps,
    Greg

  • Install and Configure Oracle client in Fedora core 3

    Hi guys
    I am raghu ,
    I need a help regarding Oracle client installation in Fedora core 3
    can any one guide where to get oracle client and installation steps
    Thanks
    Raghu

    Hello.
    You could use paper for installation of 9i or 10g database because client is one of options of installer.
    http://ivan.kartik.sk/oracle/install_ora9_fedora.html
    http://ivan.kartik.sk/oracle/install_ora10gR2_fedora.html
    http://www.oracle.com/technology/tech/linux/install/index.html
    You could also install only instant client (so you don't need download all 3 CDs of Oracle database) and set appropriate enviroment.
    You could obtain it from:
    http://www.oracle.com/technology/tech/oci/instantclient/instantclient.html

Maybe you are looking for

  • Store the result of the column in variable in answer

    Hi All, Is there a way to store the value of the result of the column of the report and use that value in calculation in another report. I need to get the grandtotal value which changed according to the prompt and want to use that grand total value t

  • Why won't my Itunes connect to store?

    i had this problem recently when i had OS X tiger, then i upgraded to Snow leopard today, and it still won't let me. Only difference, is now it says " We could not complete your itunes request...an unknown error occurred (-9807)

  • How to repair my iPhone 4s shell

    i want to repir mt iphone 4s shell, because of some accident. my iphone 4s is still in warranty. how much should I pay?

  • Can't see text in blank document

    I am new to macs and am having trouble using Pages '08. Whenever I try to write in a blank document I do not see a cursor. If I write click type appears highlighted in pink, but when I try to type over it, the text disappears. Can anyone tell me what

  • How can I get Messages to automatically send iMessage?

    My messages is setup through Apple ID, no cell number. I try to send a message, to another person that is also set up with email, but it won't send through iMessage. What do I do to send an iMessage?