Oracle 8 on Linux in Multi-Thread mode

I installed Oracle 8.0.5.0.0 on Linux RedHat 5.1
But I cann't startup database in multi-threaed mode.
When I try to startup DB the errors follow
SVRMGR> startup;
ORA-00101: invalid specification for system parameter
MTS_DISPATCHERS
ORA-00102: network protocol
(ADDRESS=(PARTIAL=YES)(PROTOCOL=tcp)) cannot be used by
dispatchers
My configuration files are:
listener.ora
LISTENER =
(ADDRESS_LIST =
(ADDRESS= (PROTOCOL= IPC)(KEY= orcl))
(ADDRESS= (PROTOCOL= IPC)(KEY= PNPKEY))
(ADDRESS= (PROTOCOL= TCP)(Host=
pcstar.kharkov.ua)(Port= 1521))
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(GLOBAL_DBNAME= pcstar.kharkov.ua)
(ORACLE_HOME= /usr/oracle)
(SID_NAME = orcl)
(SID_DESC =
(SID_NAME = extproc)
(ORACLE_HOME = /usr/oracle)
(PROGRAM = extproc)
STARTUP_WAIT_TIME_LISTENER = 0
CONNECT_TIMEOUT_LISTENER = 10
TRACE_LEVEL_LISTENER = OFF
tnslistener working normally
tnsnames.ora
extproc_connection_data =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = orcl))
(CONNECT_DATA = (SID = extproc))
orcl =
(DESCRIPTION =
(ADDRESS = (PROTOCOL= TCP)(Host=
pcstar.pcstar.kharkov.ua)(Port= 1521))
(CONNECT_DATA = (SID = orcl))
orcl_BEQ =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = BEQ)(PROGRAM = /usr/oracle)
(argv0 = oracleorcl)
(args = '(DESCRIPTION =
(LOCAL=YES)(ADDRESS=(PROTOCOL=BEQ)))')
(envs =
'ORACLE_HOME=/usr/oracle,ORACLE_SID=orcl')
initorcl.ora
mts_dispatchers="tcp,1"
mts_max_dispatchers=3
mts_servers=1
mts_max_servers=5
mts_service=orcl
mts_listener_address="(ADDRESS=(PROTOCOL=tcp)(Host=pcstar)(Por
t=1521))"
If anybody started server in Multi-Thread mode, mail me
[email protected]
Best Regards!
Gennady Saldiga
null

Yes, the MTS for TCP protocol does not work. A patch will be
released soon for the production release with the fix for
the MTS problem.
Maturi
Satoshi Hirai (guest) wrote:
: Gennady Saldiga (guest) wrote:
: : I installed Oracle 8.0.5.0.0 on Linux RedHat 5.1
: : But I cann't startup database in multi-threaed mode.
: : When I try to startup DB the errors follow
: : SVRMGR> startup;
: : ORA-00101: invalid specification for system parameter
: : MTS_DISPATCHERS
: : ORA-00102: network protocol
: : (ADDRESS=(PARTIAL=YES)(PROTOCOL=tcp)) cannot be used by
: : dispatchers
: : My configuration files are:
: : listener.ora
: : LISTENER =
: : (ADDRESS_LIST =
: : (ADDRESS= (PROTOCOL= IPC)(KEY= orcl))
: : (ADDRESS= (PROTOCOL= IPC)(KEY= PNPKEY))
: : (ADDRESS= (PROTOCOL= TCP)(Host=
: : pcstar.kharkov.ua)(Port= 1521))
: : SID_LIST_LISTENER =
: : (SID_LIST =
: : (SID_DESC =
: : (GLOBAL_DBNAME= pcstar.kharkov.ua)
: : (ORACLE_HOME= /usr/oracle)
: : (SID_NAME = orcl)
: : (SID_DESC =
: : (SID_NAME = extproc)
: : (ORACLE_HOME = /usr/oracle)
: : (PROGRAM = extproc)
: : STARTUP_WAIT_TIME_LISTENER = 0
: : CONNECT_TIMEOUT_LISTENER = 10
: : TRACE_LEVEL_LISTENER = OFF
: : tnslistener working normally
: : tnsnames.ora
: : extproc_connection_data =
: : (DESCRIPTION =
: : (ADDRESS = (PROTOCOL = IPC)(KEY = orcl))
: : (CONNECT_DATA = (SID = extproc))
: : orcl =
: : (DESCRIPTION =
: : (ADDRESS = (PROTOCOL= TCP)(Host=
: : pcstar.pcstar.kharkov.ua)(Port= 1521))
: : (CONNECT_DATA = (SID = orcl))
: : orcl_BEQ =
: : (DESCRIPTION =
: : (ADDRESS = (PROTOCOL = BEQ)(PROGRAM = /usr/oracle)
: : (argv0 = oracleorcl)
: : (args = '(DESCRIPTION =
: : (LOCAL=YES)(ADDRESS=(PROTOCOL=BEQ)))')
: : (envs =
: : 'ORACLE_HOME=/usr/oracle,ORACLE_SID=orcl')
: : initorcl.ora
: : mts_dispatchers="tcp,1"
: : mts_max_dispatchers=3
: : mts_servers=1
: : mts_max_servers=5
: : mts_service=orcl
mts_listener_address="(ADDRESS=(PROTOCOL=tcp)(Host=pcstar)(Por
: : t=1521))"
: : If anybody started server in Multi-Thread mode, mail me
: : [email protected]
: : Best Regards!
: : Gennady Saldiga
: Hi!
: Same problem occured on my environment (Debian GNU/Linux 2.0).
: But I succeeded to start Multi-thread server on ipc protocol.
: My current configuration file (mts_* in init.ora) as follows:
: mts_dispatchers="ipc,1"
: mts_max_dispatchers=10
: mts_servers=1
: mts_max_servers=10
: mts_service=orcl
: # I confirmed mts_listener_address syntax by manual and
: # v$parameter.
: # Net8 Admn man says: If you have multiple MTS_LISTENER_ADDRESS
: # parameters, they must be adjacent to each other in your
: # initialization file.
mts_listener_address="(ADDRESS=(PROTOCOL=TCP)(host=j-00872)(port=
: 1521))"
: mts_listener_address="(ADDRESS=(PROTOCOL=IPC)(KEY=orcl))"
: So I tested MTS_DISPATCHERS parameter's other syntax.
: The test results are:
: # mts_dispatchers="ipc,1"
: # OK
: # mts_dispatchers="tcp,1"
: # ORA-00101,ORA-00102 occured
: # mts_dispatchers="TCP,1"
: # ORA-00101,ORA-00102 occured
: # mts_dispatchers="ipc,1","tcp,1"
: # ORA-00101,ORA-00102 occured
: # mts_dispatchers="(ADDRESS=(PARTIAL=YES)(PROTOCOL=tcp))"
: # ORA-00101,ORA-00102 occured
: # mts_dispatchers="(ADDRESS=(PARTIAL=NO)(PROTOCOL=tcp))"
: # ORA-00101,ORA-00102 occured
: # mts_dispatchers="(ADDRESS=(PARTIAL=YES)(PROTOCOL=ipc))"
: # OK
: # mts_dispatchers="(PROTOCOL=IPC) (DISPATCHERS=3)"
: # OK
: # mts_dispatchers="(PROTOCOL=TCP) (DISPATCHERS=3)"
: # ORA-00101,ORA-00102 occured
: # mts_dispatchers="(ADDRESS=(PROTOCOL=IPC)(KEY=orcl))
: (dispatchers=3)"
: # OK
mts_dispatchers="(ADDRESS=(PROTOCOL=TCP)(host=j-00872)(port=1521)
: ) (dispatcher
: s=3)"
: # ORA-00101,ORA-00102 occured
mts_dispatchers="(description=(ADDRESS=(PROTOCOL=IPC)(KEY=orcl))(
: connect_data=
: (sid=orcl))) (dispatchers=3)"
: # OK
mts_dispatchers="(description=(ADDRESS=(PROTOCOL=TCP)(host=j-0087
: 2)(port=1521)
: )(connect_data=(sid=orcl))) (dispatchers=3)"
: # ORA-00101,ORA-00102 occured
: ### While the test, sometimes ORA-00472 (ORA-00472: PMON
process
: ### terminated with error) occured when instance shutdown.
: ### I think the error reported in another message
: ### on the same thread.
: It seems dispatcher is not binded to tcp protocol adapter.
: Does anybody have more information about Multi-thread server
: using TCP protocol.
: ### Please forgive my bad english.
: Thank you.
: Satoshi Hirai
null

Similar Messages

  • OCIServerAttach does not return in multi-threaded mode

    RedHat 6.2, Oracle 8.1.5
    With OCIInitialize mode is OCI_THREADED and OCIEnvInit mode is OCI_DEFAULT, and when another application thread is started prior to calling OCIServerAttach, OCIServerAttach never returns, and seems to lock up the app, as the previously started application thread also stops.
    Changing the OCIEnvInit mode to OCI_NO_MUTEX allows OCIServerAttach to complete OK.
    Anyone any idea where to start looking?
    The following is the sample program I used to reproduce the problem:
    #include <iostream.h>
    #include <fstream.h>
    #define GNUSOURCE
    #include <unistd.h>
    #include <pthread.h>
    #include <oci.h>
    void * busyBody(void * )
    for( int i =0; i < 30; ++i )
    cout << " busyBody..." << endl;
    sleep(1);
    return NULL;
    int main()
    pthread_t mId;
    if( 0 != pthread_create( &mId, NULL/*attr*/, busyBody, NULL/*arg*/ ) )
    cerr << "thread failed to start" << endl;
    exit(1);
    sleep(3);
    OCIEnv *envhp;
    OCIError *errhp;
    OCIServer *srvhp;
    OCISvcCtx *svchp;
    int i = 0;
    i = OCIInitialize((ub4) OCI_THREADED,
    (dvoid *)0, //user defined context for the memory call back routines
    (dvoid * (*)(dvoid *, size_t)) 0, //user-defined memory allocation function
    (dvoid * (*)(dvoid *, dvoid *, size_t))0, //user-defined memory re-allocation function
    (void (*)(dvoid *, dvoid *)) 0 ); //user-defined memory free function
    i = OCIEnvInit( (OCIEnv **) &envhp, //a pointer to a handle to the environment
    OCI_DEFAULT, //specifies initialization of an environment mode
    (size_t) 0, //specifies the amount of user memory to be allocated
    (dvoid **) 0 ); //returns a pointer to the user memory of size xtramemsz
    i = OCIHandleAlloc( (dvoid *) envhp, //an environment or a statement handle
    (dvoid **) &errhp, //returns a handle to a handle type
    OCI_HTYPE_ERROR, //specifies the type of handle to be allocated
    (size_t) 0, //specifies an amount of user memory to be allocated
    (dvoid **) 0); //returns a pointer to the user memory of size xtramemsz
    /* server/service contexts */
    i = OCIHandleAlloc( (dvoid *) envhp,
    (dvoid **) &srvhp,
    OCI_HTYPE_SERVER,
    (size_t) 0,
    (dvoid **) 0);
    i = OCIHandleAlloc( (dvoid *) envhp,
    (dvoid **) &svchp,
    OCI_HTYPE_SVCCTX,
    (size_t) 0,
    (dvoid **) 0);
    // Creates an access path to a data source for OCI operations
    cout << "before OCIServerAttach" << endl;
    i = OCIServerAttach( srvhp, //an uninitialized server context handle
    errhp, //an error handle which can be passed to OCIErrorGet()
    // assume local server
    0, //specifies the database (server) to use(specifies a connect string or a service point)
    0, //length of previous parm
    OCI_DEFAULT); //specifies the various modes of operation. For release 8.0, pass as OCI_DEFAULT
    cout << "after OCIServerAttach" << endl;
    sleep(3);
    return 0;
    }

    Firefox doesn't treat each tab as a separate process. While this may be a feature sometime in the future, I don't know of any plans to introduce it anytime soon. Obviously, buying a quad core processor is going to be significantly faster than a dual-core, and your browser is usually less resource intensive than many other programs. I wouldn't use it as your purchasing decision. Firefox will run equally well on a dual-core or a quad-core, but windows and other programs will run better with 4 cores.

  • Error behaviour in multi-threaded mode

    I'm running TestStand 3.0 in sequential mode. In the middle of my sequence I have a multi-threaded (6 threads) section with the appropriate Waits. My problem is that if an Error occurs while inside the multi-threaded section, then execution bypasses the Waits and I lose all the result data from the other threads.
    Is there anything that I can do to get the error thread to force each of the other threads to go through their Wait so that I can get their report data.
    Hurst

    Hi,
    Try using the New Execution option instead of New Thread.
    Or In the Properties set the step to ignore runtime errors. Then put your own error trapping in
    Regards
    Ray Farmer
    Regards
    Ray Farmer

  • Does Firefox 13 run in a multi-threaded mode and can it utilize quad-core processors?

    When purchasing a new PC, one chooses between dual-core vs. quad-core processors and some people claim that Firefox run in a mulch-threaded mode and treats each tab as a separate process and that it can fully utilize the advantage of a quad-core processor. Is that true?

    Firefox doesn't treat each tab as a separate process. While this may be a feature sometime in the future, I don't know of any plans to introduce it anytime soon. Obviously, buying a quad core processor is going to be significantly faster than a dual-core, and your browser is usually less resource intensive than many other programs. I wouldn't use it as your purchasing decision. Firefox will run equally well on a dual-core or a quad-core, but windows and other programs will run better with 4 cores.

  • Multi thread and deadlocks

    I am running dataload from a text file to MS SQL SRVR database. The jobs are running in multi thread mode. I am getting deadlock errors with threads.
    each thread is supposed to delete records.
    with single thread mode log file order is as below
    1. get product to be deleted A
    2. delete A
    3. get product to be deleted B
    4. delete B
    5. get product to be deleted C
    6 delete C
    with multi thread mode
    1. get product to be deleted A
    2. get product to be deleted B
    3. get product to be deleted C
    4. get product to be deleted D
    5. delete A
    6. get product to be deleted E
    7. get product to be deleted F
    8. deadlock while deleteing the product B
    Any clues what is going wrong here?
    Here is the code for the delete method:
    ================================
    PreparedStatement prepStatement = null;
    System.out.println("get product to be deleted " + product);
    prepStatement = conn.prepareStatement("delete from MYTABLE where product = ? ");
    prepStatement.setString(1, product);
    prepStatement.executeUpdate();
    ================================
    Please note that only unique data is sent to each thread.
    Any help is greatly appreciated.
    Thanks

    Thanks for the responses. I need to do update/insert new records after delete operation is completed. Later at the end of the db changes, i close the connection.
    From my understanding deadlocks happen when both threads try to touch the same record same time. But, i am sending unique records for each thread. Unless these is somethign wrong with the query, it should always return unique values.
    This is the query that sends unique records for each thread in sql srvr.
    select distinct top ? columnA, columnB from MyTable where processed = 'FALSE' and columnB = ? "
    This should be equivalent of oracle query
    select distinct columnA, columnB from MyTable where columnB=? rownum > ? and rownum <= ?
    if the top in sql srvr is equivalent to rownum in oracle then i always get distinct records and there should be no deadlocks.
    Any help?
    Thanks

  • VI calling from a multi-thread Teststand

    Hello,
    My test system tests four UUTs at the same time(with batch mode in TS), the code is based on LabVIEW and call from TS, so every step the same VI will be accessed by four thread. however, it runs quite slow even i set the reentrant execution in VI propertise.
    My Quesition:
    Can I do it like this in multi-thread mode of TS?
    How can I make it fast? (convert VI to dll?????)
    Any help will be appreciated.
    Thanks,Steven

    Hello Allen,
    Thanks for your help.
    Problem: I have a LabVIEW VI with parallel code blocks. These blocks run in parallel as expected when I run my VI directly or from a top level VI. However, the code blocks seem to run sequentially when I call my VI from TestStand. Why is this happening and how can I fix it?
    Solution: In order to fix this behavior, simply set the VI Properties of "Execution" of your LabVIEW VI to "Other 1" or "Other 2". This change will make the parallel code blocks in your LabVIEW VI run in parallel as expected. To change this setting, from your LabVIEW VI, go to File»VI Properties. Select the Execution category. Change the Preferred Execution System to be either other 1 or other 2.
    You need to make this change to any LabVIEW VI with parallel code blocks that is called from TestStand. The reason for this is that TestStand is using the LabVIEW ActiveX interface to run LabVIEW VIs. The LabVIEW ActiveX interface sets the caller's execution system to "User Interface" by default. This execution system is not recommended for a VI with parallel code blocks. If your LabVIEW VI's execution system is set to "Same as caller" (which is the default setting when creating a new LabVIEW VI), then it is executed in the User Interface thread when run through the LabVIEW ActiveX interface. This prevents the blocks to be executed in parallel.
    In fact, only one block in my LabVIEW code, but it accessed by four thread from TS. I am sure that my VI can be accessed by four thread simultaneously if I enable the reentrant excution in VI property. I also have tried what mentioned in above document but no use.
    However, if i only add a 1000ms delay to my LabView code instead of the 'calculation', it is fast enough!  what is happening or something i set wrong?
    I don't want to convert all my LabView code to DLL cos too many VIs here, and difficult for mantenance either.
    Any other good solution???
    Thank you Allen...
    Steven

  • Multi-threaded?

    When a MessageListener is attached to a queue, are the messages received in multi-threaded mode? I have some global-variables to be taken care.
    thanks for any help.

    Message listeners have their own thread which is created for them by the client runtime.

  • XA & Oracle - Multi-threaded

    Hi All,
    The Oracle XA documentation says that multi threaded
    applications are
    possible. But when i tried to open a connection to the DB using
    XA_OPEN in
    thread session with the same string it is giving an error in the
    second
    thread saying "XA_ERRPROTO: DB Name not unique", however sucess
    in the first
    thread. So multi-thread means multiple connections to diff DB.
    So i opened one connection in the main thread, and i did a
    XA_START with
    diff. XID in both the threads. Again here in the second thered
    the error is
    "XA_ERRPROTO: Thread already associated".
    So if these are standard ones how to write a mult threaded
    application using
    XA which uses only one DB.
    -prabha
    null

    要好好看,楼主为啥不解释一下呢,或者简单翻译一下思想呢。 
    为了到单位不忘记该连接,故发此贴,希望不要认为是灌水。

  • Oracle Multi-threaded libraries and Forte R3

    Hello all,
    I heard through the grapevine that it would be possible
    to use Oracle 7.3 multi-threaded support with Forte 3.0G.
    (thus making Load-Balancing obsolete in this case)
    Has anyone given a try at this assumption ?
    If yes, on what platform and what versions ?
    Thanks,
    Vincent Figari
    You don't need to buy Internet access to use free Internet e-mail.
    Get completely free e-mail from Juno at http://www.juno.com
    Or call Juno at (800) 654-JUNO [654-5866]
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>

    Hi,
    It is available In R3.0.F.2 also. I tested it this release and it works
    very well. But, you need to make a design pattern on it : A Oracle
    Session can not be shared between several transactions throught threads.
    So You need to manage a pool of DBSessions.
    Hope this Helps,
    Daniel Nguyen
    Freelance Forte Consultant
    Vincent R Figari wrote:
    >
    Hello all,
    I heard through the grapevine that it would be possible
    to use Oracle 7.3 multi-threaded support with Forte 3.0G.
    (thus making Load-Balancing obsolete in this case)
    Has anyone given a try at this assumption ?
    If yes, on what platform and what versions ?
    Thanks,
    Vincent Figari
    You don't need to buy Internet access to use free Internet e-mail.
    Get completely free e-mail from Juno at http://www.juno.com
    Or call Juno at (800) 654-JUNO [654-5866]
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>-
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>

  • Multi-threaded program hangs in Linux with green thread when doing I/O

    Hi,
    I am using green thread(jdk1.3.1) on Linux. My program is in multi-threaded model and has some I/O operations. I am runing one java program using Runtime.exec("java <program>"). Actually the <program> prompts user with some question like "enter location" and waits for the input. Now in my code I am constantly reading the input stream of the process. Once I get the string like "enter location", immediately I send the location through Process o/p stream. But the process is not able to read this and hangs there for ever.
    Please help, what could be the problem? If you need the source code, pls let me know.
    Thanks in advance,
    Sisir

    I had a similar issue few weeks back... If I could see the source I would have a better understanding of the problem and think I could help out. If you want to send it, send it to [email protected]
    thanks,
    JP

  • Multi Thread Server over TCP/IP

    Multi Thread Server over TCP/IP. Does it work?
    In my box it works only over IPC protocol.
    null

    S C Maturi (guest) wrote:
    : Mark Malakanov (guest) wrote:
    : : Multi Thread Server over TCP/IP. Does it work?
    : : In my box it works only over IPC protocol.
    : Mark,
    : Multi threaded server over TCP/IP will not work with
    : the current distribution of Oracle 8.0.5 on Linux.
    : This is corrected and a patch would be released soon.
    : Maturi
    tcp 0 0 bock.nettek-ll:listener bock.nettek-
    llc.co:4196 ESTABLISHED
    tcp 0 0 bock.nettek-llc.co:4196 bock.nettek-
    ll:listener ESTABLISHED
    (I have serveral of these)
    TNS Ping Utility for Linux: Version 8.0.5.0.0 - Production on 07-
    JAN-99 18:45:52
    (c) Copyright 1997 Oracle Corporation. All rights reserved.
    Attempting to contact (ADDRESS=(PROTOCOL=TCP)(HOST=localhost)
    (PORT=1521))
    OK (440 msec)
    ...and from my install log you see that I selected MTS:
    -[ YESNO
    Q> Would you like MTS (Multi-Threaded Server) configured
    and the SQL*Net$
    A> TRUE
    Please explain? Will TCP/IP MTS work via the loopback adapter
    only? So far I have not tried a remote TCP/IP connection.
    -STEVEl
    null

  • Error during Oracle installation in Oracle Enterprise Linux

    Hi All,
    I was trying to install Oracle 10g in Oracle Enterprise Linux, and I'm getting the following error when I give the command *./runInstall*.
    [oracle@localhost database]$ ./runInstaller -responseFile /home/oracle/database/response/enterprise1.rsp -nowelcome
    Starting Oracle Universal Installer...
    Checking installer requirements...
    Checking operating system version: must be redhat-3, SuSE-9, redhat-4, UnitedLinux-1.0, asianux-1 or asianux-2
    Passed
    All installer requirements met.
    Preparing to launch Oracle Universal Installer from /tmp/OraInstall2012-04-05_12-58-11AM. Please wait ...[oracle@localhost database]$ Oracle Universal Installer, Version 10.2.0.1.0 Production
    Copyright (C) 1999, 2005, Oracle. All rights reserved.
    Can't connect to X11 window server using '127.0.0.1:0.0' as the value of the DISPLAY variable.
    127.0.0.1:0.0
    127.0.0.1:0.0
    OUI-10025:Unable to start an interactive install session because of the following error:Can't connect to X11 window server using '127.0.0.1:0.0' as the value of the DISPLAY variable. The DISPLAY environment variable should be set to <hostname or IP address>:<screen>, where the <screen> is usually '0.0'.
    OUI-10026:Depending on the Unix Shell, you can use one of the following commands as examples to set the DISPLAY environment variable:
    - For csh: % setenv DISPLAY 192.168.1.128:0.0
    - For sh, ksh and bash: $ DISPLAY=192.168.1.128:0.0; export DISPLAY
    Use the following command to see what shell is being used:
    echo $SHELL
    Use the following command to view the current DISPLAY environment variable setting:
    echo $DISPLAY
    - Make sure that client users are authorized to connect to the X Server.
    OUI-10027:To enable client users to access the X Server, open an xterm, dtterm or xconsole as the user that started the session and type the following command:
    % xhost +
    To test that the DISPLAY environment variable is set correctly, run a X11 based program that comes with the native operating system such as 'xclock':
    % <full path to xclock... see below>
    If you are not able to run xclock successfully, please refer to your PC-X Server or OS vendor for further assistance.
    Typical path for 'xclock': '/usr/X11R6/bin/xclock'
    I have tried to set the DISPLAY variable to my IP address, but it still gives the same issue.
    Please find the logs for the same:
    [oracle@localhost database]$ /sbin/ifconfig
    eth0 Link encap:Ethernet HWaddr 00:0C:29:95:3B:4F
    inet addr:192.168.64.128 Bcast:192.168.64.255 Mask:255.255.255.0
    inet6 addr: fe80::20c:29ff:fe95:3b4f/64 Scope:Link
    UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
    RX packets:532694 errors:0 dropped:0 overruns:0 frame:0
    TX packets:288167 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:1000
    RX bytes:792077163 (755.3 MiB) TX bytes:16147337 (15.3 MiB)
    Interrupt:193 Base address:0x2024
    lo Link encap:Local Loopback
    inet addr:127.0.0.1 Mask:255.0.0.0
    inet6 addr: ::1/128 Scope:Host
    UP LOOPBACK RUNNING MTU:16436 Metric:1
    RX packets:3280 errors:0 dropped:0 overruns:0 frame:0
    TX packets:3280 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:0
    RX bytes:1739143 (1.6 MiB) TX bytes:1739143 (1.6 MiB)
    [oracle@localhost database]$ export DISPLAY=192.168.64.128:0.0
    [oracle@localhost database]$ echo $DISPLAY
    192.168.64.128:0.0
    Please suggest on what can be done as this is the last step for the Oracle installation which I'm unable to complete.
    Let me know for any more details needed.
    Thanks
    Ravi
    Ph: +919583750774

    Hi,
    Thanks for the immediate response.
    Now I'm getting the following error:
    [oracle@scondw01 database]$ ./runInstaller -force -responseFile /u01/database/response/enterprise1.rsp -silent -nowelcome
    Starting Oracle Universal Installer...
    Checking installer requirements...
    Checking operating system version: must be redhat-3, SuSE-9, redhat-4, UnitedLinux-1.0, asianux-1 or asianux-2
    Passed
    All installer requirements met.
    Preparing to launch Oracle Universal Installer from /tmp/OraInstall2012-04-05_09-10-03PM. Please wait ...[oracle@scondw01 database]$ Oracle Universal Installer, Version 10.2.0.1.0 Production
    Copyright (C) 1999, 2005, Oracle. All rights reserved.
    Unexpected Signal : 11 occurred at PC=0xB7C297CE
    Function=(null)
    Library=/tmp/OraInstall2012-04-05_09-10-03PM/jre/1.4.2/lib/i386/client/libjvm.so
    NOTE: We are unable to locate the function name symbol for the error
    just occurred. Please refer to release documentation for possible
    reason and solutions.
    Current Java thread:
    at oracle.sysman.oii.oiip.osd.unix.OiipuUnixOps.chgrp(Native Method)
    at oracle.sysman.oii.oiip.oiipg.OiipgBootstrap.changeGroup(OiipgBootstrap.java:1206)
    at oracle.sysman.oii.oiip.oiipg.OiipgBootstrap.writeInvLoc(OiipgBootstrap.java:900)
    at oracle.sysman.oii.oiip.oiipg.OiipgBootstrap.updateInventoryLoc(OiipgBootstrap.java:408)
    at oracle.sysman.oii.oiic.OiicSessionInterfaceManager.doInvSetupOperations(OiicSessionInterfaceManager.java:400)
    at oracle.sysman.oii.oiic.OiicSilentInterfaceManager.doInvSetupOperations(OiicSilentInterfaceManager.java:679)
    at oracle.sysman.oii.oiic.OiicInvSetupWCCE.doOperation(OiicInvSetupWCCE.java:217)
    at oracle.sysman.oii.oiif.oiifb.OiifbCondIterator.iterate(OiifbCondIterator.java:171)
    at oracle.sysman.oii.oiic.OiicPullSession.doOperation(OiicPullSession.java:1273)
    at oracle.sysman.oii.oiic.OiicSessionWrapper.doOperation(OiicSessionWrapper.java:289)
    at oracle.sysman.oii.oiic.OiicInstaller.run(OiicInstaller.java:546)
    at oracle.sysman.oii.oiic.OiicInstaller.runInstaller(OiicInstaller.java:929)
    at oracle.sysman.oii.oiic.OiicInstaller.main(OiicInstaller.java:866)
    Dynamic libraries:
    08048000-08056000 r-xp 00000000 08:01 511751 /tmp/OraInstall2012-04-05_09-10-03PM/jre/1.4.2/bin/java
    08056000-08059000 rwxp 0000d000 08:01 511751 /tmp/OraInstall2012-04-05_09-10-03PM/jre/1.4.2/bin/java
    a4d43000-a4d4a000 r-xp 00000000 08:01 659354 /tmp/OraInstall2012-04-05_09-10-03PM/oui/lib/linux/liboraInstaller.so
    a4d4a000-a4d4b000 rwxp 00006000 08:01 659354 /tmp/OraInstall2012-04-05_09-10-03PM/oui/lib/linux/liboraInstaller.so
    a4d4b000-a4d88000 r-xs 00000000 08:01 659257 /tmp/OraInstall2012-04-05_09-10-03PM/oui/jlib/jewt4-nls.jar
    a4d88000-a4f2f000 r-xs 00000000 08:01 659256 /tmp/OraInstall2012-04-05_09-10-03PM/oui/jlib/jewt4.jar
    a4f2f000-a4f67000 r-xs 00000000 08:01 659275 /tmp/OraInstall2012-04-05_09-10-03PM/oui/jlib/OraPrereq.jar
    a4f67000-a5085000 r-xs 00000000 08:01 659274 /tmp/OraInstall2012-04-05_09-10-03PM/oui/jlib/classes12.jar
    a5085000-a508d000 r-xs 00000000 08:01 659272 /tmp/OraInstall2012-04-05_09-10-03PM/oui/jlib/swingaccess.jar
    a508d000-a50da000 r-xs 00000000 08:01 659255 /tmp/OraInstall2012-04-05_09-10-03PM/oui/jlib/ewt3-nls.jar
    a50da000-a50e0000 r-xs 00000000 08:01 659273 /tmp/OraInstall2012-04-05_09-10-03PM/oui/jlib/ewt3-swingaccess.jar
    a50e0000-a5365000 r-xs 00000000 08:01 659254 /tmp/OraInstall2012-04-05_09-10-03PM/oui/jlib/ewt3.jar
    a5365000-a538c000 r-xs 00000000 08:01 659259 /tmp/OraInstall2012-04-05_09-10-03PM/oui/jlib/help4-nls.jar
    a538c000-a53f1000 r-xs 00000000 08:01 659258 /tmp/OraInstall2012-04-05_09-10-03PM/oui/jlib/help4.jar
    a53f1000-a54a6000 r-xs 00000000 08:01 659271 /tmp/OraInstall2012-04-05_09-10-03PM/oui/jlib/oracle_ice.jar
    a54a6000-a54c3000 r-xs 00000000 08:01 659269 /tmp/OraInstall2012-04-05_09-10-03PM/oui/jlib/InstHelp_zh_TW.jar
    a54c3000-a54e0000 r-xs 00000000 08:01 659268 /tmp/OraInstall2012-04-05_09-10-03PM/oui/jlib/InstHelp_zh_CN.jar
    a54e0000-a54fe000 r-xs 00000000 08:01 659267 /tmp/OraInstall2012-04-05_09-10-03PM/oui/jlib/InstHelp_pt_BR.jar
    a54fe000-a551b000 r-xs 00000000 08:01 659266 /tmp/OraInstall2012-04-05_09-10-03PM/oui/jlib/InstHelp_ko.jar
    a551b000-a5537000 r-xs 00000000 08:01 659265 /tmp/OraInstall2012-04-05_09-10-03PM/oui/jlib/InstHelp_ja.jar
    a5537000-a5554000 r-xs 00000000 08:01 659264 /tmp/OraInstall2012-04-05_09-10-03PM/oui/jlib/InstHelp_it.jar
    a5554000-a5571000 r-xs 00000000 08:01 659263 /tmp/OraInstall2012-04-05_09-10-03PM/oui/jlib/InstHelp_fr.jar
    a5571000-a558e000 r-xs 00000000 08:01 659262 /tmp/OraInstall2012-04-05_09-10-03PM/oui/jlib/InstHelp_es.jar
    a558e000-a55ad000 r-xs 00000000 08:01 659261 /tmp/OraInstall2012-04-05_09-10-03PM/oui/jlib/InstHelp_de.jar
    a55ad000-a55c9000 r-xs 00000000 08:01 659260 /tmp/OraInstall2012-04-05_09-10-03PM/oui/jlib/InstHelp.jar
    a55c9000-a55ea000 r-xs 00000000 08:01 659270 /tmp/OraInstall2012-04-05_09-10-03PM/oui/jlib/InstImages.jar
    a55ea000-a55f0000 r-xs 00000000 08:01 659345 /tmp/OraInstall2012-04-05_09-10-03PM/oui/jlib/ojmisc.jar
    a55f0000-a56ce000 r-xs 00000000 08:01 659342 /tmp/OraInstall2012-04-05_09-10-03PM/oui/jlib/emCfg.jar
    a56ce000-a56e1000 r-xs 00000000 08:01 659344 /tmp/OraInstall2012-04-05_09-10-03PM/oui/jlib/orai18n-mapping.jar
    a56e1000-a57e1000 r-xs 00000000 08:01 659343 /tmp/OraInstall2012-04-05_09-10-03PM/oui/jlib/orai18n-collation.jar
    a57e1000-a5866000 r-xs 00000000 08:01 659341 /tmp/OraInstall2012-04-05_09-10-03PM/oui/jlib/xml.jar
    a5866000-a5868000 r-xs 00000000 08:01 659349 /tmp/OraInstall2012-04-05_09-10-03PM/oui/jlib/OraInstallerNet.jar
    a5868000-a5876000 r-xs 00000000 08:01 659350 /tmp/OraInstall2012-04-05_09-10-03PM/oui/jlib/share.jar
    a5876000-a593d000 r-xs 00000000 08:01 659347 /tmp/OraInstall2012-04-05_09-10-03PM/oui/jlib/srvm.jar
    a593d000-a5a65000 r-xs 00000000 08:01 659346 /tmp/OraInstall2012-04-05_09-10-03PM/oui/jlib/xmlparserv2.jar
    a5a65000-a5a72000 r-xs 00000000 08:01 659351 /tmp/OraInstall2012-04-05_09-10-03PM/oui/jlib/oneclick.jar
    a5a72000-a5e0f000 r-xs 00000000 08:01 659348 /tmp/OraInstall2012-04-05_09-10-03PM/oui/jlib/OraInstaller.jar
    a5e0f000-a5e2b000 r-xs 00000000 08:01 642421 /tmp/OraInstall2012-04-05_09-10-03PM/jre/1.4.2/lib/ext/sunjce_provider.jar
    a5e2b000-a5ee6000 r-xs 00000000 08:01 642420 /tmp/OraInstall2012-04-05_09-10-03PM/jre/1.4.2/lib/ext/localedata.jar
    a5ee6000-a5ef3000 r-xs 00000000 08:01 642419 /tmp/OraInstall2012-04-05_09-10-03PM/jre/1.4.2/lib/ext/ldapsec.jar
    a5ef3000-a5ef6000 r-xs 00000000 08:01 642418 /tmp/OraInstall2012-04-05_09-10-03PM/jre/1.4.2/lib/ext/dnsns.jar
    a60fa000-a62fa000 r-xp 00000000 08:01 330503 /usr/lib/locale/locale-archive
    b5bfb000-b618a000 r-xs 00000000 08:01 511764 /tmp/OraInstall2012-04-05_09-10-03PM/jre/1.4.2/lib/charsets.jar
    b618a000-b619b000 r-xs 00000000 08:01 511802 /tmp/OraInstall2012-04-05_09-10-03PM/jre/1.4.2/lib/jce.jar
    b619b000-b6274000 r-xs 00000000 08:01 511803 /tmp/OraInstall2012-04-05_09-10-03PM/jre/1.4.2/lib/jsse.jar
    b6274000-b628a000 r-xs 00000000 08:01 196225 /tmp/OraInstall2012-04-05_09-10-03PM/jre/1.4.2/lib/sunrsasign.jar
    b62d4000-b79c2000 r-xs 00000000 08:01 511810 /tmp/OraInstall2012-04-05_09-10-03PM/jre/1.4.2/lib/rt.jar
    b79c2000-b79d6000 r-xp 00000000 08:01 659151 /tmp/OraInstall2012-04-05_09-10-03PM/jre/1.4.2/lib/i386/libzip.so
    b79d6000-b79d9000 rwxp 00013000 08:01 659151 /tmp/OraInstall2012-04-05_09-10-03PM/jre/1.4.2/lib/i386/libzip.so
    b79d9000-b79f9000 r-xp 00000000 08:01 659136 /tmp/OraInstall2012-04-05_09-10-03PM/jre/1.4.2/lib/i386/libjava.so
    b79f9000-b79fb000 rwxp 0001f000 08:01 659136 /tmp/OraInstall2012-04-05_09-10-03PM/jre/1.4.2/lib/i386/libjava.so
    b79fb000-b7a0b000 r-xp 00000000 08:01 659150 /tmp/OraInstall2012-04-05_09-10-03PM/jre/1.4.2/lib/i386/libverify.so
    b7a0b000-b7a0d000 rwxp 0000f000 08:01 659150 /tmp/OraInstall2012-04-05_09-10-03PM/jre/1.4.2/lib/i386/libverify.so
    b7a0d000-b7a16000 r-xp 00000000 08:01 344676 /lib/libnss_files-2.3.4.so
    b7a16000-b7a17000 r-xp 00008000 08:01 344676 /lib/libnss_files-2.3.4.so
    b7a17000-b7a18000 rwxp 00009000 08:01 344676 /lib/libnss_files-2.3.4.so
    b7a1f000-b7a23000 rwxs 00000000 08:01 249425 /tmp/hsperfdata_oracle/5761
    b7a23000-b7a44000 r-xp 00000000 08:01 344698 /lib/tls/libm-2.3.4.so
    b7a44000-b7a45000 r-xp 00020000 08:01 344698 /lib/tls/libm-2.3.4.so
    b7a45000-b7a46000 rwxp 00021000 08:01 344698 /lib/tls/libm-2.3.4.so
    b7a46000-b7a58000 r-xp 00000000 08:01 344660 /lib/libnsl-2.3.4.so
    b7a58000-b7a59000 r-xp 00011000 08:01 344660 /lib/libnsl-2.3.4.so
    b7a59000-b7a5a000 rwxp 00012000 08:01 344660 /lib/libnsl-2.3.4.so
    b7a5e000-b7a66000 r-xp 00000000 08:01 659161 /tmp/OraInstall2012-04-05_09-10-03PM/jre/1.4.2/lib/i386/native_threads/libhpi.so
    b7a66000-b7a67000 rwxp 00007000 08:01 659161 /tmp/OraInstall2012-04-05_09-10-03PM/jre/1.4.2/lib/i386/native_threads/libhpi.so
    b7a67000-b7e6d000 r-xp 00000000 08:01 659159 /tmp/OraInstall2012-04-05_09-10-03PM/jre/1.4.2/lib/i386/client/libjvm.so
    b7e6d000-b7e88000 rwxp 00405000 08:01 659159 /tmp/OraInstall2012-04-05_09-10-03PM/jre/1.4.2/lib/i386/client/libjvm.so
    b7e9c000-b7fc1000 r-xp 00000000 08:01 344696 /lib/tls/libc-2.3.4.so
    b7fc1000-b7fc3000 r-xp 00124000 08:01 344696 /lib/tls/libc-2.3.4.so
    b7fc3000-b7fc5000 rwxp 00126000 08:01 344696 /lib/tls/libc-2.3.4.so
    b7fc7000-b7fc9000 r-xp 00000000 08:01 344656 /lib/libdl-2.3.4.so
    b7fc9000-b7fca000 r-xp 00001000 08:01 344656 /lib/libdl-2.3.4.so
    b7fca000-b7fcb000 rwxp 00002000 08:01 344656 /lib/libdl-2.3.4.so
    b7fcc000-b7fda000 r-xp 00000000 08:01 344700 /lib/tls/libpthread-2.3.4.so
    b7fda000-b7fdb000 r-xp 0000d000 08:01 344700 /lib/tls/libpthread-2.3.4.so
    b7fdb000-b7fdc000 rwxp 0000e000 08:01 344700 /lib/tls/libpthread-2.3.4.so
    b7fe9000-b7ffe000 r-xp 00000000 08:01 344641 /lib/ld-2.3.4.so
    b7ffe000-b7fff000 r-xp 00015000 08:01 344641 /lib/ld-2.3.4.so
    b7fff000-b8000000 rwxp 00016000 08:01 344641 /lib/ld-2.3.4.so
    Heap at VM Abort:
    Heap
    def new generation total 576K, used 387K [0xa6550000, 0xa65f0000, 0xa70d0000)
    eden space 512K, 69% used [0xa6550000, 0xa65a8f48, 0xa65d0000)
    from space 64K, 50% used [0xa65d0000, 0xa65d8080, 0xa65e0000)
    to space 64K, 0% used [0xa65e0000, 0xa65e0000, 0xa65f0000)
    tenured generation total 1408K, used 1090K [0xa70d0000, 0xa7230000, 0xafb50000)
    the space 1408K, 77% used [0xa70d0000, 0xa71e0938, 0xa71e0a00, 0xa7230000)
    compacting perm gen total 4864K, used 4693K [0xafb50000, 0xb0010000, 0xb3b50000)
    the space 4864K, 96% used [0xafb50000, 0xaffe5698, 0xaffe5800, 0xb0010000)
    Local Time = Thu Apr 5 21:10:05 2012
    Elapsed Time = 0
    # HotSpot Virtual Machine Error : 11
    # Error ID : 4F530E43505002EF
    # Please report this error at
    # http://java.sun.com/cgi-bin/bugreport.cgi
    # Java VM: Java HotSpot(TM) Client VM (1.4.2_08-b03 mixed mode)
    # An error report file has been saved as hs_err_pid5761.log.
    # Please refer to the file for further information.
    Please let me know what can be the solution.
    thanks
    Ravikanth

  • Guide to installing XE and Apex on Oracle Enterprise Linux 5.3 (64 bit)

    I have just been through a time consuming and frustrating process of installing Oracle XE 10gR2 on Oracle Enterprise Linux 5.3 x86-64 and I want to share my experience so that others can benefit from it and overcome the same problems more quickly.
    Prior to starting I had installed OEL 5.3 and been using it for a few days. The system I am using is a home built box with an AMD Phenom X4 955 Black Edition, 8 Gb RAM, Highpoint RR2680 RAID controller with 4 1TB disks in a RAID5 array and an additional 320Gb HDD storing the OS. I am using KDE3.5 on the desktop.
    The main problem I encountered was with SELinux. As I eventually intend to have this system exposed on the Internet I was reluctant to switch it off despite having read extensively about the issues surrounding it and Oracle. I had several failed attempts at the installation process before succumbing to the reality that SELinux and Oracle are not happy bedfellows. I decided to switch SELinux to permissive mode having followed the advice here.
    I found a very helpful guide to installing XE on Linux here as part of the installation of an application called Spacewalk. Note that you do not need to complete the whole Spacewalk installation, but just follow the instructions in the linked page.
    Before you start you need to ensure that the UID of your oracle user is less than 500. Mine was 500, so I used the following commands to fix this:
    usermod -u 250 oracle
    find / -uid 500 -exec chown oracle {} \;
    These change the oracle UID to 250 (but check that isn't already used first!) and the find command searches for all files that were owned by oracle (but weren't after the usermod cmd) and changes them back to oracle's ownership.
    Now follow the Spacewalk instructions until you reach the Server Setup section. Before you do this you need to make a couple of changes to the script /etc/init.d/oracle-xe. I found these changes in various places, such as [link(1)|http://forums.oracle.com/forums/thread.jspa?messageID=1345771&#1345771] and [link(2)|http://dbataj.blogspot.com/2008/08/lblibrarypath-is-not-set-on-startup.html].
    Note that in link(1) the oracle-xe-selinux packages installed have the same effect as the chcon command on the shared libraries so it isn't necessary to perform this step.
    Open /etc/init.d/oracle-xe in vi (or your favourite editor) and do the following:
    line 49: change /bin/su to /sbin/runuser
    after line 52 (export PATH...) add the following lines:
    LD_LIBRARY_PATH=$ORACLE_HOME/lib:$LD_LIBRARY_PATH
    export LD_LIBRARY_PATH
    There are further changes recommended to /etc/init.d/oracle-xe in [this post|http://forums.oracle.com/forums/thread.jspa?messageID=3201491&#3201491] but I haven't done them yet.
    Having done the above changes you can now configure Oracle XE by running /etc/init.d/oracle-xe configure (as root!). As I have Apache Tomcat running on port 8080 I changed the default HTTP port to 8500 but kept the listener on its default port of 1521. Once the confuration script is done you will need to change the ports SELinux uses for Oracle as follows:
    semanage port -d -t oracle_port_t -p tcp 9000 - deletes port 9000, which is the SELinux default port for Apex
    semanage port -a -t oracle_port_t -p tcp 1521 - ensure that listener port is OK (assuming you used default of 1521, change accordingly if you didn't)
    semanage port -a -t oracle_port_t -p tcp 8500 - add the new Apex HTTP port to SELinux
    After all this running:
    semanage port -l | grep oracle
    should show you:
    oracle_port_t tcp 1521, 8500
    I ignored the TNSNAMES.ORA part of the Spacewalk instructions and proceeded with the 'Client setup on 64bit platform' and 'Configuring sqlplus' sections.
    For the latter I created a bash script which I have made available in the oracle user and my own user's home directories:
    cat > configure_oracle_10g_xe.sh
    ORACLE_HOME=/usr/lib/oracle/xe/app/oracle/product/10.2.0/server
    PATH=$PATH:$ORACLE_HOME/bin
    ORACLE_SID=XE
    export ORACLE_HOME ORACLE_SID PATH
    LD_LIBRARY_PATH=$ORACLE_HOME/lib:$LD_LIBRARY_PATH
    export LD_LIBRARY_PATH
    I did this as I intend to install other Oracle databases, e.g. 11gR2, on this box later so I didn't want to put the above in .bashrc.
    Having done the above you should be able to log into the database using sqlplus and the XE setup is complete.
    The upgrade of Apex 2.2 to Apex 3.2.1 was fairly painless so I won't go into much detail about it - just follow the instructions provided by Oracle.
    The only issue I had was right at the end of the process and is documented and answered in [this thread|http://forums.oracle.com/forums/thread.jspa?threadID=958611&tstart=0].
    That's it - I hope somebody will find this useful.

    On Oracle Metalink site, there are many documents which says that Oracle 32 bit software works on 32 bits OS and 64 bits software works on 64 bits OS. Official support is only in those combination....
    So there is no good way to help you in your case-XE is 32 bit application with hard codded compiled libraries which most of them would not work on 64 bit OS.
    Sorry
    8(
    Hope this helps

  • Found dead multi-threaded server

    hi all
    My database is not running in multithread mode.
    mts_dispatchers = "(protocol=TCP)"
    I am getting such error
    found dead multi-threaded server 'S000', pid = (8, 4)
    Pl guide me
    suresh

    go on metalink http://metalink.oracle.com
    Good Luck,
    Fred

  • Is our oracle 9iR2 db is a shared mode or dedicated mode? whats difference?

    Friends,
    We are using Oracle 9iR2 Database. How can i know our db is a shared Server architecture or a dedicated server architecture?
    Also, what is the difference between these two? Please tell me in short.
    Note: I didn't install/create our db.
    Thanks
    Sathyguy

    Check out the distinct values in SERVER column in V$SESSION. If it reads DEDICATED, then you are in dedicated mode. If it reads NONE or SHARED, the you are using MTS (or shared server mode).
    You can have DEDICATED connection in MTS mode also by changing the TNS entry.
    Dedicated mode: Each of these client connections takes up some resources (memory, CPU time, net-work bandwidth…) on the database server. More the number of client connections, more is the resource consumption, more is the delay is processing the requests.
    A database serving an application, where-in most of the server processes spawned by the client requests are idle for 90+% of the connect time, is a good candidate for Ora-cle Multi-Threaded Server (MTS) mode configuration.
    Multi-Threaded Server is configuration method in which one server process can handle more than one client connections/processes/requests.
    As there are a few number of server processes created on server, the server re-sources are utilised to a minimum. This enables the database administrator to define more number of dispatcher processes to handle the requests from the clients and more number of shared server processes that handle and process the requests be-tween these dispatchers and database kernel

Maybe you are looking for