Oci8lib.so & libclntsh.so.10.1 problem (Phusion Passenger + Rails + Oracle)

Here's the error message :
<hr />
Oracle/OCI libraries could not be loaded: libclntsh.so.10.1: cannot open shared object file: No such file or directory - /usr/local/lib/ruby/site_ruby/1.8/x86_64-linux/oci8lib.so
<hr />
When deploying the Rails app from mongrel, the app runs fine. But the app can't seem to connect to the oracle db when it is deployed via Phusion Passenger because it can't load the libclntsh.so.10.1 library. Googling for that error message brought us to a number of solutions and most of them has something to do with setting and exporting the $LD_LIBRARY_PATH from... well almost anywhere it can be set/exported to/from, which includes : a ruby wrapper, somewhere in environment.rb, inside the httpd.conf but none of them seems to fix the problem. We're kinda stumped here because we are can't really identify what's causing this problem.
Fmagsipoc

These two articles talk about deployment of Phusion Passenger + Rails + Oracle:
http://blog.phusion.nl/2008/12/16/passing-environment-variables-to-ruby-from-phusion-passenger/
http://blog.rayapps.com/2008/05/21/using-mod_rails-with-rails-applications-on-oracle/
Make sure the path to Oracle Instant Client or Oracle Full Client libraries is added to LD_LIBRARY_PATH and the user running Apache has right access to it.

Similar Messages

  • Problem in installation of Oracle Express

    I have problem in installation of Oracle Express 6
    My problem is that when i click the setup file it doesnt go anyfurther and the computer does not hang even.And even if i try to run the setup file again i get the same response.
    i am installing all this on Windows Server 2000.
    Can anyone help me.

    It's rare to get apps assistance in the database forum. You might have better luck going to 'http://forums.oracle.com' and asking in the appropriate foum. Look for
    E-Business Suite
    Applications Technology
        * •  XML Publisher
        * •  Managing Oracle Applications
        * •  OA Framework
        * •  Install and Upgrade <-------
        * •  More...

  • OFT- Problem while Playback in Oracle Apps 11i

    hi,
    As earlier Oracle E-biz Application are not working in OFT8.5 but now in the latest version OFT9.0 as per the information it will work fine.
    But i'm facing the problem while playback the Oracle E-biz Application.
    I have recorded Order Management Process in Oracle Apps11i. At the time of recording its work fine.
    Steps which i had done
    1) Login into the application
    2) Click on the Responsibility Order Management--> Sales Order
    3) It opens the external Applet window
    4) Open the Sales Order Form where i enter the Customer Name and add the line item for the customer and then book the order
    Stop the Recording and then playback the script
    It works perfectly fine till step3 but on Step4 what ever the action user had done on Sales Order Form it is not playing back that action and just close the form and generate the Pass Result.
    So i want to know why it is not playback the action which user had done on the form.
    I really appreciate if any one can give the solution to the problem

    Thiru,
    Which concurrent manager consumes the CPU usage? Are you able to identify it?
    Any errors in the CM log file? Did you try to start the CM with diag=y and see if any errors are reported in the log files?
    What happen to the CPU usage when you stop the CM?
    I assume that you are running Purge Concurrent Manager/Requests on regular basis, so this should not be an issue here.
    Please review the following notes, and see if it helps.
    Note: 114380.1 - Concurrent Manager Processes Taking Lots of CPU
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=114380.1
    Note: 264752.1 - FNDLIBR Consuming Memory Causing CPU Utilization To Increase Daily
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=264752.1
    System is Live since 2006 and the issue started only today.I assume no changes have been done recently, correct?
    Regards,
    Hussein

  • Problem in connecting with Oracle

    hi everybody
    I have a problem in connecting with Oracle express 10g. I got an error that doesn't allow me to connect. hope anyone can help me and solve this problem
    --------------------Configuration: test - JDK version 1.6.0_20 <Default> - <Default>--------------------
    java.sql.SQLException: Io exception: The Network Adapter could not establish the connection
    at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:112)
    at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:146)
    at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:255)
    at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:387)
    at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:414)
    at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:165)
    at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:35)
    at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:801)
    at java.sql.DriverManager.getConnection(DriverManager.java:582)
    at java.sql.DriverManager.getConnection(DriverManager.java:185)
    at DB.dbConnect(test.java:36)
    at test.main(test.java:18)
    this is the code that I'm following
    import java.io.*; import java.sql.*; public class test2 {   public static void main(String[] args) {     try {       Connection con=null;       Class.forName("oracle.jdbc.driver.OracleDriver");       con=DriverManager.getConnection(         "jdbc:oracle:thin:@PLANET:1521:ORCL",         "scott",         "tiger");       Statement s=con.createStatement();       s.execute("INSERT INTO BOOKS VALUES('A Tale of Two Cities','William Shakespeare',4567891231,'05-JAN-1962')");             s.close();       con.close();   } catch(Exception e){e.printStackTrace();} } }
    Edited by: Vantasia on Nov 12, 2010 10:18 AM

    1. Is the connection url correct?
    "jdbc:oracle:thin:@PLANET:1521:ORCL" is fine.
    2. Is the TNS listener started?
    c:\oracle\product\ora10\bin> lsnrctl status
    3. Is a firewall between client and database server?
    Connection url with firewall would be different.
    http://download.oracle.com/docs/cd/B28359_01/java.111/b31224/jdbcthin.htm#i1004276

  • Problem in generating the Oracle report6i to PDF file.

    Hi guys,
    I had encounter problem in generating the Oracle report6i to PDF file. The Amount column once the report is genrated to PDF it double the amount reflected in the PDF file report. See sample scenarios below:
    Can anybody help me explain this issue how it really happens?
    Example:
    FROM ORACLE REPORTS6i :
    ITEM # PRODUCT AMOUNT
    1 PRINTER 5,000
    2 KEYBOARD 2,000
    TO PDF FILE :
    ITEM # PRODUCT AMOUNT
    1 PRINTER 10,000
    2 KEYBOARD 4,000
    Thank you.
    Lala

    Hi "LawlordsX",
    I do understand the issue, something seems to have messed up the Shell Extensions on the 2 Lenovo laptops you talked about.
    Could you please check if the 2 m/c(s) have an additional version of Office installed in parellal to Office 2007, say Office 2010 trial pre-installed on them. This can be verified via CONTROL PANEL > PROGRAMS AND FEATURES > Check for the versions of Office installed. If yes, please let me know the additional Office software version/type.
    Also, could you be more specific about the bitage of the system, i.e. whether the Windows 7 m/c is 32-bit or 64-bit?
    This can be checked from CONTROL PANEL > SYSTEM > Under "System" section check for "System Type".
    If converting multiple files at a time to PDF is an issue, as an alternate you could use FILE > CREATE > BATCH CREATE MULTIPLE FILES to workaround the problem for the time being.
    Thanks!

  • Urgent!!! problems deploying BC4J to Oracle 8i

    I have the following problem deploying BC4J to Oracle 8i as EJB :
    When I tried to deploy as an EJB following the guidelines in the following help page:
    Contents help--> Developing Business Components-->Deploying Business Components-->Creating Deployment Profiles and Deploying
    I get the following error :
    An exception occurred during code generation: Class not found: bc4jEjbtrial.common.ejb.DeptAppModHome.class
    *** Errors occurred while deploying the EJB to JServer ***
    Could someone please tell me where I am possibly going wrong?

    What version of jdev are you running? The Bc4jtrial package sounds suspicious.
    Thanks
    Blaise

  • Problem with implicitly created Oracle pipes

    Hi, I am having a problem with implicitly created Oracle pipes. I am not sure if this is the correct forum for this topic, but I could not see one which suited better..
    I am using Oracle pipes as a commiunication mechanism between processes (some are written in PL/SQL and other in PRO*C).
    The general problem I have is that if a timeout occurs during the communication process, I end up with 1 or perhaps 2 implicitly created pipes.
    The biggest problem for me is that I am unable to determine if a create is implicitly created (via dbms_pipe.send_message or receive_message). This causes problems, since these implicitly created pipes are left behind and not deleted. I'll show you the basic flow of the processes and you shall see my problem.
    server: create request pipe "req_pipe"
    server: listen for request on requests pipe.
    client: create two pipes for comms with server.
    client: send request and the names of the newly created pipes to the server.
    server: read request and pipename from request pipe (from this point all comms between the client and server are now done over the 2 pipes the client created).
    server: send ack message to client to ensure they are still there (since requests can be queued in the request pipe and clients could have timed out before the request is received)
    client: send "i'm still here" ack back to the server.
    server: process request and send result back to client.
    client: send ack back to server to let server know we have received the response.
    server: send ack back to client to show that work is now committed.
    OK thats the general event flow. I use the rule, that pipes created by a process are removed by a process. So the client always removes the pipes it created in all situations. But since this can happen at any point we can get in the situation:
    client: timeout occurs, delete pipes.
    server: send message to client (creates an implicit pipe) and therefor works (no errors raised)
    server: do a read for response from previous message. (implicitly creates pipe) (will fail).
    Now we have two implicitly created pipes! These pipes will exist until the database instance is shutdown, and in a poorly performing environment, we could get thousands of these pipes lying around... not a good situation.
    How can I either stop pipes being implicilty created, or how do I detect if a pipe was implicitly created.
    I have tried a couple of things, like using v$db_pipes to check if a pipe exists before doing send/reveive calls but this is FAR to slow to do a select on that view.
    We have also looked at keeping a record of pipes created by the client then have some process (perhaps the server) clean up these pipes after some time frame. This is a workable solution but is not favourable since it adds extra overhead having to check these pipes often, and created an extra level of complexity which is not required..
    Any suggestions will be greatly appreciated.
    Feel free to email me with any suggestions on my email provided below, or just post a reply to this formum..
    Many thanks,
    Karl Bridger
    [email protected]

    I solved the problem by changing the SOAP massage format from Document/Wrapped to Document/Literal

  • Problems with Download of Oracle IFS /IFS Devkit for NT

    I am having problems with download of Oracle IFS and Oracle IFS Devkit for NT.
    When I ran the ifsdevkit.bat file the last four files did not get copied over. Subsequently when I ran the upload_ifsdevkit batch file as indicated in document I got error message saying
    'System cannot find the path specified'.
    When I opened the batch file it is looking for BIN directory under the C:\OraHome1\ifs directory but none exists. I wonder if this is the cause of problem. This would mean that the ifs1081.zip file has a bug in that it did not create the BIN directory and files under C:\OraHome1\ifs
    Would appreciate if somebody can help. Thanks
    null

    Is C:\OraHome1 your ORACLE_HOME directory? (Usually, it's C:\Oracle\Ora81)
    Also, have you installed iFS (successfully) in that ORACLE_HOME? If so, you are guaranteed to have an %ORACLE_HOME%\ifs\bin directory.
    Finally, did you enter the correct directory as the parameter to the DEVKIT script?

  • Problem Pro*C for Oracle 10g

    Hello,
    I am compiling pro*c code for Oracle 10g, it is successfully compiling for Oracle 9i. But with Oracle 10g libs it's giving problems.
    This following error msg I m getting while compiling
    /application/Build/code/booking/>mk test
    *.cpp: No such file or directory
    make_depend
    `/opt/oracle/10.2.0/lib/libclntsh.so' is up to date.
    cat: cannot open *.u
    proc ireclen=132 lines=yes iname=pcutils.pc oname=~pcutils.c
    Pro*C/C++: Release 10.2.0.2.0 - Production on Sat May 26 07:39:59 2007
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    System default option values taken from: /opt/oracle/10.2.0/precomp/admin/pcscfg.cfg
    cc -c -DBA_SUN -xCC -I. -I/application/Build/include -I/application/2.6Build/include -I/opt/ba/include - -I/opt/tux80/include ~pcutils.c
    "pcutils.pc", line 58: undefined struct/union member: sqlerrm
    "pcutils.pc", line 58: undefined struct/union member: sqlerrmc
    "pcutils.pc", line 58: warning: left operand of "." must be struct/union object
    "pcutils.pc", line 79: undefined struct/union member: sqlerrm
    "pcutils.pc", line 79: undefined struct/union member: sqlerrmc
    "pcutils.pc", line 79: warning: left operand of "." must be struct/union object
    cc: acomp failed for ~pcutils.c
    *** Error code 2
    make: Fatal error: Command failed for target `pcutils.o'
    Could you please suggest me, what should I do in order to build it.
    Inpreet

    To answer my own question, I'd say it's necessary to install the tarball, NOT the Debian files, for the Enterprise edition (perhaps to Standard is enough?).
    After installation at (for example) /usr/local/oracle, the "proc" precompiler should be at /usr/local/oracle/u01/app/oracle/oracle/product/10.2.0/db_1/bin
    The env.variable ORACLE_HOME should be set,
    export ORACLE_HOME=/usr/local/oracle/u01/app/oracle/oracle/product/10.2.0/db_1

  • Problem in Creation of Oracle Session in Global.asa

    Dear all,
    I tried to run an ASP example on OO4O and created the following global.asa.
    <OBJECT RUNAT=Server SCOPE=Application ID=OraSession
    PROGID="OracleInProcServer.XOraSession"></OBJECT>
    <SCRIPT LANGUAGE=VBScript RUNAT=Server>
    Sub Application_OnStart
    'Get an instance of the Connection Pooling object and create a pool
    of OraDatabase
    OraSession.CreateDatabasePool 20,40,200,"XXX", "xxx/xxx", 0
    End Sub
    Sub Application_OnEnd
    OraSession.destroyDatabasePool
    End Sub
    </SCRIPT>
    However, the IIS reported the following error when running.
    "An error occurred while creating object 'OraSession'".
    I have used the same connection string on a VB project. The connection works perfectly. Could anyone know why the connection cannot setup on ASP?
    Thank you very much
    Samuel

    I am getting the same problem. If you have found any solution, please let me know.

  • SAP 4.7 Installation problem on Solaris 10 - Oracle 9.2.0.7

    Hi,
    I am trying to install SAP 4.7 on Solaris 10 - Oracle 9.2.0.7. I am using standar installation DVD for SAP 4.7 SR1. After installation I want to login SAP system I have an error about database inconsistency. System said that enter SICK transaction. I entered SICK and my error is "OS release SunOS 5.10 Generic_141444-09 sun4u is not support with this kernel". After I received this error I installed new kernel (221) and I upgaded kernel to 221. But after that I could not open SAP system. I checked dev_w1 and it is like below:
    "dev_w1" 456 lines, 18662 characters
    trc file: "dev_w1", trc level: 1, release: "640"
    ACTIVE TRACE LEVEL           1
    ACTIVE TRACE COMPONENTS      all, M
    M sysno      00
    M sid        KZP
    M systemid   370 (Solaris on SPARCV9 CPU)
    M relno      6400
    M patchlevel 0
    M patchno    221
    M intno      20020600
    M make:      single threaded, Unicode, 64 bit
    M pid        22022
    M
    M
    M Fri Jan 29 15:11:00 2010
    M  ***LOG Q01=> tskh_init, WPStart (Workproc 1 1 22022) [thxxhead.c   1144]
    M  calling db_connect ...
    C  Got ORACLE_HOME=/oracle/KZP/920_64 from environment
    C  got NLS_LANG='AMERICAN_AMERICA.UTF8' from environment
    C  Client NLS settings: AMERICAN_AMERICA.UTF8
    C  Logon as OPS$-user to get SAPKZP's password
    C  Connecting as /@KZP on connection 0 (nls_hdl 0) ... (dbsl 640 070208)
    C  Nls CharacterSet                 NationalCharSet              C      EnvHp      ErrHp ErrHpBatch
    C    0 UTF8                                                      1 0x10667d250 0x10668fcd0 0x10668f668
    C  Attaching to DB Server KZP (con_hdl=0,svchp=0x10668f598,srvhp=0x106691dc8)
    C  Starting user session (con_hdl=0,svchp=0x10668f598,srvhp=0x106691dc8,usrhp=0x10669a800)
    C  Now '/@KZP' is connected: con_hdl=0, nls_hdl=0, session_id=13.
    C  Got SAPKZP's password from OPS$-user
    C  Disconnecting from connection 0 ...
    C  Close user session (con_hdl=0,svchp=0x10668f598,usrhp=0x10669a800)
    C  Now I'm disconnected from ORACLE
    C  Connecting as SAPKZP/<pwd>@KZP on connection 0 (nls_hdl 0) ... (dbsl 640 070208)
    C  Nls CharacterSet                 NationalCharSet              C      EnvHp      ErrHp ErrHpBatch
    C    0 UTF8                                                      1 0x10667d250 0x10668fcd0 0x10668f668
    C  Starting user session (con_hdl=0,svchp=0x10668f598,srvhp=0x106691dc8,usrhp=0x10669a800)
    C  Now 'SAPKZP/<pwd>@KZP' is connected: con_hdl=0, nls_hdl=0, session_id=13.
    C  Database NLS settings: AMERICAN_AMERICA.UTF8
    C  DB instance KZP is running on sapkzpn2 with ORACLE version 9.2.0.7.0 since JAN 29, 2010, 15:10:46
    B  Connection 0 opened (DBSL handle 0)
    B  Wp  Hdl ConName          ConId     ConState     TX  PRM RCT TIM MAX OPT Date     Time   DBHost
    B  000 000 R/3              000000000 ACTIVE       NO  YES NO  000 255 255 20100129 151100 sapkzpn2
    M  db_connect o.k.
    M  ICT: exclude compression: .zip,.cs,.rar,.arj,.z,.gz,.tar,.lzh,.cab,.hqx,.ace,.jar,.ear,.war,.css,.pdf,.js,.gzip
    ,.uue,.bz2,.iso,.sda,.sar,.gif
    I
    I Fri Jan 29 15:11:07 2010
    I  MtxInit: 1 0 0
    M  SHM_PRES_BUF                 (addr: 0xffffffff7597a000, size: 4400000)
    M  SHM_ROLL_AREA                (addr: 0xfffffffe56000000, size: 134217728)
    M  SHM_PAGING_AREA              (addr: 0xffffffff62000000, size: 67108864)
    M  SHM_ROLL_ADM                 (addr: 0xffffffff75db0000, size: 2672386)
    M  SHM_PAGING_ADM               (addr: 0xffffffff71f00000, size: 656416)
    M  ThCreateNoBuffer             allocated 572152 bytes for 1000 entries at 0xfffffffe4e004000
    M  ThCreateNoBuffer             index size: 3000 elems
    M  ThCreateVBAdm                allocated 12176 bytes (50 server) at 0xffffffff7bc00000
    X  EmInit: MmSetImplementation( 2 ).
    X  <ES> client 1 initializing ....
    X  Using implementation std
    X  ES initialized.
    B  db_con_shm_ini:  WP_ID = 1, WP_CNT = 8, CON_ID = -1
    B  dbtbxbuf: Buffer TABL  (addr: 0xffffffff60000100, size: 30000000, end: 0xffffffff61c9c480)
    B  dbtbxbuf: Buffer TABLP (addr: 0xffffffff6d400100, size: 10240000, end: 0xffffffff6ddc4100)
    B  dbexpbuf: Buffer EIBUF (addr: 0xfffffffe5f800108, size: 4194304, end: 0xfffffffe5fc00108)
    B  dbexpbuf: Buffer ESM   (addr: 0xfffffffe5f000108, size: 4194304, end: 0xfffffffe5f400108)
    B  dbexpbuf: Buffer CUA   (addr: 0xfffffffe5101e108, size: 3072000, end: 0xfffffffe5130c108)
    B  dbexpbuf: Buffer OTR   (addr: 0xfffffffe5e800108, size: 4194304, end: 0xfffffffe5ec00108)
    M  rdisp/reinitialize_code_page -> 0
    M  icm/accept_remote_trace_level -> 0
    M  rdisp/no_hooks_for_sqlbreak -> 0
    M  CCMS: AlInitGlobals : alert/use_sema_lock = TRUE.
    S
    S Fri Jan 29 15:11:08 2010
    S  *** init spool environment
    S  initialize debug system
    T  Stack direction is downwards.
    T  debug control: prepare exclude for printer trace
    T  new memory block 0x106aa11e0
    S  spool kernel/ddic check: Ok
    S  using table TSP02FX for frontend printing
    S  1 spool work process(es) found
    S  frontend print via spool service enabled
    S  printer list size is 150
    S  printer type list size is 50
    S  queue size (profile)   = 300
    S  hostspool list size = 3000
    S  option list size is 30
    S      found processing queue enabled
    S  found spool memory service RSPO-RCLOCKS at 0xfffffffe51310070
    S  doing lock recovery
    S  setting server cache root
    S  found spool memory service RSPO-SERVERCACHE at 0xfffffffe513103c8
    S    using messages for server info
    S  size of spec char cache entry: 297032 bytes (timeout 100 sec)
    S  size of open spool request entry: 2272 bytes
    S  immediate print option for implicitely closed spool requests is disabled
    A
    A Fri Jan 29 15:11:09 2010
    A
    A  -PXA--
    A  PXA INITIALIZATION
    A  System page size: 8kb, total admin_size: 5512kb, dir_size: 5480kb.
    I  *** ERROR => shmget(10006,153600000,2016) (22: Invalid argument) [shmux.c      1525]
    A  RABAX in run level 1
    A  RABAX in unkown environment: task_type=0, run level=1, rabax state=80000000 ztta_task_type=0
    [0] DoStack2 ( 0x105af7010, 0xffffffff7fffd740, 0x1004a4ae4, 0x0, 0x105dbb180, 0x102e2f6e0 ), at 0x1004a4ae4
    [1] CTrcStack2 ( 0x1036f6d60, 0x0, 0x17400, 0x102e947dc, 0x0, 0x102e2f6e0 ), at 0x1004a4680
    [2] __1cXrabax_CStackToTraceFile6F_v_ ( 0x0, 0x1, 0x0, 0x3097000, 0x100000000, 0x103097058 ), at 0x100ae0e80
    [3] __1cKrabax_init6FpkH_v_ ( 0x102002ad8, 0x0, 0x1, 0x0, 0x0, 0x0 ), at 0x100ad97d8
    [4] ab_rabax ( 0x0, 0x80000000, 0x6da, 0x103879400, 0x1880, 0x1065e4110 ), at 0x100acfe3c
    [5] __1cJab_pbinit6F_v_ ( 0x100000000, 0x102e947dc, 0x1, 0x102002ab4, 0x102f4e1c0, 0x103815550 ), at 0x100750de0
    [6] ab_init ( 0x0, 0x5bd5000, 0xac8800, 0x5bd5000, 0x1, 0x0 ), at 0x100ac8d34
    [7] ThrInitRunTime ( 0x100489c00, 0x489c00, 0x332c400, 0x102e94820, 0x1, 0x102e947d4 ), at 0x100476e84
    [8] ThStartUp2 ( 0x101fec800, 0x194c800, 0x100000000, 0x102e947d4, 0x0, 0x10194cc00 ), at 0x100415860
    [9] tskh_init ( 0x2e7a000, 0x1, 0x1, 0x540, 0x102e94400, 0x15 ), at 0x100260f14
    [10] tskhstart ( 0x0, 0x2e94400, 0x0, 0x1003d6400, 0x3d6400, 0x100000000 ), at 0x10025cf9c
    [11] DpMain ( 0x3641400, 0x2e7a000, 0x100000000, 0x1, 0x0, 0x0 ), at 0x1001856c0
    A
    A Fri Jan 29 15:11:10 2010
    A  TH VERBOSE LEVEL FULL
    A  ** RABAX: level LEV_RX_PXA_RELEASE_MTX entered.
    A  ** RABAX: level LEV_RX_PXA_RELEASE_MTX failed.
    A  *** suicide ON
    A  ** RABAX: level LEV_RX_VMIT_CLEANUP entered.
    A  ** RABAX: level LEV_RX_VMIT_CLEANUP completed.
    A  ** RABAX: level LEV_RX_ROLLBACK entered.
    A  ** RABAX: level LEV_RX_ROLLBACK completed.
    A  ** RABAX: level LEV_RX_DB_ALIVE entered.
    A  ** RABAX: level LEV_RX_DB_ALIVE completed.
    A  ** RABAX: level LEV_RX_HOOKS entered.
    A  ** RABAX: level LEV_RX_HOOKS completed.
    A  ** RABAX: level LEV_RX_STANDARD entered.
    A  ** RABAX: level LEV_RX_STANDARD failed.
    A  ** RABAX: level LEV_RX_C_STACK entered.
    A  ** RABAX: level LEV_RX_C_STACK completed.
    A  ** RABAX: level LEV_RX_MEMO_CHECK entered.
    A  ** RABAX: level LEV_RX_MEMO_CHECK completed.
    A  ** RABAX: level LEV_RX_INTERFACES entered.
    A  ** RABAX: level LEV_RX_INTERFACES completed.
    A  ** RABAX: level LEV_RX_GET_MESS entered.
    A  ** RABAX: level LEV_RX_GET_MESS completed.
    A  ** RABAX: level LEV_RX_INIT_SNAP entered.
    A  ** RABAX: level LEV_RX_INIT_SNAP completed.
    A  ** RABAX: level LEV_RX_WRITE_SYSLOG entered.
    A  ** RABAX: level LEV_RX_WRITE_SYSLOG completed.
    A  ** RABAX: level LEV_RX_WRITE_SNAP entered.
    X  *** ERROR => invalid MM administration (adm) (nil)  (admCheck)(nil) [mmxx.c       2127]
    A  ** RABAX: level LEV_RX_WRITE_SNAP failed.
    A  ** RABAX: level LEV_RX_SET_ALERT entered.
    A  ** RABAX: level LEV_RX_SET_ALERT completed.
    A  ** RABAX: level LEV_RX_COMMIT entered.
    A  ** RABAX: level LEV_RX_COMMIT completed.
    A  ** RABAX: level LEV_RX_SNAP_SYSLOG entered.
    A  ** RABAX: level LEV_RX_SNAP_SYSLOG completed.
    A  ** RABAX: level LEV_RX_RESET_PROGS entered.
    A  ** RABAX: level LEV_RX_RESET_PROGS completed.
    A  ** RABAX: level LEV_RX_STDERR entered.
    A  Fri Jan 29 15:11:10 2010
    A
    A  Error Code PXA_NO_SHARED_MEMORY.
    A  Module  $Id: //bas/640_REL/src/krn/runt/abload3.c#44 $ SAP.
    A  Function ab_pbinit Line 1754.
    A  ** RABAX: level LEV_RX_STDERR completed.
    A  ** RABAX: level LEV_RX_RFC_ERROR entered.
    A  ** RABAX: level LEV_RX_RFC_ERROR completed.
    A  ** RABAX: level LEV_RX_RFC_CLOSE entered.
    A  ** RABAX: level LEV_RX_RFC_CLOSE completed.
    A  ** RABAX: level LEV_RX_IMC_ERROR entered.
    A  ** RABAX: level LEV_RX_IMC_ERROR completed.
    A  ** RABAX: level LEV_RX_DATASET_CLOSE entered.
    A  ** RABAX: level LEV_RX_DATASET_CLOSE completed.
    A  ** RABAX: level LEV_RX_RESET_SHMLOCKS entered.
    A  ** RABAX: level LEV_RX_RESET_SHMLOCKS failed.
    A  ** RABAX: level LEV_RX_ERROR_SAVE entered.
    A  ** RABAX: level LEV_RX_ERROR_SAVE completed.
    A  ** RABAX: level LEV_RX_ERROR_TPDA entered.
    A  ** RABAX: level LEV_RX_ERROR_TPDA completed.
    A  ** RABAX: level LEV_RX_PXA_RELEASE_RUDI entered.
    A  ** RABAX: level LEV_RX_PXA_RELEASE_RUDI completed.
    A  ** RABAX: level LEV_RX_LIVE_CACHE_CLEANUP entered.
    A  ** RABAX: level LEV_RX_LIVE_CACHE_CLEANUP completed.
    A  ** RABAX: level LEV_RX_END entered.
    A  ** RABAX: level LEV_RX_END completed.
    A  ** RABAX: end RX_SUICIDE
    A  Shared Memory von 150000 Kilo-Bytes f\303\274r PXA nicht verf\303\274gbar..
    A
    A  *
    A  * Non recoverable error. Aborting process...
    A  *
    M  ***LOG R63=> ThWpHalt, halt wp () [thxxhead.c   15213]
    M  in_ThErrHandle: 1
    M  *** ERROR => ThWpHalt: halt wp (step 1, th_errno 5, action 2, level 1) [thxxhead.c   9696]
    M
    M  Info for wp 1
    M
    M    stat = 4
    M    reqtype = 1
    M    act_reqtype = -1
    M    rq_info = 0
    M    tid = 1
    M    mode = 0
    M    len = -1
    M    rq_id = 65535
    M    rq_source = 255
    M    last_tid = 0
    M    last_mode = 0
    M    int_checked_resource(RFC) = 0
    M    ext_checked_resource(RFC) = 0
    M    int_checked_resource(HTTP) = 0
    M    ext_checked_resource(HTTP) = 0
    M    report = >                                        <
    M    action = 0
    M    tab_name = >                              <
    M
    M
    M  PfStatDisconnect: disconnect statistics
    M  ThIErrHandle: action changed to 2
    M  Entering TH_CALLHOOKS
    M  ThCallHooks: call hook >SAP-Trace buffer write< for event BEFORE_DUMP
    M  TrThHookFunc: called for WP dump
    M  ThCallHooks: call hook >ThrSaveSPAFields< for event BEFORE_DUMP
    M  *** ERROR => ThrSaveSPAFields: no valid thr_wpadm [thxxrun1.c   730]
    M  *** ERROR => ThCallHooks: event handler ThrSaveSPAFields for event BEFORE_DUMP failed [thxxtool3.c  255]
    M  Entering ThSetStatError
    M  ThErrPrivHandle: set th_errno (5)
    M  Entering ThReadDetachMode
    M  *** ERROR => ThIErrHandle: bad value for th_act_em_hdl (5), detach T1/M0 [thxxhead.c   10129]
    M
    M  Modeinfo for User T1/M0
    M
    M
    M  call ThrShutDown (1)...
    A  Saving PXA statistics.
    M  -
    C-STACK -
    [0] __1cNab_pxasavedir6F_i_ ( 0x102e94400, 0x2f63c00, 0x102e94800, 0x10200b800, 0x1, 0x0 ), at 0x10076c108
    [1] ab_shutdown ( 0x0, 0x1, 0x102f3b400, 0x1, 0x102e94400, 0x2e94400 ), at 0x100aca150
    [2] ThIErrHandle ( 0x10251b400, 0x2e94800, 0x102e7a324, 0x2, 0x2e94400, 0x102e94800 ), at 0x100293870
    M  -
    M  ***LOG Q0E=> SigIGenAction, signal ( 11) [sigux.c      902]
    M  in_ThErrHandle: 2
    M  ***LOG R0H=> ThIErrHandle, Loop in ThErrHandle, restart wp () [thxxhead.c   9717]
    M  -
    C-STACK -
    [0] DoStack2 ( 0x105af7010, 0xffffffff7fffc340, 0x1004a4ae4, 0x0, 0x105dbac40, 0x102e2f6e0 ), at 0x1004a4ae4
    [1] CTrcStack2 ( 0x1036f6d00, 0x0, 0x17400, 0x102e947dc, 0x10049d16c, 0x102e2f6e0 ), at 0x1004a4680
    [2] ThIErrHandle ( 0x0, 0x100000000, 0x3, 0x10331ff08, 0xb, 0x4 ), at 0x100291b08
    [3] SigIGenAction ( 0x102c9f800, 0x1032acd04, 0x102c9f800, 0xb, 0x102e94820, 0x102e947d4 ), at 0x101e49c4c
    [4] __sighndlr ( 0xb, 0xffffffff7fffcf80, 0xffffffff7fffcca0, 0x101e493bc, 0x0, 0x0 ), at 0xffffffff7c7d62e0
    [5] call_user_handler ( 0xffffffff7d300200, 0xffffffff7d300200, 0xffffffff7fffcca0, 0x19, 0x0, 0x0 ), at 0xffffffff7c7c9e44
    [6] sigacthandler ( 0x0, 0xffffffff7fffcf80, 0xffffffff7fffcca0, 0xffffffff7d300200, 0x0, 0xffffffff7c93c000 ), at 0xffffffff7c7ca03
    c
    [7] __1cNab_pxasavedir6F_i_ ( 0x102e94400, 0x2f63c00, 0x102e94800, 0x10200b800, 0x1, 0x0 ), at 0x10076c0f4
    [8] ab_shutdown ( 0x0, 0x1, 0x102f3b400, 0x1, 0x102e94400, 0x2e94400 ), at 0x100aca150
    [9] ThIErrHandle ( 0x10251b400, 0x2e94800, 0x102e7a324, 0x2, 0x2e94400, 0x102e94800 ), at 0x100293870
    [10] __1cIrabax_do6FpkHpHi_v_ ( 0x102002ad8, 0x0, 0x41, 0x102e94800, 0x1, 0x1 ), at 0x100adc154
    [11] ab_rabax ( 0x2, 0x2e94800, 0x1, 0x100000000, 0x2e94400, 0x2e94400 ), at 0x100ad3bc4
    M  -
    M Fri Jan 29 15:11:11 2010
    M  ThSigHandler: signal (step 1, th_errno 11, action 4)
    M
    M  Info for wp 1
    M
    M    stat = 4
    M    reqtype = 1
    M    act_reqtype = -1
    M    rq_info = 0
    M    tid = 1
    M    mode = 0
    M    len = -1
    M    rq_id = 65535
    M    rq_source = 255
    M    last_tid = 0
    M    last_mode = 0
    M    int_checked_resource(RFC) = 0
    M    ext_checked_resource(RFC) = 0
    M    int_checked_resource(HTTP) = 0
    M    ext_checked_resource(HTTP) = 0
    M    report = >                                        <
    M    action = 0
    M    tab_name = >                              <
    M  PfStatDisconnect: disconnect statistics
    M  Entering ThSetStatError
    M  ***LOG Q02=> wp_halt, WPStop (Workproc 1 22022) [dpuxtool.c   318]
    Also I tried to change SAPEXE.SAR and SAPEXEDB.SAR files from SAP Kernel CD. After that I started installation again. But I have same error. SAP system didn't work.
    How can I solve this error?Cannot I install SAP 4.7 SR1 on Solaris 10 - ORacle 9.2.0.7?Is the problem about SAP profile parameters or Solaris Kernel parameters
    Best regards,

    Also dev_disp is like below:
    sid        KZP
    systemid   370 (Solaris on SPARCV9 CPU)
    relno      6400
    patchlevel 0
    patchno    221
    intno      20020600
    make:      single threaded, Unicode, 64 bit
    pid        22016
    ***LOG Q00=> DpSapEnvInit, DPStart (00 22016) [dpxxdisp.c   1104]
            shared lib "dw_xml.so" version 221 successfully loaded
            shared lib "dw_xtc.so" version 221 successfully loaded
            shared lib "dw_stl.so" version 221 successfully loaded
            shared lib "dw_gui.so" version 221 successfully loaded
            shared lib "dw_mdm.so" version 221 successfully loaded
    MtxInit: -2 0 0
    DpSysAdmExtInit: ABAP is active
    DpIPCInit2: start server >sapkzpn2_KZP_00                         <
    DpShMCreate: sizeof(wp_adm)             10752   (1344)
    DpShMCreate: sizeof(tm_adm)             3728952 (18552)
    DpShMCreate: sizeof(wp_ca_adm)          31200   (104)
    DpShMCreate: sizeof(appc_ca_adm)        10400   (104)
    DpShMCreate: sizeof(comm_adm)           316000  (632)
    DpShMCreate: sizeof(vmc_adm)            0       (560)
    DpShMCreate: sizeof(wall_adm)           (40056/36728/88/192)
    DpShMCreate: SHM_DP_ADM_KEY             (addr: 0xffffffff70c00000, size: 4181592)
    DpShMCreate: allocated sys_adm at 0xffffffff70c00000
    DpShMCreate: allocated wp_adm at 0xffffffff70c01c88
    DpShMCreate: allocated tm_adm_list at 0xffffffff70c04688
    DpShMCreate: allocated tm_adm at 0xffffffff70c046b0
    DpShMCreate: allocated wp_ca_adm at 0xffffffff70f92ce8
    DpShMCreate: allocated appc_ca_adm at 0xffffffff70f9a6c8
    DpShMCreate: allocated comm_adm_list at 0xffffffff70f9cf68
    DpShMCreate: allocated comm_adm at 0xffffffff70f9cf80
    DpShMCreate: allocated vmc_adm_list at 0xffffffff70fea1e0
    DpShMCreate: system runs without vmc_adm
    DpShMCreate: allocated ca_info at 0xffffffff70fea208
    DpShMCreate: allocated wall_adm at 0xffffffff70fea210
    MBUF state OFF
    ThTaskStatus: rdisp/reset_online_during_debug 0
    EmInit: MmSetImplementation( 2 ).
    <ES> client 0 initializing ....
    <ES> InitFreeList
    <ES> block size is 4096 kByte.
    Using implementation std
    EsIUnamFileMapInit: ES base = 0x0xfffffffe60000000
    EsStdInit: Extended Memory 4092 MB allocated
    <ES> 1022 blocks reserved for free list.
    ES initialized.
    Fri Jan 29 15:11:07 2010
    rdisp/http_min_wait_dia_wp : 1 -> 1
    ***LOG CPS=> DpLoopInit, ICU ( 2.6.1 2.6 4.0) [dpxxdisp.c   1490]
    ***LOG Q0K=> DpMsAttach, mscon ( sapkzpn2) [dpxxdisp.c   10127]
    DpStartStopMsg: send start message (myname is >sapkzpn2_KZP_00                         <)
    DpStartStopMsg: start msg sent
    CCMS: AlInitGlobals : alert/use_sema_lock = TRUE.
    Fri Jan 29 15:11:08 2010
    DpMsgAdmin: Set release to 6400, patchlevel 0
    MBUF state PREPARED
    MBUF component UP
    DpMBufHwIdSet: set Hardware-ID
    ***LOG Q1C=> DpMBufHwIdSet [dpxxmbuf.c   1025]
    DpMsgAdmin: Set patchno for this platform to 221
    Release check o.K.
    Fri Jan 29 15:11:29 2010
    ERROR => W0 (pid 22021) died [dpxxdisp.c   12698]
    ERROR => W2 (pid 22023) died [dpxxdisp.c   12698]
    my types changed after wp death/restart 0xbf --> 0xbd
    ERROR => W3 (pid 22024) died [dpxxdisp.c   12698]
    my types changed after wp death/restart 0xbd --> 0xb9
    ERROR => W4 (pid 22025) died [dpxxdisp.c   12698]
    ERROR => W5 (pid 22028) died [dpxxdisp.c   12698]
    my types changed after wp death/restart 0xb9 --> 0xb1
    ERROR => W6 (pid 22030) died [dpxxdisp.c   12698]
    my types changed after wp death/restart 0xb1 --> 0xa1
    ERROR => W7 (pid 22038) died [dpxxdisp.c   12698]
    my types changed after wp death/restart 0xa1 --> 0x81
    Fri Jan 29 15:12:08 2010
    ERROR => W1 (pid 22022) died [dpxxdisp.c   12698]
    my types changed after wp death/restart 0x81 --> 0x80
    DP_FATAL_ERROR => DpWPCheck: no more work processes
    DISPATCHER EMERGENCY SHUTDOWN ***
    increase tracelevel of WPs
    killing W0-22021 (SIGUSR2)
    ERROR => DpWpKill(22021, SIGUSR2) failed [dpxxtool.c   2508]
    killing W1-22022 (SIGUSR2)
    ERROR => DpWpKill(22022, SIGUSR2) failed [dpxxtool.c   2508]
    killing W2-22023 (SIGUSR2)
    ERROR => DpWpKill(22023, SIGUSR2) failed [dpxxtool.c   2508]
    killing W3-22024 (SIGUSR2)
    killing W7-22038 (SIGUSR2)
    ERROR => DpWpKill(22038, SIGUSR2) failed [dpxxtool.c   2508]
    NiWait: sleep (10000 msecs) ...
    NiISelect: timeout 10000 ms
    NiISelect: maximum fd=15
    NiISelect: read-mask is NULL
    NiISelect: write-mask is NULL
    Fri Jan 29 15:12:18 2010
    NiISelect: TIMEOUT occured (10000 ms)
    dump system status
    Workprocess Table (long)                        Fri Jan 29 09:12:18 2010
    ========================
    No Ty. Pid      Status  Cause Start Err Sem CPU    Time  Program  Cl  User         Action                    Table
    0 DIA    22021 Ended         no      1   0            78             SAPSYS
    1 DIA    22022 Ended         no      1   0            78             SAPSYS
    2 UPD    22023 Ended         no      1   0            78             SAPSYS
    3 ENQ    22024 Ended         no      1   0            78             SAPSYS
    4 BTC    22025 Ended         no      1   0            78             SAPSYS
    5 BTC    22028 Ended         no      1   0            78             SAPSYS
    6 SPO    22030 Ended         no      1   0            71             SAPSYS
    7 UP2    22038 Ended         no      1   0            71             SAPSYS
    Dispatcher Queue Statistics                     Fri Jan 29 09:12:18 2010
    ===========================
    --------++++--
    +
    Typ
    now
    high
    max
    writes
    reads
    --------++++--
    +
    NOWP
    0
    3
    2000
    10
    10
    --------++++--
    +
    DIA
    5
    5
    2000
    5
    0
    --------++++--
    +
    UPD
    0
    0
    2000
    0
    0
    --------++++--
    +
    ENQ
    0
    0
    2000
    0
    0
    --------++++--
    +
    BTC
    0
    0
    2000
    0
    0
    --------++++--
    +
    SPO
    0
    0
    2000
    0
    0
    --------++++--
    +
    UP2
    0
    0
    2000
    0
    0
    --------++++--
    +
    max_rq_id               13
    wake_evt_udp_now        0
    wake events             total     9,  udp     6 ( 66%),  shm     3 ( 33%)
    since last update       total     9,  udp     6 ( 66%),  shm     3 ( 33%)
    Dump of tm_adm structure:                       Fri Jan 29 09:12:18 2010
    =========================
    Term    uid  man user    term   lastop  mod wp  ta   a/i (modes)
    Workprocess Comm. Area Blocks                   Fri Jan 29 09:12:18 2010
    =============================
    Slots: 300, Used: 1, Max: 0
    --------++--
    +
    id
    owner
    pid
    eyecatcher
    --------++--
    +
    0
    DISPATCHER
    -1
    WPCAAD000
    NiWait: sleep (5000 msecs) ...
    NiISelect: timeout 5000 ms
    NiISelect: maximum fd=15
    NiISelect: read-mask is NULL
    NiISelect: write-mask is NULL
    Fri Jan 29 15:12:23 2010
    NiISelect: TIMEOUT occured (5000 ms)
    DpHalt: shutdown server >sapkzpn2_KZP_00                         < (normal)
    DpJ2eeDisableRestart
    DpModState: buffer in state MBUF_PREPARED
    NiBufSend starting
    NiIWrite: write 110, 1 packs, MESG_IO, hdl 3, data complete
    MsINiWrite: sent 110 bytes
    MsIModState: change state to SHUTDOWN
    DpModState: change server state from STARTING to SHUTDOWN
    Switch off Shared memory profiling
    ShmProtect( 57, 3 )
    ShmKeySharedMMU( 57 ) = 0 (octal)
    ShmProtect(SHM_PROFILE, SHM_PROT_RW
    ShmProtect( 57, 1 )
    ShmKeySharedMMU( 57 ) = 0 (octal)
    ShmProtect(SHM_PROFILE, SHM_PROT_RD
    DpWakeUpWps: wake up all wp's
    Stop work processes...
    Stop gateway
    killing proc (22019) (SOFT_KILL)
    Stop icman
    killing proc (22020) (SOFT_KILL)
    Terminate gui connections
    kill(22019,0) successful -> process alive
    waiting for termination of gateway
    NiWait: sleep (1000 msecs) ...
    NiISelect: timeout 1000 ms
    NiISelect: maximum fd=15
    NiISelect: read-mask is NULL
    NiISelect: write-mask is NULL
    Fri Jan 29 15:12:24 2010
    NiISelect: TIMEOUT occured (1000 ms)
    kill(22019,0) -> ESRCH: process died
    kill(22020,0) -> ESRCH: process died
    DpHalt: cancel all lcom connections
    MPI CancelAll 2 -> 0
    MPI DeleteAll 2 -> 0
    DpStartStopMsg: send stop message (myname is >sapkzpn2_KZP_00                         <)
    NiIMyHostName: hostname = 'sapkzpn2'
    AdGetSelfIdentRecord: >                                                                           <
    AdCvtRecToExt: opcode 60 (AD_SELFIDENT), ser 0, ex 0, errno 0
    AdCvtRecToExt: opcode 4 (AD_STARTSTOP), ser 0, ex 0, errno 0
    DpConvertRequest: net size = 163 bytes
    NiBufSend starting
    NiIWrite: write 562, 1 packs, MESG_IO, hdl 3, data complete
    MsINiWrite: sent 562 bytes
    send msg (len 110+452) to name          -, type 4, key -
    DpStartStopMsg: stop msg sent
    NiIRead: read 229, 1 packs, MESG_IO, hdl 3, data complete
    NiBufIn: NIBUF len=229
    NiBufIn: Packet complete for hdl 3
    NiBufReceive starting
    MsINiRead: received 229 bytes
    MSG received, len 110+119, flag 1, from MSG_SERVER, typ 0, key -
    DpHalt: received 119 bytes from message server
    NiIRead: read 229, 1 packs, MESG_IO, hdl 3, data complete
    NiBufIn: NIBUF len=229
    NiBufIn: Packet complete for hdl 3
    NiBufReceive starting
    MsINiRead: received 229 bytes
    MSG received, len 110+119, flag 1, from MSG_SERVER, typ 0, key -
    DpHalt: received 119 bytes from message server
    DpHalt: no more messages from the message server
    DpHalt: send keepalive to synchronize with the message server
    cleanup event management
    cleanup shared memory/semaphores
    ShmCleanup SHM_SYS_ADM_KEY
    ShmCleanup( 1 )
    ShmCreate( 1, 0, 2, 0x0xffffffff7fffeab8 )
    ShmProtect( 1, 3 )
    ShmKeySharedMMU( 1 ) = 0 (octal)
    ShmCreate( 1, 0, 2, -> 0x0xffffffff7b100000 )
    ShmCleanup SHM_DP_ADM_KEY
    ShmCleanup( 2 )
    ShmCreate( 2, 0, 2, 0x0xffffffff7fffeab8 )
    ShmProtect( 2, 3 )
    ShmKeySharedMMU( 2 ) = 0 (octal)
    ShmCreate( 2, 0, 2, -> 0x0xffffffff70c00000 )
    ShmCleanup SHM_DP_CA_KEY
    ShmCleanup( 3 )
    ShmCreate( 3, 0, 2, 0x0xffffffff7fffeab8 )
    ShmProtect( 3, 3 )
    ShmKeySharedMMU( 3 ) = 0 (octal)
    ShmCreate( 3, 0, 2, -> 0x0xffffffff6fc00000 )
    ShmCleanup SHM_PF_KEY
    ShmCleanup( 4 )
    ShmCreate( 4, 0, 2, 0x0xffffffff7fffeab8 )
    ShmKeyPermission( 4 ) = 0740 (octal)
    ShmKeySharedMMU( 4 ) = 0 (octal)
    ShmProtect( 4, 3 )
    ShmKeySharedMMU( 4 ) = 0 (octal)
    ShmCreate( 4, 0, 2, -> 0x0xffffffff71f00000 )
    ShmCleanup SHM_PRES_BUF
    ShmCleanup( 14 )
    ShmCreate( 14, 0, 2, 0x0xffffffff7fffeab8 )
    ShmGet( 10, 14, 0, 2, 0x0xffffffff7fffe970 )
    ShmGet( 10, 14, 0, 2, -> 0x0xffffffff7597a000 )
    ShmProtect( 14, 3 )
    ShmProtect: Key=14 not attached
    ShmProtect( 14, 3 )
    ShmCreate( 14, 0, 2, -> 0x0xffffffff7597a000 )
    ShmCleanup SHM_CALI_BUFFER
    ShmCleanup( 11 )
    ShmCreate( 11, 0, 2, 0x0xffffffff7fffeab8 )
    ShmGet( 10, 11, 0, 2, 0x0xffffffff7fffe970 )
    ShmGet( 10, 11, 0, 2, -> 0x0xffffffff76040000 )
    ShmProtect( 11, 3 )
    ShmProtect: Key=11 not attached
    ShmProtect( 11, 3 )
    ShmCreate( 11, 0, 2, -> 0x0xffffffff76040000 )
    ShmCleanup SHM_DB_TBUFF
    ShmCleanup( 19 )
    ShmCreate( 19, 0, 2, 0x0xffffffff7fffeab8 )
    ShmKeyPermission( 19 ) = 0740 (octal)
    ShmKeySharedMMU( 19 ) = 0 (octal)
    ShmProtect( 19, 3 )
    ShmKeySharedMMU( 19 ) = 0 (octal)
    ShmCreate( 19, 0, 2, -> 0x0xffffffff66000000 )
    ShmCleanup SHM_DB_TBUFF_P
    ShmCleanup( 33 )
    ShmCreate( 33, 0, 2, 0x0xffffffff7fffeab8 )
    ShmKeyPermission( 33 ) = 0740 (octal)
    ShmKeySharedMMU( 33 ) = 0 (octal)
    ShmProtect( 33, 3 )
    ShmKeySharedMMU( 33 ) = 0 (octal)
    ShmCreate( 33, 0, 2, -> 0x0xffffffff70400000 )
    ShmCleanup SHM_DB_STBUFF
    ShmCleanup( 41 )
    ShmCreate( 41, 0, 2, 0x0xffffffff7fffeab8 )
    ShmKeyPermission( 41 ) = 0740 (octal)
    ShmKeySharedMMU( 41 ) = 0 (octal)
    ShmProtect( 41, 3 )
    ShmKeySharedMMU( 41 ) = 0 (octal)
    ShmCreate( 41, 0, 2, -> 0x0xffffffff66800000 )
    ShmCleanup SHM_DB_TTBUFF
    ShmCleanup( 42 )
    ShmCreate( 42, 0, 2, 0x0xffffffff7fffeab8 )
    ShmGet( 40, 42, 0, 2, 0x0xffffffff7fffe970 )
    ShmCreate( 40, 0, 2, 0x0xffffffff7fffe798 )
    ShmKeyPermission( 40 ) = 0740 (octal)
    ShmKeySharedMMU( 40 ) = 0 (octal)
    ShmProtect( 40, 3 )
    ShmCreate( 40, 0, 2, -> 0x0xffffffff60000000 )
    ShmGet( 40, 42, 0, 2, -> 0x0xffffffff62972000 )
    ShmProtect( 42, 3 )
    ShmProtect: Key=42 not attached
    ShmProtect( 42, 3 )
    ShmCreate( 42, 0, 2, -> 0x0xffffffff62972000 )
    ShmDelete( 40 )
    ShmCleanup SHM_DB_FTBUFF
    ShmCleanup( 43 )
    ShmCreate( 43, 0, 2, 0x0xffffffff7fffeab8 )
    ShmGet( 40, 43, 0, 2, 0x0xffffffff7fffe970 )
    ShmCreate( 40, 0, 2, 0x0xffffffff7fffe798 )
    ShmKeyPermission( 40 ) = 0740 (octal)
    ShmCleanup SHM_DB_SNTBUFF
    ShmCleanup( 45 )
    ShmCreate( 45, 0, 2, 0x0xffffffff7fffeab8 )
    ShmGet( 40, 45, 0, 2, 0x0xffffffff7fffe970 )
    ShmCreate( 40, 0, 2, 0x0xffffffff7fffe798 )
    ShmKeyPermission( 40 ) = 0740 (octal)
    ShmCleanup SHM_DB_IRBUFF
    ShmCleanup( 44 )
    ShmCreate( 44, 0, 2, 0x0xffffffff7fffeab8 )
    ShmGet( 40, 44, 0, 2, 0x0xffffffff7fffe970 )
    ShmCreate( 40, 0, 2, 0x0xffffffff7fffe798 )
    ShmKeyPermission( 40 ) = 0740 (octal)
    ShmCleanup SHM_DB_OBJ_BUFFER
    ShmKeySharedMMU( 31 ) = 0 (octal)
    ShmCreate( 31, 0, 2, -> 0x0xffffffff6f400000 )
    closing connect handles (dgm + tcp)
    DpDelSocketInfo: del info for socket 1 (type=2)
    NiICloseHandle: shutdown and close hdl 1 / socket 8
    DpDelSocketInfo: del info for socket 2 (type=1)
    NiBufClose: clear extensions for hdl 2
    NiBufSetStat: bufstat of hdl 2 changed from OK to OFF
    NiICloseHandle: shutdown and close hdl 2 / socket 9
    ***LOG Q05=> DpHalt, DPStop ( 22016) [dpxxdisp.c   9033]
    shutdown completed - server stopped ***
    Good Bye .....
    Could you please help me about this issue?
    Best regards

  • Oracle 10g XE installation problem on Ubuntu Linux, Oracle will not start

    Hi,
    After installing the pakages the error is when I call sqlplus and login as SYS :-
    oracleXE: error while loading shared libraries: libaio.so.1: cannot open shared object file: No such file or directory
    ERROR:
    ORA-12547: TNS:lost contact
    What I have done:-
    My system is 64 bit AMD.
    I installed .deb package on Ubuntu 9.04 server. I installed the following packages.
    1.     ibc6-i386
    2.     libaio_0.3.104-1_i386.deb
    3.     bc
    4.     oracle-xe-universal_10.2.0.1-1.1_i386.deb.
    The Oracle processes do not start after running /etc/init.d/oracle-xe start.
    I can tnsping from the local machine.
    dpkg -l |grep libaio gives the following:
    ii libaio1 0.3.107-3ubuntu1 Linux kernel AIO access library - shared lib

    I have been running XE on 9.04 (32bit on my laptop - 64bit on my workstation) and both works fine. I had no problem installing. I followed the directions in documents I found on Ubuntu forums and also google. The document I used to install on 64bit was from http://littlebrain.org
    I remember using
    dpkg -i --force-architecture libaio1_0.3.107-1ubuntu1_i386.deb
    dpkg -i --force-architecture libaio-dev_0.3.107-1ubuntu1_i386.deb
    dpkg -i --force-architecture libaio1-dbg_0.3.107-1ubuntu1_i386.deb
    dpkg -i --force-architecture oracle-xe_10.2.0.1-1.0_i386.deb
    and then I used the ./oracle-xe configure as root, the installation was ok - and I have even updated the APEX version to 3.2.1 on the XE installation running on my 64bit Ubuntu 9.04
    hope this proves useful
    R/ Zafer

  • Problem deploying EJB to Oracle 8.1.7

    Hi,
    I'm facing a problem while deploying EJB on to Oracle 8i.
    I'm using oracle 8.1.7 under Linux (RedHat 7.0).
    Also I'm using JDeveloper 3.2.2 (working under Windows NT)
    JDeveloper came with JDK version 1.2.2, but I'm using
    JDK 1.3(to use connection pooling).
    Classes compiled and says it is error free.
    But when I try to deploy this it gives me an error message saying
    Compilation errors in oracle/aurora/ejb/gen/dbAccess_dbEJB/EjbHome_DataAccessEJBHome:ORA-29535: source requires recompilation
    oracle/aurora/ejb/gen/dbAccess_dbEJB/EjbHome_DataAccessEJBHome:50: Exception java.lang.Exception must be caught, or it must be declared in the throws clause of this method.
    Info: 1 errors
    *** Errors occurred while deploying the EJB to 8i JVM ***
    ie. When I start deploying
    after it generates descriptors it displays message as below
    Reading Deployment Descriptor...done
    Verifying Deployment Descriptor...done
    Gathering users...done
    Generating Comm Stubs...................................................done
    Compiling Stubs...done
    Generating Jar File...done
    Loading EJB Jar file and Comm Stubs Jar file...done
    Generating EJBHome and EJBObject on the server...
    Compilation errors in oracle/aurora/ejb/gen/dbAccess_dbEJB/EjbHome_DataAccessEJBHome:ORA-29535: source requires recompilation
    oracle/aurora/ejb/gen/dbAccess_dbEJB/EjbHome_DataAccessEJBHome:50: Exception java.lang.Exception must be caught, or it must be declared in the throws clause of this method.
    Info: 1 errors
    *** Errors occurred while deploying the EJB to 8i JVM ***
    *** Deployment completed ***
    Later I copied aurora_client.zip from Linux on to JDeveloper version.
    Still I get the same error.
    Any idea?
    Expecting your valuable suggestions.
    Thanks,
    Rajeev Mancheril.
    null

    I am wondering about the classes in the database. This is from metalink.
    SELECT count(*)
    FROM dba_objects
    WHERE object_type LIKE '%JAVA%';
    If the above query returns a number < 4000, the installation was not
    successful.
    The query below checks for any invalid Java classes using a Java stored procedure:
    SELECT dbms_java.longname(name)
    FROM sys.obj$
    WHERE type# = 29 and status != 1;
    If the above query fails or returns any rows, then something is wrong with the JVM installation.
    You can also test the Jserver by using the examples in
    $OH/javavm/demo/examples/corba/basic/helloworld
    or
    $OH/javavm/demo/examples/ejb/basic/helloworld
    To compile classes in the database
    Alter Java Class " Name of the java class" compile;
    Linda
    null

  • Problem after upgradation from Oracle 8.1.7 to Oracle 9i

    Hello ,
    I currently installed Oracle 9i, and i m using Mapx 4.5,
    and in the executable I am adding serverlayer
    (a layer formed by querying the geoloc column from oracle
    table), which was working fine with Oracle 8.1.7, but after
    installation of Oracle 9i , i encounter the following error
    while adding a serverlayer
    ORA-13373 Element of type Extent is not supported for Geodetic
    data
    Cause: Element type extent for a polygon geometry is not
    supported for
    geodetic data.
    Action: Convert the extent type polygon to a regular 5 point
    polygon
    and set
    etype accordingly.
    ORA-06512 at string line string
    Cause: Backtrace message as the stack is unwound by unhandled
    exceptions.
    Action: Fix the problem causing the exception or write an
    exception
    handler
    for this condition. Or you may need to contact your application
    administrator or database administrator
    Can anybody tell me what's going wrong ?
    As I urgently got to fix it.
    Thanks in advance
    Binoy.

    Hi,
    Oracle9i has a geodetic data model. Your data has a geodetic
    srid, which means that the data will need to conform to the rules
    associated with geodetic data. These rules include:
    No optimized rectangles are supported (my guess is the app is
    using an optimized rectangle as a query window, but the data
    could be the issue also).
    No arcs or circle types are supported.
    A single line segment cannot be equal to or greater than 1/2 the
    great circle distance.
    A polygon cannot have an area equal to or greater than 1/2 the
    surface area of the earth.
    You should try to find what version of Mapx supports Oracle9i.
    Regards,
    dan

  • Problem with Unicode and Oracle NCLOB fields

    When I try to INSERT a new (N)CLOB into an Oracle database, all is fine until I use a non-ASCII character, such as an accented roman letter, like the "�" (that's '\u00E9') in "caf�" or the Euro Currency symbol "?" (that's '\u20AC' as a Java character literal, just in case the display is corrupted here too). This doesn't happen with "setString", but does happen when streaming characters to the CLOB; however, as Oracle or the driver refuse strings larger than 4000 characters, and as I need to support all the above symbols (and many more), I'm stuck.
    Here's the background to the problem (I've tried to be detailed, after a lot of looking around on the web, I've seen lots of people with similar problems, but no solutions: I've seen and been able to stream ASCII clobs, or add small NCHAR strings, but not stream NCLOBs...).
    I'm using Oracle 9.2.0.1.0 with the "thin" JDBC driver, on a Windows box (XP Pro). My database instance is set up with AL32UTF8 as the database encoding, and UTF8 as the national character set.. I've created a simple user/schema, called LOBTEST, in which I created two tables (see below).
    The basic problems are :
    - with Oracle and JDBC, you can't set the value of a CLOB or NCLOB with PreparedStatement's setString or setCharacterStream methods (as it throws an exception when you send more than 4000 characters)
    - with Oracle, you can only have one LONG VARCHAR-type field per table (according to their documentation) and you MUST read all columns in a set order (amongst other limitations).
    - with a SQL INSERT command, there's no way to set the value of a parameter that's a CLOB (implementations of the CLOB interface can only be obtained by performing a SELECT.... but obviously, when I'm inserting, the record doesn't exist yet...). Workarounds include (possibly) JDBC 4 (doesn't exist yet...) or doing the following Oracle-specific stuff :
    INSERT INTO MyTable (theID,theCLOB) VALUES (1, empty_clob());
    SELECT * FROM MyTable WHERE theId = 1;
    ...and getting the empty CLOB back (via a ResultSet), and populating it. I have a very large application, that's deployed for many of our customers using SapDB and MySQL without a hitch, with "one-step" INSERTS; I can't feasibly change the application into "three-step INSERT-SELECT-UPDATE" just for Oracle, and I shouldn't need to!!!
    The final workaround is to use Oracle-specific classes, described in:
    http://download-east.oracle.com/otn_hosted_doc/jdeveloper/904preview/jdbc-javadoc/index.html
    ...such as CLOB (see my example). This works fine until I add some non-ASCII characters, at which point, irrespective of whether the CLOB data is 2 characters or 2 million characters, it throws the same exception:
    java.io.IOException: Il n'y a plus de donn?es ? lire dans le socket
         at oracle.jdbc.dbaccess.DBError.SQLToIOException(DBError.java:716)
         at oracle.jdbc.driver.OracleClobWriter.flushBuffer(OracleClobWriter.java:270)
         at oracle.jdbc.driver.OracleClobWriter.flush(OracleClobWriter.java:204)
         at scratchpad.InsertOracleClobExample.main(InsertOracleClobExample.java:61)...where the error message in English is "No more data to read from socket". I need the Oracle-specific "setFormOfUse" method to force it to correctly use the encoding of the NCLOB field, without it, even plain ASCII data is rejected with an exception indicating that the character set is inappropriate. With a plain CLOB, I don't need it, but the plain CLOB refuses my non-ASCII data anyway.
    So, many many thanks in advance for any advice. The remainder of my post includes my code example and a simple SQL script to create the table(s). You can mess around with the source code to test various combinations.
    Thanks,
    Chris B.
    CREATE TABLE NCLOBTEST (
         ID         INTEGER NOT NULL,
         SOMESTRING NCLOB,
         PRIMARY KEY (ID)
    CREATE TABLE CLOBTEST (
         ID         INTEGER NOT NULL,
         SOMESTRING CLOB,
         PRIMARY KEY (ID)
    package scratchpad;
    import java.io.Writer;
    import java.sql.Connection;
    import java.sql.Driver;
    import java.sql.PreparedStatement;
    import java.sql.SQLException;
    import java.util.Properties;
    import oracle.jdbc.driver.OracleDriver;
    import oracle.jdbc.driver.OraclePreparedStatement;
    import oracle.sql.CLOB;
    public class InsertOracleClobExample
         public static void main(String[] args)
              Properties jdbcProperties = new Properties();
              jdbcProperties.setProperty( "user", "LOBTEST" );
              jdbcProperties.setProperty( "password", "LOBTEST" );
    //          jdbcProperties.setProperty("oracle.jdbc.defaultNChar","true");
              Driver jdbcDriver = new OracleDriver();
              PreparedStatement pstmt = null;
              Connection connection = null;
              String tableName = "NCLOBTEST";
              CLOB clob = null;
              try
                   connection = jdbcDriver.connect("jdbc:oracle:thin:@terre:1521:orcl", jdbcProperties);
                   pstmt = connection.prepareStatement("DELETE FROM NCLOBTEST");
                   pstmt.executeUpdate();
                   pstmt.close();
                   pstmt = connection.prepareStatement(
                        "INSERT INTO "+tableName+" (ID,SOMESTRING) VALUES (?,?);"
                   clob = CLOB.createTemporary(pstmt.getConnection(), true, CLOB.DURATION_SESSION);
                   clob.open(CLOB.MODE_READWRITE);
                   Writer clobWriter = clob.getCharacterOutputStream();
                   clobWriter.write("Caf? 4,90? TTC");
                   clobWriter.flush();
                   clobWriter.close();
                   clob.close();
                   OraclePreparedStatement opstmt = (OraclePreparedStatement)pstmt;
                   opstmt.setInt(1,1);
                   opstmt.setFormOfUse(2, OraclePreparedStatement.FORM_NCHAR);
                   opstmt.setCLOB(2, clob);
                   System.err.println("Rows affected: "+opstmt.executeUpdate());
              catch (Exception sqlex)
                   sqlex.printStackTrace();
                   try     {
                        clob.freeTemporary();
                   } catch (SQLException e) {
                        System.err.println("Cannot free temporary CLOB: "+e.getMessage());
              try { pstmt.close(); } catch(SQLException sqlex) {}
              try { connection.close(); } catch(SQLException sqlex) {}
    }

    The solution to this is to use a third-party driver. Oranxo works really well.
    - Chris

Maybe you are looking for