Connect to oracle 10g db using shell linux files

Hello

I need to connect to oracle 10g db using shell linux files. Already I have username, password, hoststring and details is SCOTT/TIGER@TESTDB.
I need to pass the values of this 3 (SCOTT/TIGER@TESTDB) at runtime only (i.e.) as PARAMETERS. Suppose that I'll give the wrong password or username, I need to capture this error in 1file and send the error details to our dba teams mail identification. Identification of email as [email protected] if its success, I have need to write the 'success' message in 1 file and no need to send a mail to the group.

Can U please help to solve this problem.

Thanks and greetings
Sivaraman.

double post: Re: connect oracle using shell with the error log

Please do not cross post.

Tags: Database

Similar Questions

  • connection to oracle 10g to mysql 5.1 PLZ HELP!

    Hi all

    I have to connect to mysql 5.1 Oracle 10g, I did some research and have come to know that I have to install DG4ODBC.

    Its around 500 zip file and I can not download it now. I want to know if there is any other way I can connect to other than DG4ODBC mysql.

    appreciate your help,

    concerning

    Published by: user10243788 on April 18, 2010 02:40

    You must use DG4ODBC to connect to a MySQL database. If you have already installed Oracle 11 database, dg4odbc is usually included in the Oracle_Home.

    For a MySQl ODBC driver, see the web site of MySQL Web developers and search for connectors:
    http://dev.MySQL.com/downloads/connector/

  • Connection to Oracle 10g

    I have a Web server with Oracle 8 customers and 10g installed.
    I installed the administrator of the ODBC DSN to a 10g database, and a db 8 and they both test successfully.
    However, when I try to configure the Data Sources in the CF Administrator I get the following error for the 10g data source...

    < h > connection verification failed for data source: waredev
    java.sql.SQLException: [Macromedia] [SequeLink JDBC Driver] [ODBC Socket] specified driver could not be loaded due to the error 127 (Oracle in OraClient10g) system.
    The root cause was that: java.sql.SQLException: [Macromedia] [SequeLink JDBC Driver] [ODBC Socket] specified driver could not be loaded due to the error 127 (Oracle in OraClient10g) system. < HR >

    The db 10 g doesn't exist that I can connect using the oracle8 odbc, but have been told by the DBA I should use the odbc of 10 g.
    I even tried to install Oracle 10 g client administrator version to make sure that I had all the required client files.

    Everyone knows about a problem like this?

    Hi Martin,

    You may need to update your DataDirect driver. See this technote:

    Updated DataDirect JDBC drivers (version 3.5)
    http://www.Adobe.com/cfusion/knowledgebase/index.cfm?id=42dcb10a

    This driver has support for Oracle 10 g.

    HTH.

  • How to connect an Oracle database without using input TNS

    Hello

    I need to connect my pc Oracle database server without using the TNS entry. How to do this?

    Kind regards

    007

    [easy connection: CONNECT to username/password@[/]host[:port][service_name]

  • Oracle 10G Express Edition on Linux

    Hello

    I am trying to install this edition on Linux Mandriva. However, I get the message which I believe is trying to install Oracle on the root disk. Is it possible to load the installation package on the drive of the party that has 19 GB free space?

    Error message is,
    [root@mandriva-vm downloads] # rpm - ivh oracle-xe - 10.2.0.1 - 1.0.i386.rpm
    Preparing... ########################################### [100%]
    install the package oracle-xe - 10.2.0.1 - 1.0.i386 needs 397 MB on the / file system

    It comes to my records.
    [root@mandriva-vm downloads] # df h
    Size of filesystem used Avail use % mounted on
    / dev/sda1 G 4.1 3.9 G 9,5 M 100%.
    / dev/sda6 3.4 G 215 M 3.2 G 7% / Home
    / dev/sdb1 384M 19 G 20G 3% do you

    Hello

    I confirmed our Linux expert. It is not possible to change the path during the installation of package as its already defined in the RPM,.

    So only solution for you is the increase in size of the root directory.

    Concerning
    Rajesh

  • Oracle 8/discoverer 3.1 TNS to connect with Oracle 10g

    I installed 3.1 discoverer (which uses the language SQL 3 + version). I added the entry TNS server of Oracle 10 g.

    I need to connect to this server, and it gives me error of TNS.

    I tried to connect with SQL and TOAD, but the same error.

    Can anyone tell me the reason.

    Aqeel Nawaz

    The reason is probably that your client software is too old (and supported in the previous Millennium).
    Only 8.1.7.4 will work with 10 gr 2

    -------------------
    Sybrand Bakker
    Senior Oracle DBA

  • Oracle 10g database windows2003 Server Linux 4 transport

    Hello

    I have my oracle 10.2 conver. database of windows 2003 server using linux redhat 4 [http://www.hmi.de/it/zentral/db/doku/backup.102/b14191/dbxptrn002.htm#CHDCFFDI | http://www.hmi.de/it/zentral/db/doku/backup.102/b14191/dbxptrn002.htm#CHDCFFDI]
    which works very well.
    1.), but when I use DBCA do any operations on this database, it is not in the list of databases.

    2.) I want to work on using Oracle Enterprise Manager Database control how.

    any link

    Thank you
    Umesh

    >

    1.), but when I use DBCA do any operations on this database, it is not in the list of databases.

    Verify that the database is added in the/etc/oratab. If it is not added there, don't display it DBCA.

    2.) I want to work on using Oracle Enterprise Manager Database control how.

    For the configuration of the CBD, you can use the command of the emca and can do,

    export ORACLE_HOME=
    export ORACLE_SID=
    emca -config dbcontrol db -repos create
    

    Follow the questions asked by the command and you should be able to make the DBC.

    HTH
    Aman...

  • Unable to connect to oracle 10g on the local computer without internet

    Hello

    I installed Oracle 10 g and toad on my laptop. Whenever I restart my laptop my IP changes as the network is shared by other machines too. Whenever this happens, I get the error "ORA-12541: TNS:no listner. So, I have to change the IP in tnsnmaes.ora whenever I restart my laptop to connect to the oracle database. Is there no workaround solution so that it is not necessary to edit tnsnames.ora everytime I restart the laptop? How can I connect to the database even if I am not connected to the internet (i.e. not an IP address).

    Thank you.

    Your best bet is probably the loopback adapter, which gives you a fake fixed IP of Workaround DHCP.

    Edit: I should learn to read what is better. However, the loopback adapter may still work in your case.

    Published by: johnfliu on March 31, 2009 11:10

  • Can Oracle 10g - I use a variable for the access of the user identifywhat tablesto?

    I have the following code in a trigger (PL/Sql block) of a form:

    Select fieldname in user1.sometable myvar;

    is it possible to use a variable instead of coding hard "user1"? And on the same subject, this variable would also be declared in the world?

    Thanks in advance,
    Darren

    Hello!

    User1 is the owner of the table sometable.

    If only the User1 runs your form, there is no need to put the tableowner in front of the tablename parameter.

    If other users run your form, you must create a public or private (for each user) synonym of this table.
    After that, you don't need to use owner.tablename in your sql statement.

    But:
    You cannot use a variable for the user name without using dynamic sql
    as you do if you create a recordgroup.

    Concerning

  • connect Oracle using shell with the error log

    Hello

    I need to connect to oracle 10g db using unix shell files. Already I have username, password, hoststring and details is SCOTT/TIGER@TESTDB.
    I need to pass the values of this 3 (SCOTT/TIGER@TESTDB) at runtime only (i.e.) as PARAMETERS. Suppose that I'll give the wrong password or username, I need to capture this error in 1file and send the error details to our dba teams mail identification. Identification of email as [email protected] if its success, I have need to write the 'success' message in 1 file and no need to send a mail to the group.

    Can U please help to solve this problem.


    Thanks and greetings
    Sivaraman.

    kn_sivaraman wrote:

    Sorry! IM new to the forum. I know how to change this dn't topics.

    You must change the forums. No topics.

    This is not the right forum for you topic. Find the Linux forum and ask your question there please.

    Thank you.

  • Link Excel 2010 64 bit on Windows 7 64 bit to Oracle 11 g 2 on Linux

    With the help of:
    Excel 2010 64-bit
    Windows 7 64 bit
    Instant customer Oracle 11.2.0.1 64-bit

    connection to Oracle 11 g 2 on Linux 64-bit 5.8 64-bit

    I created a user DSN in Windows called "NITRO Oracle 11 GR 2 DB" using the 64-bit 11.2.0.1 Oracle instant client driver. Thus configured
    http://i.imgur.com/2a3MZ.PNG

    Connection test is successful.

    In Excel 2010, I'm going to tape data, the data connection wizard
    http://i.imgur.com/han3u.PNG

    I then choose other/advanced, and then the Oracle OLE DB provider.
    http://i.imgur.com/w3P1c.PNG

    I click Next and then put in the data source, the user name and the password and click on test, and it fails with the Microsoft data link error. http://i.imgur.com/zuv41.PNG

    Do you know what I'm doing wrong?

    12154 means that the customer could not solve what tipped you to the Data Source. What made complete when configuring the OLEDB connection to Data Source? Looks like "nitro" should be the right thing to complete, depending on your statement than the ODBC DSN you configured works with it.

    Greg

  • limitation of client for oracle 10g XE

    Hello world

    just need an info on the clinets number which can be connected to oracle 10g Express edition

    I know that DB dimensions should not exceed more than 4 GB, more there should be a single processor and not more than 1 GB of memory

    is there a limitation on the number of users too?

    is there a limitation on the number of users too?

    I find it on users numbers (session) limited on the XE database?

    Anyway he is limited to 1 G memory.

    Example:

    Suppose->
    Need of SGA = 500M
    Thus, PGA about 500 M
    the PGA, the background process using 100M

    400 M for all user sessions
    If 1 session to use 4 M... You can have 100 users...

    .
    ..

  • How to connect to Oracle Form Builder - Oracle Developer Suite 10 g - Windows 7

    Hi brothers and sisters.

    Hope that you are well. I installed Oracle Developer Suite 10 g on Windows 7 successfully and that it works correctly. But when I connect to Oracle Form Builder using Connect window asking:

    a. user name of
    b. password
    c. database

    a message box appears: "ORA-12154: TNS: could not resolve the connect identifier specified '.

    I check my String to connect with: ' SELECT * FROM database of v$ ', but the problem remains the same.

    Please help me how can I connect to Oracle Form Builder.

    Noor

    Hello

    Please use Net Configuration Wizard or set tnsnames.ora with string and computer name to connect.

    NET Configuration Assistant.
    When its open then go to.
    * The local Net Service name configuration.
    * Click Next.
    * Add.
    * Click Next.
    * Name service - Type here connect the String which is XE or any connection string.
    * TCP.
    * Click Next.
    Host name - enter computer name or Ip address.
    * Yes, perform a test.
    you enter the right password and username here.

    Note:-your database should be Up if it's not high, it will be by the same error please start your database first.
    Sarah

  • How to write the CLOB parameter to a file or a XML using shell script?

    I run an oracle stored procedure using shell script. How can I get the OUT of the procedure (CLOB) parameter and write it to a file or a XML in UNIX environment using shell script?
    Edit/Delete Message
    SQL> var c clob
    SQL>
    SQL> begin
      2          select
      3                  DBMS_XMLGEN.getXML(
      4                          'select rownum, object_type, object_name from user_objects where rownum <= 5'
      5                  ) into :c
      6          from    dual;
      7  end;
      8  /
    
    PL/SQL procedure successfully completed.
    
    SQL>
    SQL> set long 999999
    SQL> set heading off
    SQL> set pages 0
    SQL> set feedback off
    SQL> set termout off
    SQL> set trimspool on
    // following in the script is not echo'ed to screen
    set echo off
    
    spool /tmp/x.xml
    select :c from dual;
    spool off
    
    SQL>
    SQL> --// file size
    SQL> !ls -l /tmp/x.xml
    -rw-rw-r-- 1 billy billy 583 2011-12-22 13:35 /tmp/x.xml
    
    SQL> --// file content
    SQL> !cat /tmp/x.xml
    
    
     
      1
      TABLE
      BONUS
     
     
      2
      PROCEDURE
      CLOSEREFCURSOR
     
     
      3
      TABLE
      DEPT
     
     
      4
      TABLE
      EMP
     
     
      5
      TABLE
      EMPTAB
     
    
    
    SQL> 
    
  • linux 4 oracle 10g client to connect to the server window 2003 server, oracle 10g

    Hello

    I have my 10g oracle installed on windows server 2003 server.
    On another system I have oracle 10g client is installed after edition of RedHat enterprise 4.

    I want to connect my client to the database server.

    I check using oracle universal install in that it shows installed products i.e.
    Oracle 10g client is installed on the linex system.

    but when I try to write a command like
    [oracle@satish ~]$ sqlplus$
    bash: sqlplus$: command not found
    
    [oracle@satish ~]$ tnsping
    bash: tnsping: command not found
    and it doen't show any enty applications for oracle which is strange.

    as I am new to linux.

    How to overcome this problem.

    Thank you
    Umesh

    Include $ORACLE_HOME/bin in your path (not only $ORACLE_HOME):

    export PATH=$PATH:/home/oracle/oracle/product/10.2.0/client_1/bin

    Werner

Maybe you are looking for

  • iMac will not shut down or restart...

    I have an iMac 27 "end 2012, running El Capitan 10.11.5 and since the last update to version, it will not shut down or restart. I tried unplugging the power for about 10 minutes, but that didn't work... any notice or is this just a glitch in the late

  • T60 2007-CTO is unable to sleep or into hibernation

    I bought this recon T60 as a rudimentary. I installed HP home and I want to activate the standby or Hibernate options I have read the previous posts and have all tried but to no avail. Any ideas?

  • DNS problem with the fake IP on computer file discovered. Help

    installed a new Virus program (Kaspery switched to Norton) and impossible DNS verified or recognized.  When the IP address has finally found (ARIN) it was not related to my machine, but to another in another city, somewhere else.  How is that possibl

  • How to disable on screen keyb. touch sound?

    How then? thnx

  • A modest proposal

    Suppose a 61 year old guy, we call him Andy, is housed in place of his son temporarily, as alternative homelessness due to the ongoing crisis. Suppose again that Andy must be able to print files on Windows XP based 6 year son old tour, call the obsol