9.2 and 10g on same machine, listener problem

Hi,
i had a 10g db on a solaris server. then i installed a 9.2 database on this server. I know that i should use the 10g listener for 9.2 database.
But i cant manage to configure it correctly.
The 10g listener name is LISTENER and 9.2 listener name is TPRS.
what i did ? i opened netmgr and created a new listener named TPRS. added the database to it.(on the menu database services)
when i try to start TPRS i get the following error message
bash-2.05$ lsnrctl start TPRS
LSNRCTL for Solaris: Version 10.1.0.4.2 - Production on 08-JUN-2009 16:05:22
Copyright (c) 1991, 2004, Oracle. All rights reserved.
Starting /oracleAS/app/oracle/product/10.1.2.0.2/infra/bin/tnslsnr: please wait...
TNSLSNR for Solaris: Version 10.1.0.4.2 - Production
System parameter file is /oracleAS/app/oracle/product/10.1.2.0.2/infra/network/admin/listener.ora
Log messages written to /oracleAS/app/oracle/product/10.1.2.0.2/infra/network/log/tprs.log
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=sun3.tuprasnet.local)(PORT=1522)))
TNS-01201: Listener cannot find executable /oracleAS/TPRS/app/oracle/product/9.2.0.1.0/bin/oracle for SID TPRS
Listener failed to start. See the error message(s) above...
The directory "/oracleAS/TPRS/app/oracle/product/9.2.0.1.0/bin/" exists , and oracle executable is under it. also /oracleAS/TPRS/app/oracle/product/9.2.0.1.0 is the oracle home for 9.2 database.
The listener.ora file of 10g is like that:
SID_LIST_TPRS =
(SID_LIST =
(SID_DESC =
(GLOBAL_DBNAME = TPRS)
(ORACLE_HOME = /oracleAS/TPRS/app/oracle/product/9.2.0.1.0)
(SID_NAME = TPRS)
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = /oracleAS/app/oracle/product/10.1.2.0.2/infra)
(PROGRAM = extproc)
(SID_DESC =
(GLOBAL_DBNAME = iasdb.tuprasnet.local)
(ORACLE_HOME = /oracleAS/app/oracle/product/10.1.2.0.2/infra)
(SID_NAME = IASDB)
TPRS =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = sun3.tuprasnet.local)(PORT = 1522))
LISTENER =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = sun3.tuprasnet.local)(PORT = 1521))
what am i missing?
Thanks in advance,
mehmet

We (Gerwin and I) had a small discussion about the problem at hand.
The discussion is overlooking the obvious
TNSLSNR for Solaris: Version 10.1.0.4.2 - Production
System parameter file is /oracleAS/app/oracle/product/10.1.2.0.2/infra/network/admin/listener.ora
Log messages written to /oracleAS/app/oracle/product/10.1.2.0.2/infra/network/log/tprs.log
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=sun3.tuprasnet.local)(PORT=1522)))
TNS-01201: Listener cannot find executable /oracleAS/TPRS/app/oracle/product/9.2.0.1.0/bin/oracle for SID TPRSSo the Solaris user that starts the listener HAS NO ACCESS rights to the directory path and/or the executables (lsnrctl / tnslsnr).
[oracle@srv01-18-102 bin]$ ps -ef|grep tns
oracle   11967     1  0 Jun07 ?        00:00:53 /u01/app/oracle/product/11.1.0/dbhome_1/bin/tnslsnr LISTENER -inherit
oracle   28694 17439  0 17:49 pts/0    00:00:00 grep tnsYou can choose for a "more than one listener" solution or "only one listener". Whatever you do the unix user that starts the oracle, listener executables have to be the same OR sicky bits have to exist on the executables (so the user is allowed to start the executables and access the memory realms as if it was the actual owner).
The moment you don't use the defaults - aka "LISTENER" or a non default port (1521), you will have to define this via the database parameter
LOCAL_LISTENER
SQL> conn / as sysdba
SQL> show parameter local_listener
NAME                                 TYPE        VALUE
local_listener                       string
SQL> ALTER system SET LOCAL_LISTENER=
        "(ADDRESS=(PROTOCOL=TCP)(HOST=sun3.tuprasnet.local)(PORT=1522))"
        scope=BOTH;
System altered.
SQL> show parameter local_listener
NAME                                 TYPE        VALUE
local_listener                       string      (ADDRESS=(PROTOCOL=TCP)(HOST=sun3.tuprasnet.local)(PORT=1522))Now the database "knows" that it has to register itself against "sun3.tuprasnet.local" and will be serviced via port 1522.
After been set on database level, the "LOCAL_LISTENER" value can be resolved via the string itself or (*most common way of doing it is using a tnsalias*) is resolved via the tnsnames.ora file (the string given in LOCAL_LISTENER is an tns ALIAS).
If you use ONE listener, then databases can register themselves against SQL*Net compatible listeners. So you don't have to use a 9i listener for a 9i database. A 10g database is also allowed.
If I use a ONE listener solution, then I normally pick the listener from the highest database version and let all database versions use this listener.
The post given here (http://www.liberidu.com/blog/?p=116): "Registering non-default XMLDB HTTP/WebDAV and FTP ports on a non-default Oracle Listener port" describes a use case which is even more "extreem" regarding shared server functionality, based on TWO listeners and NON-DEFAULT PORT addressing, based on an Oracle 9 and Oracle 10 environment on the same machine.
HTH
M.
Edited by: Marco Gralike on Jun 8, 2009 6:01 PM

Similar Messages

  • 9i and 10g on same host

    Hi folks,
    i am just trying to run 9i and 10g on same host (sun solaris 5.9)
    I created 2 different oracle users on os level for installation and management of those 2 instances.
    There is no problem with it, but i am just curious. would it be better to run them both with the same account?
    or is it better to have 2 separete accounts for each of them?
    just want to hear expert's opinion about this, Thanks in advance.
    Edited by: merope on May 14, 2009 2:25 PM

    >
    There is no problem with it, but i am just curious. would it be better to run them both with the same account?
    or is it better to have 2 separete accounts for each of them?It depends on Your needs. Both ways are ok. Easier is to manage if both oracle homes are under the same account, because then it's easier to upgrade database, maybe in future You will want just one oracle home and so on.
    But if for example You are running on the same machine test and dev envs, then it's somewhat normal to separete and then there is no dependency between envs and You can for example upgrade dev without touching test (that can be achieved with simple 2 different oracle_homes, but with two different users as well).

  • My brother ipad was linked with old apple id and he forgot his id and never use same email.the problem now his mini ipad ask him for this id to open (activate ipad) what we can do ?

    my brother ipad was linked with old apple id and he forgot his id and never use same email.the problem now his mini ipad ask him for this id to open (activate ipad) what we can do ?

    He remember the id name and password but he can't enter we don't now if the password is wrong or the id was  lock . I have the all thing for the ipad such as his box . I now this is security thing but you could help me.

  • Oracle 9i and Oracle 10g in same machine

    I have Oracle 9i in a machine. I wanted to install Oracle 10g in the same machine.
    I tried installed, and Oracle 10g worked ok.
    I have the following problems:
    1. Oracle 9i is not starting up. {Oracle 9i Intelligent Agent Failure on startup}
    2. I need to use Oracle 9i and Oracle 10g simultaneously.
    If any one have experianced this please help to resolve the issue.
    Thanks in advance.
    Srini

    You must use 2 different homes, and later you have to take care of your environment variables, and you must use only one listener in this case the highest version that is 10g.
    Tell us: did you install in the same ORACLE_HOME?
    Give us details.
    Pao.

  • Oracle 9i and 10G in same Fedora Core 4 machine

    Hi Friends,
    I am intalling Oracle 9i(9.2.0.4.0) and 10G(10.2.0.1.0) on a Fedora Core4 machine.
    I alredy installed Oracle 10G under,
    USER : oracle
    # useradd -u 1001 -g oinstall -G dba -d /oraeng/app/oracle/product/10.2.0/db_1 -m oracle
    # chown -R oracle:oinstall oracle /oraeng
    # chown -R oracle:dba oracle /disk1 ( disk1 for databases)
    .bash_profile
    ===========
    ORACLE_BASE : /oraeng/app/oracle
    ORACLE_HOME : /oraeng/app/oracle/product/10.2.0/db_1
    PATH : $ORACLE_HOME/bin:$PATH:.
    How to install Oracle 9i in the same machine?
    Regards
    Mathew

    Hi,
    Do I have to create a seperate user (eg: oracleuser) for installing oracle 9i database software?
    So at that time, by using
    #usradd -u 1002 -g oinstall -G dba -d /oraeng/app/oracle/product/9/2/0 -m oracleuser
    #chown -R oracleuser:oinstall /oraeng
    I think the second command will change the ownership of the /oraeng direcory from 'oracle' user to 'oracleuser' user. 'oracle' user is created erlier for 10G installation
    Regards,
    Mathew

  • Siebel analytics 782 and obiee 10g on same machine

    Can siebel analytics 7.8.2 and obiee 10.1.3.4.1 be installed on the same machine? Can I have 2 separate folders Siebel Analytics and Siebel analyticsdata for 7.8.2 installation and OracleBI and OracleBIdaata folders for the 10.3.4.1. installation?

    no they cannot be on same machine under same user account

  • Can we install OBIEE 10G and 11G on Same Machine

    Hi Experts,
    I want to install OBIEE 11 G on the same machine(Windows) which already have OBIEE 10.1.3.4. So is it possible.
    I dont want to upgrade at this stage.
    Thanks

    No problem if you give a different port number.
    regards
    John
    http://obiee101.blogspot.com

  • How to install oracle 11g and 10g on same linux server.

    how can i install oracle 10g and 11g on same linux server ????
    10g database is already installed , i want to installed 11g on the same machine. How can i do this???

    Hi;
    how can i install oracle 10g and 11g on same linux server ????
    10g database is already installed , i want to installed 11g on the same machine. How can i do this???You may go wiht different mount point like to create /oracle11g and /oracle10g and you can choose related path for your installation.
    Please read:
    Managing multiple oracle home
    http://docs.oracle.com/cd/B12037_01/em.101/b12140/3_oui_oracle_homes.htm#i1005615
    http://docs.oracle.com/cd/B12037_01/em.101/b12140/3_oui_oracle_homes.htm
    Regard
    Helios

  • Query for oracle 9i and 10g on same box

    HI
    All,
    I have oracle 9i installed on one box it has
    oracle home /u01/app/oracle/product/9.2.0
    and i am gonna install oracle 10g on different home /u01/app/oracle/product/10.2.0
    Do I need to specify different location for OraInventory?
    so what else I need to take care?
    Thanks,
    Vishal

    So there should not be a problem if it is the same
    orainventory location for both 9i and 10g right.There should be no problem.
    can you throw more focus on below ?
    When managing different oracle versions on the same
    box you should take care of environment variables to
    properly point to each ORACLE HOME and PATH, and
    ensure different ports do not conflict.
    For instance, you should use the Listener of the latest release on the server (in this case 10g) to services all the databases on that box 9both 9i and 10g).
    When you want to startup and shutdown 9i database, you do not want to shutdown a 10g database by mistake. Hence, setting things like ORCLE_HOME and ORACLE_SID.
    Also, Oracle Server make use of libraries. You do not want to mix up 9i and 10g libraries. hence take care when you set things like PATH, LD_LIBRARY_PATH etc
    The same applies to all Environment variables you want to set on the server that has different oracle releases. You just need to ensure that when you logon, your variables are set correctly for the intended oracle release before you do anything.

  • How to have Oracle home 9.2 & 10g on same machine?.....

    Dear All,
    I have 10g R 2 already installed on my machine. I have installed 9.2 on the same machine... How can I installed What are procedures for setting the path and oracle home.... procedures in doing that.......?
    thanks in advance
    KC

    As already said, there is no problem to have different oracle version in different ORACLE_HOME directories on same server box.<br>
    For install, please read the associated Installation Guide.<br>
    <br>
    Nicolas.

  • Development and Test on same machine

    Hi,
    In my current setup I have a development application, a test application and a production application.
    The dev. and test is on the same machine, with different APP ID's. Dev is 102, and test is 110
    At first there was no problems with this. But now all of a sudden it starts to create problems for me. In APEX you can create a coloumn link on an item in a report. In the column link you can set link text, attributes, the page the link links to and you can set items that should be send to the new page.
    The problem that occurs with the link is that APEX uses the APPS name instead of the APP_ID, so that my link will be the same from the development app and the test app. F.x.:
    http://test.test.dk/pls/apex/f?p=APP
    instead of
    http://test.test.dk/pls/apex/f?p=110
    I think that APEX stores some cookie information on the machine that accesses the sites, and the problem hasnt occured untill these cookies ran out.
    I see 2 solutions to this problem:
    1. Install a new server with the development app
    2. Rename the development APP to something different.
    The problem with no 2. is that I will then have to (re) rename the app everytime I release the app to the test server.
    Let me hear some suggestions. How do other people do this?
    Edited by: bjarkekr on 2009-12-22 13:09

    I would recommend separating DEV and TEST into different database instances - they can still be on the same physical server and even share the web server (if you are using Apache/modplsql). All that's needed is a second DAD pointing to the second DB (e.g. your URLs would then look like http://test.test.dk/pls/apexdev/f?p=APP and http://test.test.dk/pls/apextest/f?p=APP if you define a DAD named apexdev to point to the DEV database and a second one named apextest to point to the TEST database).
    If you really have to stick with one DB, then I believe all you need to do is changing the application alias, not the application name itself, for your DEV application (and yes, you would need to change this setting once you migrate from DEV to TEST, but that shouldn't be really that big deal, it's just changing that one setting on the app definition page...). By default the alias is the same as the app name.
    Holger

  • How to install the windows7 agent and monitor the same machine

    Hi ,
    I have installed OMS on Oracle Linux 5.7-64 bit machine. Now I am able monitor the OIM which is installed on Linux. I have some of oracle applications (domains) on windows7 machine. I want monitor the same. On em, agent deployment page I am not able to see the windows agents.
    Can you please guide me how to install the agent on windows and monitor the same?
    OEM version: 11.1.0.1
    Thanks in advance
    Regards,
    Kishore Tummeti

    If you just need to install some agents on Windows the best (imho) option is not to use the push option because getting Cygwin to run can take hours (if at all).
    Here you find a good instruction how to install the agent by hand: http://www.peasland.net/?p=122
    Sometimes the –silent mentioned in step 4b needs not to be put as second argument but as last argument.
    Eric

  • Running 8i and 10g on same UNIX server

    Greetings,
    I am a developer playing DBA, so please forgive me if these are elementary questions. I have no DBA support.
    I have a Solaris 8 server currently running operational software using 8i. My requirement is to load and test 64bit 10g without interfering with the operational system, then test the s/w. Later, I need to switch from 8i to 10g with little or (preferably) no downtime. It would be nice run the two in parallel before the switchover.
    I have a duplicate setup in the development lab, which is what I am working on right now.
    I was able to get 10g loaded without any apparent problems. However, when I try to run 8i and 10g, the listener’s conflict.
    After reading through various forums this morning, I have a few questions that I am hoping someone can answer.
    1. Oracle 8i is owned by user oracle. I loaded 10g as user ora10g. Should I have loaded 10g as user oracle? If so, how do I keep it from overwriting critical 8i files that are in /usr/local/bin, etc?
    2. Oracle 8i’s ORACLE_HOME is /usr/opt/oracle. 10g’s is /export/ora10g. Does 10g need to be in /usr/opt/ora10g? If so, can I set up a link to simulate this, or do I need to reload?
    Thanks in advance,
    Linda

    Won't say much about the platform (solaris) aspect here but anyway...
    1. You could and sometimes should have a different oracle software owner user for installing/managing software, either is ok. You also might want a different group to own the oraInventory (software catalog).
    You can always enter somethng other than default when prompted by root.sh - why not e.g. /home/ora10g/bin?
    2. I dont think it needs to be installed anywhere, but /export is a bit unusual isn't it? Used for nfs etc.

  • Installing Java Stack and Abap Stack, same machine.

    Hi all:
    Does anybody installed Java Stack and Abap Stack on the same machine?
    I installed ABAP stack first, and am trying now to install Java stack but it seems like at the end of the process, ABAP stack. (is not working now).
    Any idea?

    Not sure about installing both as I haven't tried either!
    Anyway, in theory if the SIDs and instance numbers are completely different, then you should be OK. If you ahev the same SID or instance number, I can see possible problems,
    Portal only runs on Java, so in theory any Java system will be OK. NWDW would be a good choice.

  • 9i and 10g on same server (Win 2000) - only use one a time.

    I am working on setting up an oracle server for testing purposes and wonder if it is possible to install 9i and 10g on the same server (Win 2000) without any conflicts? Only one would be used at a time.
    Thanks,
    Luke

    Yes. It is possible to have multiple version in windows. However, it is little tricky compare to unix environment.
    You can comfortably execute respective versions(9i and 10g) GUI interfaces. But you may have issue when you try to execute binaries from command prompt. Each Oracle installation will keep appending the environment variables(path, etc). You can have batch file for each version and execute it.
    GUI interfaces controled by windows registry. Each version will have separte registry entry with necessary variables.
    Ashok

Maybe you are looking for