Connect to Oracle Rdb Using Enterprise Manager

How can I create a connection to an Rdb Database using the Enterprise Manager or by editing tnsnames.ora? What is the correct syntax for the tns entries?

Download and install 9i client for Linux (you will need linux_base package for linux compatibility).
Following links may help you:
http://ezine.daemonnews.org/200402/oracle.html
http://tomclegg.net/oracle9i-bsd5
http://www.freebsd.org.ru/software/linux-oracle.html
Then install php with "--with-oci8=$ORACLE_HOME" option.

Similar Messages

  • Cannot Connect using Enterprise Manager

    The details of the Oracle 9i Server 9.2.0.1.0 are as follows:
    IP: 172.25.22.78
    SID: MSPD
    Port 1521
    I am trying to connect to this server using enterprise manager but i get the "ORA-12543: TNS:destination host unreachable" Error.
    However I am able to ping the server successfully.
    When I try the command telnet 172.25.22.78 1521 I get an error "Could not open connection to Host, on port 1521; connect failed."
    What could be the reason?
    Following is the entry in TNSNAMES.ORA
    # TNSNAMES.ORA Network Configuration File: C:\oracle\ora92\NETWORK\ADMIN\tnsnames.ora
    # Generated by Oracle configuration tools.
    MSPD_172.25.22.78 =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 172.25.22.78)(PORT = 1521))
    (CONNECT_DATA =
    (SID = mspd)
    (SERVER = DEDICATED)
    Thanks and Regards,
    Ashwin

    Hello everyone,
    Thanks for all your answers so far. I appreciate your assistance very much.
    Does tnsping work?
    No TNSPING 172.25.22.78 1521 did not work
    Can you connect via sqlplus?
    No. The net service mspd_172.25.22.78 is configured in the Net Manager.
    It fails when I test it from Net manager as well as SQL Plus
    The server is in Boston.
    This problem is only occuring when we are accessing the server from Mumbai.
    My team from Cincinatti is able to connect to the server.
    ping, tnsping, sqlplus, telnet are all successful for them.
    When i contacted the Network team in mumbai they had a look at the Trace route of the IP and declared that there is no firewall from our side that is blocking the communication. They asked me to contact the client to see if the server port they provided is correct and is open for access.
    Could it be that the client put up a firewall that allows access from cincinatti office but not mumbai? (all tests from cinci - pass, all tests from mumbai except ping fail).
    Is it possible that Cinci team can access port 1521 but from mmumbai we have to give another port which is reverse mapped to port 1521?
    Thanks and Regards,
    Ashwin

  • I have installed oracle 10g in my winxp machine. i am using enterprise manager. i am not able to shutdown the system as it asks for os username and password. i have provided my os username and password but eerror persiste. somebody pls help me to get rid

    I have installed oracle 10g in my winxp machine. i am using enterprise manager. i am not able to shutdown the system as it asks for os username and password. i have provided my os username and password but eerror persiste. somebody pls help me to get rid of this.

    Here I am using Java Type IV for database
    connection.
    So,there was no necessity of creating DNS.How your app communicates with db shouldn't matter for the end user. Still, you may want to use a functional network name also for the thin client driver connection string.
    So,is there any other way to solve this problem.What is the problem really? Do you not use dns for network naming? Maybe you have to manage the hosts file on every client then.

  • Unable to connect to the database instance using Enterprise Manager.

    I just install Oracle 10gr2 in my computer and after successful installation created a database instance which also install successfully. I then configure the listener using Net Manager and then start the database instance, the listener and dbconsole, everything seems to work fine and checking the status of this services from the command prompt indicates everything started successfully. But when I try to use Enterprise Manager I was directed to the Database Down Page with a message unable to connect to database instance. I try to use startup and perform recovery but every time I log-in to the database an error message comes out:
    SQLEXCEPTION
    ORA-00604: error occurred at recursive SQL level 1
    ORA-12705: Cannot access NLS data files or invalid environment specified.
    It seems for Enterprise Manager to connect to the database it needs to access this NLS(National Language Support) data files or specify an environment variable to point to this data files. I am just new to Oracle and I am having difficulty solving this particular problem. Where is this data files located and how do I configure Enterprise Manager to access this NLS data Files?
    Any help however small will be highly appreciated.

    Are you able to connect to the database via SQLPlus?
    What Operating System are you using?
    Assuming Windows, can you RUN regedit to open Windows Registry and check the value or NLS_LANG when you select
    HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE\KEY_<your_oracle_home>
    Examples of vaules you may find:
    1. ENGLISH_UNITED KINGDOM.WE8MSWIN1252
    2. AMERICAN_AMERICA.US7ASCII
    3. AMERICAN_AMERICA.WE8MSWIN1252
    4. FRENCH_FRANCE.WE8MSWIN1252
    5. GERMAN_GERMANY.WE8MSWIN1252
    If you are not able to connect to SQLPlus, from the command prompt try setting one of the above:
    e.g.
    D:\>set NLS_LANG=AMERICAN_AMERICA.WE8MSWIN1252
    D:\>sqlplus /nolog
    SQL>connect sysman/password

  • Unable to connect using Enterprise Manager

    I have Oracle 9.2 installed on w2000 server and it was working fine when I use isqlplus and sqlplus. However, after I type in the userID:SYS and password to expand the tree of the database when I use Enterprise Manager , it gives me the error ORA-12520. I got the same error when trying to create DSN in ODBC driver configuration.

    Solution:
    I ran into the same problem. You have to first create a password file. Run
    orapwd file=<fname> password=<password> entries=<users>
    The file will usually be in the dbs by default. You may have to play with the file name. I had to make it orapwd in dbs to make it recognize correctly.
    Next you need to modify your startup parameter for your instance to use the remote_login_passwordfile='shared' or 'exclusive'
    Set it to exclusive if you have only one instance or shared if you have multiple instances. I had to use the pfile and start the instance with that. Just rename your spfile and type 'sql>create pfile from spfile' and then edit it. Set your parameter and restart your instance. The do 'sql>create spfile from pfile' to make your spfile again. Now you should be able to connect as sys remotely from sql or OEM!!!
    Doc:
    Setting REMOTE_LOGIN_ PASSWORDFILE
    In addition to creating the password file, you must also set the initialization parameter REMOTE_LOGIN_PASSWORDFILE to the appropriate value. The values recognized are described as follows:
    Value Description
    NONE
    Setting this parameter to NONE causes Oracle to behave as if the password file does not exist. That is, no privileged connections are allowed over non-secure connections. NONE is the default value for this parameter.
    EXCLUSIVE
    An EXCLUSIVE password file can be used with only one database. Only an EXCLUSIVE file can contain the names of users other than SYS. Using an EXCLUSIVE password file allows you to grant SYSDBA and SYSOPER system privileges to individual users and have them connect as themselves.
    SHARED
    A SHARED password file can be used by multiple databases. However, the only user recognized by a SHARED password file is SYS. You cannot add users to a SHARED password file. All users needing SYSDBA or SYSOPER system privileges must connect using the same name, SYS, and password. This option is useful if you have a single DBA administering multiple databases.

  • Problem using Enterprise Manager 11g Database Control in Firefox 3.6.6

    Hello all,
    I just intalled Oracle 11g and trying to familiarize myself with Enterprise Manager 11g Dataabse Control using Firefox 3.6.6 in Windows XP.
    I'm able to login to Enterprise manager successfully.
    However, when I click on on "Performance Tab", the "SYSTEM_MOVING_WINDOW" is empty, and there's a prompt "Click Here to Download Plugin."
    When I do click on it, I get message:
    No suitable plugins were found.
    Unknown plugin (application/octet-stream) [Manual Install].
    I'm not sure what plugin I need so I can use Enterprise Manager properly.
    Please help!
    Thanks
    Giovanni

    I use the Opera browser so I can split the screen to monitor multiple instances at the same time on my 2nd monitor. I am not having issues with the 10g OEM but having the same problem listed in this thread with the 11g OEM ( we have both running during our migration to 11g). The posts here didn't help me with the 11g OEM as there must be some difference from 10g OEM. I will hate it if I can't do the split screen to monitor multiple instances at the same time. And if you are connecting via solaris or lunix browser then IE is not an option ( W3C standards please ).

  • Why using Enterprise Manager..

    I can connect to both DB on my machine and instead using SQPLPlus from command line I cannot connect with none ?
    S.O. Windows XP Pro
    On my machine I have Oracle 9i with 2 DB of test. If I try to connect to them using SQLPlus I cannot connect ( I have Error ORA-12560 ) and instead if I try to connect using Enterprise Manager I can.
    I have these services on :
    1) OracleOraHom92HTTPServer
    2) OracleOraHom92TNSListener
    3) OracleServiceMyDB
    Tx for any suggest
    Diego

    the tns protocal adaptor error can mean many things.
    check the following:
    1) check the windows service is running for the database.
    2) run a tnsping command to check if all is okay.
    3) are you running sqlplus from the correct ORACLE_HOME

  • Error while deploying application using enterprise manager website and dcmctl

    Hi,
    I am trying to deploy a huge ear file using enterprise manager website of Oracle 9iAs Rel 2.
    The deployment fails with the following error.
    Deployment failed: Nested exception Root Cause: null; nested exception is: java.lang.OutOfMemoryError. null; nested exception is: java.lang.OutOfMemoryError
    We are able to deploy the same ear file using stand-alone container. We are planning for deployment in few days to go it live. Pls suggest what could be the problem.
    Hardware Used:-
    DellServer Intel P3 dual processor 1.2GHz
    1GB RAM
    2GB virtual memory,
    40GB free hard-drive.
    Apart from 9ias enterprise edition, this system has Oracle database also on it. But the database is not being used at all by anyone.
    No other software is installed on the system
    Software:-
    Windows 2000 Server sp2
    Oracle 9ias Release 2 Enterprise Edition (Installed J2EE and Webcache)
    Oracle 8i Database 8.1.6.0.0
    Size of application:-
    130 EJBs (107 CMP + remaining Session Beans)
    1700 JSPs
    3 servlets
    Packaged properly into jar,war,ear structure.
    the size of ear file is about 13MB.
    I tried using dcmctl but still got the following error.
    Oracle 8i database is running but noone is using it except that this application uses it.
    Pls help
    D:\oraJ2EE\dcm\bin>dcmctl deployapplication -f d:\oraJ2ee\j2ee\elink\applications\advecto.ear -
    a myapp
    ADMN-300075
    D:\oraJ2EE\dcm\bin>dcmctl getError -v -d
    ADMN-300075
    Nested exception
    Base Exception:
    java.rmi.RemoteException:null; nested exception is:
    java.lang.OutOfMemoryError
    Nested exception
    Root Cause: null; nested exception is:
    java.lang.OutOfMemoryError
    java.rmi.RemoteException: null; nested exception is:
    java.lang.OutOfMemoryError
    java.lang.OutOfMemoryError
    <<no stack trace available>>
    Are there any mandatory patches to be applied after installing 9ias Rel2?
    Thanks
    Srinath

    Try to fragment the 'ear' in less than 64k blocks or don't transmit as long raw.
    Please let me know if this works.

  • Error while trying to deploy the application using Enterprise manager website

    Hi,
    I am trying to deploy a huge ear file using enterprise manager website of Oracle 9iAs Rel 2.
    The deployment fails with the following error.
    Deployment failed: Nested exception Root Cause: null; nested exception is: java.lang.OutOfMemoryError. null; nested exception is: java.lang.OutOfMemoryError
    We are able to deploy the same ear file using stand-alone container.
    We are planning for deployment in few days to go it live.
    Pls suggest what could be the problem.
    Hardware Used:-
    DellServer Intel P3 dual processor 1.2GHz
    1GB RAM
    2GB virtual memory,
    40GB free hard-drive.
    Apart from 9ias enterprise edition, this system has Oracle database also on it. But the database is not being used at all by anyone.
    No other software is installed on the system
    Software:-
    Windows 2000 Server sp2
    Oracle 9ias Release 2 Enterprise Edition (Installed J2EE and Webcache)
    Oracle 8i Database 8.1.6.0.0
    Size of application:-
    130 EJBs (107 CMP + remaining Session Beans)
    1700 JSPs
    3 servlets
    Packaged properly into jar,war,ear structure.
    the size of ear file is about 13MB.
    Thanks
    Srinath

    Hi,
    I tried using dcmctl but still got the following error.
    Oracle 8i database is running but noone is using it except that this application uses it.
    Pls help
    D:\oraJ2EE\dcm\bin>dcmctl deployapplication -f d:\oraJ2ee\j2ee\elink\applications\advecto.ear -
    a myapp
    ADMN-300075
    D:\oraJ2EE\dcm\bin>dcmctl getError -v -d
    ADMN-300075
    Nested exception
    Base Exception:
    java.rmi.RemoteException:null; nested exception is:
    java.lang.OutOfMemoryError
    Nested exception
    Root Cause: null; nested exception is:
    java.lang.OutOfMemoryError
    java.rmi.RemoteException: null; nested exception is:
    java.lang.OutOfMemoryError
    java.lang.OutOfMemoryError
    <<no stack trace available>>
    Thanks
    Srinath

  • Import database using enterprise manager

    Hello,
    I am trying to import a database using enterprise manager. I've finished the installation of 10g and i need to import a database that is in a different server.
    The Oracle Enterprise Manager window, has a tab 'maintenance' that allows me to import from another database.
    The problem is that at some point the wizard ask's me for the user credentials (user and password), and i don't no who is the user, is it refering to the others server's credentials or is it referring to the database credentials?
    Can You help me, please?
    Is there some tutorial for this?
    Thank you,
    Sara.

    I don't know of a tutorial, sorry. This forum is about Globalization Support (e.g. national language support features) so it is really the wrong place for EM Grid/Database Control questions. I suggest your try here instead:
    Enterprise Manager

  • Can we connect to oracle 9i using vb6.0 in 64 bit machine.

    Can we connect to oracle 9i using vb6.0 in 64 bit machine.
    Code i have written is
    dim conn as new ADODB.Connection
    conn.open("Provider=MSDAORA.1;password=pw;user id=usname;data source=dbname;Persist Security info=false")
    but it is throwing an error saying
    "Connection not open"
    But the same code is working in vb.net.
    Do we need to install any providers for 64 bit machine?

    I have had no luck doing this in the 64-bit ODAC or otherwise. If anybody succeeds I would love to hear about it. My experience follows for those interested:
    I am trying to migrate some working VB6 code from Windows 2000 Server to 64-bit Windows Server 2003 but can't get the OLEDB connection to Oracle to work.
    In the working code (x86 environment), I am using ADO 2.8 and Microsoft OLEDB Provider for Oracle (MSDAORA). Since the Microsoft OLEDB provider for Oracle is no longer supported or available on Windows Server 2003 x64, I tried to use the 32-bit Oracle OLEDB provider in ODAC 10.2 but may have run into the parsing bug posted on MSDN (http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=159581). Next, I successfully installed the beta 64-bit version of ODAC 10.2, but when I try to open the connection I receive "Error 3706 Provider cannot be found. It may not be properly installed." However, I can successfully TNSPing the data source.
    Windows Server 2003 x64 (not Itanium)
    Oracle Enterprise 9.2
    Microsoft Visual Basic 6
    Microsoft ADO 2.8 (Objects & Recordset references)
    Oracle OLEDB Provider (ODAC 10.2, 64-bit)
    Code Snippet:
    Set m_dbConn = New ADODB.Connection
    With m_dbConn
    .ConnectionString = "Provider=OraOLEDB.Oracle;Data Source=oplprod; User ID=myid; Password=mypwd;"
    .ConnectionTimeout = 10
    .CursorLocation = adUseClient
    .Open
    End With

  • Register Oracle XE to Enterprise Manager

    Hi,
    I am interested to try oracle 10g XE and I've install it (My OS = Windows XP) but there's no enterprise manager for it. Can we use enterprise manager from another oracle 10g edition? if we can, how to do that?
    thanks
    tatang

    Hello,
    Are you sure the service OracleService(sid) has not been created? Can you check it?
    If it was not created, you could try to create it manually with this command:
    emca -config dbcontrol db -repos create
    and follow the instructions. Be sure to have the listener up at all times.
    Another option could be to recreate de database with dbca and it should create the service automatically.
    I haven´t had the chance to work with XE, but I guess it is the same concept as SE and EE.

  • Connect to oracle database using c program

    I am using AIX environment and i want to connect to oracle database using c program.

    http://download.oracle.com/docs/cd/E11882_01/appdev.112/e10825/pc_03dbc.htm#i5880

  • Want to work on Oracle Business Intelligence Enterprise Manager

    Hi,
    I have installed OBIEE 11g( 11.1.1.5.0) on Windows 32Bit system.
    Now i want to work on Oracle Business Intelligence Enterprise Manager. Can anybody help me out as I am new in OBIEE11g.
    Actually I am trying to edit NQSConfig file and set a default repository other than "SampleAppLite_BI0001.rpd", let say "abc.rpd". But when I restart services, It changes default rpd to "SampleAppLite_BI0001.rpd" only.
    Need guidance..
    Thanks,
    Archie.

    Hi,
    At any time, only one repository can be loaded for access by a BI presentation Server instance. So One repository must be specified as DEFAULT. If multiple repositories are specified as DEFAULT, then the last one listed will become DEFAULT.
    So, please keep "abc.rpd" as the last repository in the list and mark it as DEFAULT.
    e.g: Star = abc.rpd, DEFAULT;
    Hope it helps.

  • How to delete/drop all the tables from SQL Server Database without using Enterprise Manager?

    How to delete/drop all the tables from SQL Server Database without using Enterprise Manager?
    I tried using DROP Tables, Truncate Database, Delete and many more but it is not working.  I want to delete all tables using Query Analyzer, i.e. through SQL Query.
    Please help me out in this concern.
    Nishith Shah

    Informative thread indeed. Wish I saw it early enough. Managed to come up with the code below before I saw this thread.
    declare @TTName Table
    (TableSchemaTableName
    varchar
    (500),
    [status] int
    default 0);
    with AvailableTables
    (TableSchemaTableName)
    as
    (select
    QUOTENAME(TABLE_SCHEMA)
    +
    +
    QUOTENAME(TABLE_NAME)
    from
    INFORMATION_SCHEMA.TABLES)
    insert into @TTName
    (TableSchemaTableName)
    select *
    from AvailableTables
    declare @TableSchemaTableName varchar
    (500)
    declare @sqlstatement nvarchar
    (1000)
    while 1=1
    begin
    set @sqlstatement
    =
    'DROP TABLE '
    + @TableSchemaTableName
    exec
    sp_executeSQL
    @sqlstatement
    print
    'Dropped Table : '
    + @TableSchemaTableName
    update @TTName
    set [status]
    = 1
    where TableSchemaTableName
    = @TableSchemaTableName
    if
    (select
    count([Status])
    from @TTName
    where [Status]
    = 0)
    = 0
    break
    end

Maybe you are looking for

  • Create a new folder in sap r/3 main menu

    HI, i want to create a new folder into Material Management Module, this folder contain several transactions. What i need to do in order to sucess with this task? Thanks. Reward Points

  • My external Apple USB Keyboard letters doesn't work, but the numbers do. Why and how can I fix this issue?

    My external Apple USB Keyboard letters doesn't work, but the numbers do. Why and how can I fix this issue? Also, When I open the Keyboard Viewer, the letters will highlight only if I hold the modifier key(s) "Control" or "Control and Option". I reall

  • Nokia X3 Problem n need Solution

    Nokia X3 Problem n need Solution : the problem is,my nokia X3 ringtone sound so slow/soft... n the keypad button sound more strong then ringtone sound,n two of them at the full volume... but,i already put the volume to higher posible ( full volume ).

  • Viewing/Syncing PDF and Word Docs?

    I read before I bought my iPhone that it would have support for PDF and Word Docs. How do I view and store these docs? Since I can sync music and movie files, can I sync documents too?

  • Using router and USB wireless on same machine but can't browse

    Hello, everybody. I have a WRT54G connected to my desktop to enable a laptop to exchange files with me. Also have a WUSB54G on the same machine to connect to a local hotspot. Problem is I lose the ability to browse the net when the router is connecte