"jar" error in Linux

whenever I try to run "jar ..." in Linux I get 2 errors:
Error: could not find libjava.so
Error: could not find Java 2 Runtime Environment.
I have the JRE folder set in my path, so I'm at a loss for why it can't find it.

The JRE does not come with the jar program!
For that you need the JDK!
D for Develpment, R for Runtime. When Running a program you are meant to already have the jars!
Other frequent problems I have found when using Java on UNIX is due to the fact that some have a default 1.x install under /usr/bin with simlinks. When installing new JDKs you really want the full path to the install directory, since the JDK/JRE use the directory structure to find relevant files/libraries, and the simlinks get in their way.
HTH,
Manuel Amago.

Similar Messages

  • Forms compilation Errors under Linux

    Hello,
    I have a main form called Tbdoctrk.fmb.
    This forms compiles and runs perfectly through Oracle 9i iDS.
    When transfering the fmb file under Linux, and attempting to recompile using the f90genm.sh utility, I get the following compilation errors:
    FRM-18108: Failed to load the following objects.
    FRM-30436: Parent window not specified for canvas.View Canvas H_TOOLBAR
    FRM-30041: Position of item places it off of canvas.
    Item: BUTTON_HELP
    Block: VARIABLE
    Form: TBDOCTRK
    FRM: Unable to adjust form for output.
    ====
    I noticed that most of the object that failed to load (1 data block object, 1 canvas and a number of property classes and visual attributes) are contained in a file called TOOLBAR.fmb.
    The TOOLBAR.fmb file compiles without errors under Linux/WIndows + is located in the same folder as the Tbdoctrk.fmb file.
    1) How can I resolve this issue ?
    PT
    PS: I tried renaming the fmb files to upper/lower case without success.

    Hello,
    My main form called Tbdoctrk.fmb in turn calls a form called Pre_bord.fmb in a Program Unit.
    Most but not all Class and Value Attributes are included in a file called toolbar.fmb. I did not find any specific reference to the toolbar.fmb file.
    However, at compile time, I find that those objects are not loaded.
    1) In what part of the main form Tbdoctrk.fmb should I find any such reference to the toolbar.fmb file ?
    2) How should I create those symbolic links under Linux ?
    PT

  • Starting a JAR File in Linux

    Hi,
    , to start a jar file in Linux from a file.. how can i do that?... like a .*bat file in windows, or a script file in unix...
    Thanks verry much, and sorry my english, (i'm form .UY :) )

    java -jar yourJar.jar should work for you. You could create an executable shell script to perform this or setup a file association to execute the file using java -jar whenever you bonk on it.

  • WBFS Manager Errors (wiithon / linux-wbfs-manager)

    I am trying to get these applications to run in order to manage my Wii backups but am having trouble.
    Wiithon returns what i believe is a python error :
    An exit code of 1 was returned from /usr/share/wiithon/wiithon.py
    There was no output
    There was no error message
    linux-wbfs-manager runs ok without privelages, but then i cant access my drives.
    when i try and run as sudo or root it returns:
    No protocol specified
    (wbfs_gtk:1632): Gtk-WARNING **: cannot open display: :0.0
    i think i read its a permissions error, but I am never sure which to set and how properly to do it. 
    Ive seen
    chmod
    and export=<something er other>
    Last edited by jewnersey (2011-12-25 14:06:59)

    fixed it.
    found another thread that export XAUTHORITY..... and it worked after.
    can someone explain

  • Wps.jar error

    Hi,
    Has anyone received this error before:
    Unable to deploy EJB: C:\ws\portal\main\projects\portal2\wps.jar from wps.jar:
    weblogic.ejb20.WLDeploymentException: The run-as principal 'portaladmin' for EJB
    'MailService' is not a user in the current realm. The user must exist for the
    EJB to successfully deploy.
    If you have, could you please let me know how to correct this error at your earliest
    convenience?
    Thanks,
    Eva
    [wps_jar_error.txt]

    It looks like you've requested a MDB to run as the portaladmin principal
    but you don't have a user with that name in your system.
    -- Rob
    Eva wrote:
    Hi,
    Has anyone received this error before:
    Unable to deploy EJB: C:\ws\portal\main\projects\portal2\wps.jar from wps.jar:
    weblogic.ejb20.WLDeploymentException: The run-as principal 'portaladmin' for EJB
    'MailService' is not a user in the current realm. The user must exist for the
    EJB to successfully deploy.
    If you have, could you please let me know how to correct this error at your earliest
    convenience?
    Thanks,
    Eva
    ####<Jul 8, 2004 5:16:28 PM CDT> <Debug> <Deployer> <SC8> <apaServer> <ExecuteThread: '1' for queue: 'weblogic.kernel.System'> <<WLS Kernel>> <> <BEA-149078> <Stack trace for message 149004
    weblogic.management.ApplicationException:
    Exception:weblogic.management.ApplicationException: prepare failed for wps.jar
         Module: wps.jar     Error: Exception preparing module: EJBModule(wps.jar,status=NEW)
    Unable to deploy EJB: C:\bea81\user_projects\applications\testPortal\wps.jar from wps.jar:
    weblogic.ejb20.WLDeploymentException: The run-as principal 'portaladmin' for EJB 'MailService' is not a user in the current realm. The user must exist for the EJB to successfully deploy.
         at weblogic.ejb20.deployer.MBeanDeploymentInfoImpl.getRunAsPrincipal(MBeanDeploymentInfoImpl.java:1047)
         at weblogic.ejb20.deployer.MBeanDeploymentInfoImpl.initializeRunAsSettings(MBeanDeploymentInfoImpl.java:838)
         at weblogic.ejb20.deployer.MBeanDeploymentInfoImpl.<init>(MBeanDeploymentInfoImpl.java:246)
         at weblogic.ejb20.deployer.EJBDeployer.prepare(EJBDeployer.java:1262)
         at weblogic.ejb20.deployer.EJBModule.prepare(EJBModule.java:477)
         at weblogic.j2ee.J2EEApplicationContainer.prepareModule(J2EEApplicationContainer.java:2962)
         at weblogic.j2ee.J2EEApplicationContainer.prepareModules(J2EEApplicationContainer.java:1534)
         at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:1188)
         at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:1031)
         at weblogic.management.deploy.slave.SlaveDeployer$ComponentActivateTask.prepareContainer(SlaveDeployer.java:2602)
         at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.createContainer(SlaveDeployer.java:2552)
         at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare(SlaveDeployer.java:2474)
         at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(SlaveDeployer.java:798)
         at weblogic.management.deploy.slave.SlaveDeployer.prepareDelta(SlaveDeployer.java:507)
         at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDeployer.java:465)
         at weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHandler.java:25)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
         at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.createContainer(SlaveDeployer.java:2556)
         at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare(SlaveDeployer.java:2474)
         at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(SlaveDeployer.java:798)
         at weblogic.management.deploy.slave.SlaveDeployer.prepareDelta(SlaveDeployer.java:507)
         at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDeployer.java:465)
         at weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHandler.java:25)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
    ####<Jul 8, 2004 5:16:28 PM CDT> <Error> <Deployer> <SC8> <apaServer> <ExecuteThread: '1' for queue: 'weblogic.kernel.System'> <<WLS Kernel>> <> <BEA-149201> <Failed to complete the deployment task with ID 0 for the application testPortal.
    weblogic.management.ApplicationException:
    Exception:weblogic.management.ApplicationException: prepare failed for wps.jar
         Module: wps.jar     Error: Exception preparing module: EJBModule(wps.jar,status=NEW)
    Unable to deploy EJB: C:\bea81\user_projects\applications\testPortal\wps.jar from wps.jar:
    weblogic.ejb20.WLDeploymentException: The run-as principal 'portaladmin' for EJB 'MailService' is not a user in the current realm. The user must exist for the EJB to successfully deploy.
         at weblogic.ejb20.deployer.MBeanDeploymentInfoImpl.getRunAsPrincipal(MBeanDeploymentInfoImpl.java:1047)
         at weblogic.ejb20.deployer.MBeanDeploymentInfoImpl.initializeRunAsSettings(MBeanDeploymentInfoImpl.java:838)
         at weblogic.ejb20.deployer.MBeanDeploymentInfoImpl.<init>(MBeanDeploymentInfoImpl.java:246)
         at weblogic.ejb20.deployer.EJBDeployer.prepare(EJBDeployer.java:1262)
         at weblogic.ejb20.deployer.EJBModule.prepare(EJBModule.java:477)
         at weblogic.j2ee.J2EEApplicationContainer.prepareModule(J2EEApplicationContainer.java:2962)
         at weblogic.j2ee.J2EEApplicationContainer.prepareModules(J2EEApplicationContainer.java:1534)
         at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:1188)
         at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:1031)
         at weblogic.management.deploy.slave.SlaveDeployer$ComponentActivateTask.prepareContainer(SlaveDeployer.java:2602)
         at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.createContainer(SlaveDeployer.java:2552)
         at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare(SlaveDeployer.java:2474)
         at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(SlaveDeployer.java:798)
         at weblogic.management.deploy.slave.SlaveDeployer.prepareDelta(SlaveDeployer.java:507)
         at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDeployer.java:465)
         at weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHandler.java:25)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
         at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.createContainer(SlaveDeployer.java:2556)
         at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare(SlaveDeployer.java:2474)
         at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(SlaveDeployer.java:798)
         at weblogic.management.deploy.slave.SlaveDeployer.prepareDelta(SlaveDeployer.java:507)
         at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDeployer.java:465)
         at weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHandler.java:25)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
    --------------- nested within: ------------------
    weblogic.management.ManagementException: - with nested exception:
    [weblogic.management.ApplicationException:
    Exception:weblogic.management.ApplicationException: prepare failed for wps.jar
         Module: wps.jar     Error: Exception preparing module: EJBModule(wps.jar,status=NEW)
    Unable to deploy EJB: C:\bea81\user_projects\applications\testPortal\wps.jar from wps.jar:
    weblogic.ejb20.WLDeploymentException: The run-as principal 'portaladmin' for EJB 'MailService' is not a user in the current realm. The user must exist for the EJB to successfully deploy.
         at weblogic.ejb20.deployer.MBeanDeploymentInfoImpl.getRunAsPrincipal(MBeanDeploymentInfoImpl.java:1047)
         at weblogic.ejb20.deployer.MBeanDeploymentInfoImpl.initializeRunAsSettings(MBeanDeploymentInfoImpl.java:838)
         at weblogic.ejb20.deployer.MBeanDeploymentInfoImpl.<init>(MBeanDeploymentInfoImpl.java:246)
         at weblogic.ejb20.deployer.EJBDeployer.prepare(EJBDeployer.java:1262)
         at weblogic.ejb20.deployer.EJBModule.prepare(EJBModule.java:477)
         at weblogic.j2ee.J2EEApplicationContainer.prepareModule(J2EEApplicationContainer.java:2962)
         at weblogic.j2ee.J2EEApplicationContainer.prepareModules(J2EEApplicationContainer.java:1534)
         at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:1188)
         at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:1031)
         at weblogic.management.deploy.slave.SlaveDeployer$ComponentActivateTask.prepareContainer(SlaveDeployer.java:2602)
         at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.createContainer(SlaveDeployer.java:2552)
         at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare(SlaveDeployer.java:2474)
         at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(SlaveDeployer.java:798)
         at weblogic.management.deploy.slave.SlaveDeployer.prepareDelta(SlaveDeployer.java:507)
         at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDeployer.java:465)
         at weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHandler.java:25)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
         at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare(SlaveDeployer.java:2491)
         at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(SlaveDeployer.java:798)
         at weblogic.management.deploy.slave.SlaveDeployer.prepareDelta(SlaveDeployer.java:507)
         at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDeployer.java:465)
         at weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHandler.java:25)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)

  • How to automount jAR file in Linux!

    hello,
    I am create JAR file. I want to put this JAR file in CD and if an user in linux platform can ablet to locate this JAR file in /usr/bin/myjar folder and open through java -jar jarFile.jar cmd using shell script. Is it possible to uto mount and auto run that JAR file in Linux.
    How can find whether JRE is already installed in a system or not.

    Hi,
    Is the Linux your client Platcform? If you want to execute something in the client, you need to use Webutil.
    You can use something like,
    You can use Client_Host from webutil to invoke an editor (say gedit for linux).
    HTH.
    Regards,
    Arun

  • Corrupt JAR, error while reading

    I installed SDK 3.0 and jdk 1.6.0_05. i compiled a simple application and created a jar-file in command line using the following commands:
    C:\Program Files\Java\jdk1.6.0_05\bin>javac -source 1.4 -target 1.4 -bootclasspa
    th C:\lib HelloMidlet.java
    C:\Program Files\Java\jdk1.6.0_05\bin>jar cvfm HelloMidlet.jar manifest.txt Hell
    oMidlet.Class
    added manifest
    adding: HelloMidlet.Class(in = 1410) (out= 655)(deflated 53%)
    C:\Program Files\Java\jdk1.6.0_05\bin>And now, when i'm trying to run my app with one of the emulators in SDK, i have an error:
    *** Error ***
    A problem occured during deploying application from http://127.0.0.1:3607/HelloMidlet.jad
    Reason:
    Corrupt JAR, error while reading: HelloMidlet.class
    Process exited with exit code 1What can be the problem?
    P. S. Sorry if i had mistakes in English, i'm just studying)

    Please don't post in threads that are long dead and don't hijack other threads. When you have a question, start your own topic. Feel free to provide a link to an old post that may be relevant to your problem.
    I'm locking this thread now.

  • How to schedule jar command on linux in /etc/crontab

    hello ,
    i am facing a problem in scheduling java -jar myjarfilename.jar in crontab in linux .i have tried by giving the command directly in the /etc/crontab entry and running it as a script from the crontab but in vain.please give me some ideas how to schedule this jar command on linux in /etc/crontab.
    thanx

    Stuff the above accept for the STARs read about them;
    This a REAL BASIC senerio. ASSUMING you are paulb the user
    To add a cron job it is BEST to use "crontab"
    1) MAKE SURE YOU CAN USE CRONTAB
    check "/etc/cron.d/cron.deny " does not exist and it does not have your username in it
    If it does, you will have to remove your name somehow or just delete the file.
    2) MAKE YOUR SCRIPT
    using your fav editor like "joe" or "pico" or err "vi" make a textfile called "home/paulb/hiscript.sh"
    This script is just saying hi in sh and then printing a date when it said hi in the dumbhi.log
    --------start of hiscript.sh----------------
    #!/bin/sh
    echo "hi at";date > /home/paulb/dumhi.log;
    --------end of hiscript.sh----------------3) MAKE SCRIPT EXECUTABLE
    run the command
    "chmod +x /home/paulb/hiscript.sh"4) MAKE A CRONTAB FILE FOR YOURSELF
    using your fav editor like "joe" or "pico" or err "vi" make a textfile called "home/paulb/paulb.ct"
    This is EVERY 1 min run that script. See u need to know the commands
    -----start of paulb.ct-------------------------
    1  *  *  *  *   home/paulb/hiscript.sh
    -----end of paulb.ct-------------------------5) ADD THE CRON JOB
    run the command
    "crontab /home/paulb/paulb.ct"All done

  • Jar files as application Error under linux

    I created a jar file with the following jar command
    jar cmf mainclass Asdi2GuiJar.jar *.class
    Main-Class: ASDIGUI
    It did work without any problem : java -jar Asdi2GuiJar.jar
    when I added to the CLASSPATH under linux "Redhat 7.2" C-shell, it give me an error:
    Exception in the thread main java.util.zip.ZipException: No Such file or directory
    even im not using any zip file class in my java application. Any idea why im getting such an error even before addding the jar file to the CLASSPATH it did work without any problem?

    ah young grasshopper you are using zip files :) rename your .jar file a .zip and use unzip on it :)
    and that error means that the jvm's classloader couldn't load it's zip component so it's likely that your jvm can't find it's standard lib's
    make sure your class path points to the /lib directory of your java install..... which version of the jdk are you using?
    are you setting the classpath globally? since the way you said CLASSPATH I guess you are... ....are you keeping the old classpath when you set it? like CLASSPATH=$CLASSPATH:/myNewSource
    or something like that...
    maybe something in that will help

  • Error Running jar file on Linux Server

    Hi,
    I recently wrote a small program to be run together when apache is being start up on the server. When the bin/startup.sh is executed, my program will be run together
    exec java -classpath ./ZipLogs.jar com.btsoft.magic.zip.ZipFile
    I included this command in the startup.sh but the following error came up when I run it:
    Exception in thread "main" java.lang.NoClassDefFoundError: com/btsoft/magic/zip/ZipFile
    I placed the jar file in the same directory as the startup.sh.
    But when I run it directly on the console:
    java -classpath ./ZipLogs.jar com.btsoft.magic.zip.ZipFile
    its fine..
    Can anyone help me with this problem?
    Thanks

    williammandrake wrote:
    I placed the jar file in the same directory as the startup.sh.That would suggest to me that your directory is wrong. I suggest you start by printing out cwd.
    Could also be a permissions problem as well.

  • 11g Clusterware installation VIPCA Exception error on linux

    Hi,
    I'm trying to build a 11g RAC on OEL5.1 with vmware for education purposes.
    Software used:
    - Oracle Enterprise Linux 5.1
    - 11g clusterware for linux
    - 11g Enterprise Edition database software for linux
    - VMware 1.0.8 for linux
    Hardware:
    - Intel 2.3GHz quadcore with 4GB RAM and 250GB harddisk
    I have successfully setup:
    - host machine using OEL5.1 and installed VMware 1.0.8
    - 2 nodes with guest OS using OEL5.1
    When installing 11g clusterware, at the last part when we need to run orainst.sh and root.sh as root user on both nodes, I am able to run orainst.sh successfully on both nodes.
    However, root.sh is only able to run successfully on node 1 but had VIPCA error on node 2.
    Excerpt of the root.sh error message on node 2:
    NO KEYS WERE WRITTEN. Supply -force parameter to override.
    -force is destructive and will destroy any previous cluster
    configuration.
    Oracle Cluster Registry for cluster has already been initialized
    Startup will be queued to init within 30 seconds.
    Adding daemons to inittab
    Expecting the CRS daemons to be up within 600 seconds.
    Cluster Synchronization Services is active on these nodes.
    rac1
    rac2
    Cluster Synchronization Services is active on all the nodes.
    Waiting for the Oracle CRSD and EVMD to start
    Oracle CRS stack installed and running under init(1M)
    Running vipca(silent) for configuring nodeapps+
    Exception in thread "main" java.lang.NoClassDefFoundError: oracle/ewt/wizard/WizardFrame+
    Executing crs_stat -t as root user on both nodes only show 2 crs processes (CRSD and EVMD).
    I did try invoking vipca manually as root user, but keep getting the same Exception error:
    Exception in thread "main" java.lang.NoClassDefFoundError: oracle/ewt/wizard/WizardFrame+
    I have tried installing clusterware more than 3 times and keep getting the same errors.
    Has anyone experienced this vipca error before?
    Regards
    Jim
    Edited by: user6442011 on Jul 7, 2009 11:39 PM

    Check vipca.jar file at $ORA_CRS_HOME/srvm/jlib/vipca.jar
    $ORA_CRS_HOME/jdk/bin/jar -tvf $ORA_CRS_HOME/srvm/jlib/vipca.jar
    Or
    find $ORA_CRS_HOME -name vipca.jar -type f
    Example: test...
    # mv $ORA_CRS_HOME/srvm/jlib/vipca.jar $ORA_CRS_HOME/srvm/jlib/vipca.jar-bak
    # $ORA_CRS_HOME/bin/vipca
    Exception in thread "main" java.lang.NoClassDefFoundError: oracle/ops/vipca/VipCAStep:
    - find vipca.jar
    # find $ORA_CRS_HOME -name vipca.jar -type f
    it should be at $ORA_CRS_HOME/srvm/jlib PATH
    if not find... you can copy from other patch or ... (Or check why don'tfind ... it can happen if we patch, so find from old version )
    If find ..
    Check
    $ORA_CRS_HOME/jdk/bin/jar -tvf $ORA_CRS_HOME/srvm/jlib/vipca.jar | grep Wizard
    ;) check you can read it (vipca.jar)
    Or ... Example
    # type vipca
    /u01/oracle/crs/bin/vipca
    # ls /u01/oracle/crs/srvm/jlib/vipca.jar
    # /u01/oracle/crs/jdk/bin/jar -tvf /u01/oracle/crs/srvm/jlib/vipca.jarEdited by: Surachart Opun (HunterX) on Jul 8, 2009 5:22 PM
    Edited by: Surachart Opun (HunterX) on Jul 8, 2009 5:36 PM

  • NW04s SR2 Install error on Linux Fedora 7

    Hello
    I'm trying to install a Netweaver 04s SR2 (Java Stack, EP, EP Core ...) on a Fedora 7 box. I know it's not a supported platform but anyway, during phase 24 (Start central services instance), the installer stopped with the following error trace :
    INFO 2007-09-19 22:43:39
    Working directory changed to /tmp/sapinst_exe.5472.1190234599.
    INFO 2007-09-19 22:43:39
    Working directory changed to /tmp/sapinst_instdir/NW04S/SYSTEM/ADA/CENTRAL/AS.
    INFO 2007-09-19 22:43:39
    Working directory changed to /tmp/sapinst_exe.5472.1190234599.
    INFO 2007-09-19 22:43:39
    Working directory changed to /tmp/sapinst_instdir/NW04S/SYSTEM/ADA/CENTRAL/AS.
    INFO 2007-09-19 22:43:39
    Working directory changed to /tmp/sapinst_exe.5472.1190234599.
    INFO 2007-09-19 22:43:39
    Working directory changed to /tmp/sapinst_instdir/NW04S/SYSTEM/ADA/CENTRAL/AS.
    INFO 2007-09-19 22:43:39
    Working directory changed to /tmp/sapinst_exe.5472.1190234599.
    INFO 2007-09-19 22:43:39
    Working directory changed to /tmp/sapinst_instdir/NW04S/SYSTEM/ADA/CENTRAL/AS.
    WARNING[E] 2007-09-19 22:43:39
    FSL-02015  Node /proc/sys/net/ipv4/route/flush does not exist.
    WARNING[E] 2007-09-19 22:43:39
    FSL-02015  Node /proc/sys/net/ipv6/route/flush does not exist.
    INFO 2007-09-19 22:43:39
    Copied file '/tmp/sapinst_instdir/NW04S/SYSTEM/ADA/CENTRAL/AS/inifile.xml' to '/tmp/sapinst_instdir/NW04S/SYSTEM/ADA/CENTRAL/AS/inifile.6.xml'.
    INFO 2007-09-19 22:43:39
    Copied file '/tmp/sapinst_instdir/NW04S/SYSTEM/ADA/CENTRAL/AS/inifile.xml' to '/tmp/sapinst_instdir/NW04S/SYSTEM/ADA/CENTRAL/AS/inifile.7.xml'.
    INFO 2007-09-19 22:43:41
    Copied file '/tmp/sapinst_instdir/NW04S/SYSTEM/ADA/CENTRAL/AS/keydb.xml' to '/tmp/sapinst_instdir/NW04S/SYSTEM/ADA/CENTRAL/AS/keydb.4.xml'.
    INFO 2007-09-19 22:43:41
    Execute step startSCSInstance of component |NW_Onehost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|1|0|NW_CI_Instance|ind|ind|ind|ind|11|0.
    INFO 2007-09-19 22:44:01
    Working directory changed to /tmp/sapinst_exe.5472.1190234599.
    INFO 2007-09-19 22:44:01
    Working directory changed to /tmp/sapinst_instdir/NW04S/SYSTEM/ADA/CENTRAL/AS.
    INFO 2007-09-19 22:44:01
    Working directory changed to /tmp/sapinst_exe.5472.1190234599.
    INFO 2007-09-19 22:44:01
    Working directory changed to /tmp/sapinst_instdir/NW04S/SYSTEM/ADA/CENTRAL/AS.
    INFO 2007-09-19 22:44:01
    Starting instance ZP1/SCS01...
    INFO 2007-09-19 22:44:01
    Working directory changed to /tmp/sapinst_exe.5472.1190234599.
    INFO 2007-09-19 22:44:01
    Working directory changed to /tmp/sapinst_instdir/NW04S/SYSTEM/ADA/CENTRAL/AS.
    <b>WARNING 2007-09-19 22:44:01
    Connect to message server (paloalto/3901) failed: NIECONN_REFUSED.</b>
    INFO 2007-09-19 22:44:01
    Account zp1adm already exists.
    INFO 2007-09-19 22:44:01
    Account 0 already exists.
    INFO 2007-09-19 22:44:01
    Account 502 already exists.
    INFO 2007-09-19 22:44:01
    Account 501 already exists.
    INFO 2007-09-19 22:44:01
    Account 0 already exists.
    INFO 2007-09-19 22:44:01
    Account 502 already exists.
    INFO 2007-09-19 22:44:01
    Creating file /tmp/sapinst_instdir/NW04S/SYSTEM/ADA/CENTRAL/AS/start_ZP1_SCS01.log.
    INFO 2007-09-19 22:44:01
    Output of /usr/sap/ZP1/SYS/exe/run/startsap all SCS01 paloalto is written to the logfile start_ZP1_SCS01.log.
    WARNING 2007-09-19 22:44:02
    <b>Execution of the command "/usr/sap/ZP1/SYS/exe/run/startsap all SCS01 paloalto" finished with return code 1. Output: </b>
    ERROR 2007-09-19 22:44:02
    CJS-20022  Could not start instance 'SCS01' of SAP system ZP1.
    ERROR 2007-09-19 22:44:02
    CJS-20022  Could not start instance 'SCS01' of SAP system ZP1.
    ERROR 2007-09-19 22:44:02
    FCO-00011  The step startSCSInstance with step key |NW_Onehost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|1|0|NW_CI_Instance|ind|ind|ind|ind|11|0|startSCSInstance was executed with status ERROR .
    It looks like the message server is not running or could not run on port 3901.
    Any help would be appreciated
    Thank you

    Hi
    I've solved the problem ! It was not related to the port number but some sort of shared memory segment size that was not big enough. Thank you for your help.
    Btw, I'm getting into another problem: the installer got stucked at stage 30
    "Install Software Unit" and seems not being able to start 'process server0'.
    I must admit I really don't know where to look for. Here is the Log Browser trace :
    WARNING 2007-09-20 11:11:35
    Execution of the command "/opt/IBMJava2-amd64-142/bin/java -classpath /usr/sap/ZP1/SYS/global/sltools/sharedlib/launcher.jar -showversion -Xmx256m com.sap.engine.offline.OfflineToolStart com.sap.sl.ut.manager.UtlMain /usr/sap/ZP1/SYS/global/security/lib/tools/iaik_jce.jar:/usr/sap/ZP1/SYS/global/security/
    lib/tools/iaik_jsse.jar:/usr/sap/ZP1/SYS/global/security/lib/tools/iaik_smime.jar:/usr/sap/ZP1/
    SYS/global/security/lib/tools/iaik_ssl.jar:/usr/sap/ZP1/SYS/global/security/lib/tools/w3c_http.jar:
    /usr/sap/ZP1/SYS/global/sltools/sharedlib/sap.com~sl.ut.infoprovider_lib.jar:
    /usr/sap/ZP1/SYS/global/sltools/sharedlib/sap.com~sl.ut.manager.offline.jar:
    /usr/sap/ZP1/SYS/global/sltools/sharedlib/antlr.jar:/usr/sap/ZP1/SYS/global/sltools/sharedlib/exception.jar:
    /usr/sap/ZP1/SYS/global/sltools/sharedlib/jddi.jar:/usr/sap/ZP1/SYS/global/sltools/sharedlib/logging.jar:
    /usr/sap/ZP1/SYS/global/sltools/sharedlib/offlineconfiguration.jar:/usr/sap/ZP1/SYS/global/sltools/sharedlib/opensqlsta.jar:
    /usr/sap/ZP1/SYS/global/sltools/sharedlib/tc_sec_secstorefs.jar:/usr/sap/ZP1/SYS/global/sltools/sharedlib/sap.comtcsdtcvlimpl.jar:/usr/sap/ZP1/SYS/global/sltools/sharedlib/SDMutil.jar:/usr/sap/ZP1/SYS/global/sltools/sharedlib/SLUtil.jar:/sapdb/programs/runtime/jar/sapdbc.jar -activated -prod_name=NetWeaver -usage_name=AS -usage_vendor=sap.com -log=UTL_activate_usages.log -action=true -sid=ZP1 -dsn=jdbc/pool/ZP1 -ssprops=/usr/sap/ZP1/SYS/global/security/data/SecStore.properties -ssk=/usr/sap/ZP1/SYS/global/security/data/SecStore.key"
    finished with return code 50. Output: java version "1.4.2"Java(TM) 2 Runtime Environment, Standard Edition (build 2.2)IBM J9SE VM (build 2.2, J2RE 1.4.2 IBM J9 2.2 Linux amd64-64 j9xa64142-20070708 (JIT enabled)J9VM - 20070530_2352_LHdSMrJIT - r7_level20070315_1745)
    WARNING 2007-09-20 11:11:35
    Execution of the command "/bin/sh -c /usr/sap/ZP1/JC00/SDM/program/StopServer.sh" finished with return code 104. Output: Starting '/opt/IBMJava2-amd64-142/bin/java' '-Xmx256M' -jar '/usr/sap/ZP1/JC00/SDM/program/bin/SDM.jar' shutdown 'sdmguiport=50018' 'sdmhome=/usr/sap/ZP1/JC00/SDM/program'Sending shutdown request on Port 50018Could not shutdown server: The SDM Server is not running.(1)Details: Could not establish connection to server 'localhost/50018': Connexion refuséeProcessing error. Return code: 104 

  • Link error in Linux

    Hi,
    I am developing in Windows and deploy on Linux and receive the following error
    java.lang.UnsatisfiedLinkError: no libdb_java43 in java.library.path
    From the FAQ if found that "This occurs because DB XML is written in C++, and needs quite a few different native shared libraries (or DLLs on windows) in order to work. In order to solve this problem, you should add the directory containing this shared libraries (or DLLs) to the java.library.path property."
    My questions are:
    What and where is the Linux native shared library that I apparently need? How is it called and where is it located on the Oracle site for download?
    What are the steps to add the library directory to the Linux LD_LIBRARY_PATH? (perhaps an example may help).
    Thanks!

    Hello,
    BDB XML needs to be built on the platform on which it is deployed.
    There are no precompiled binaries for Linux available from Oracle.
    So, it's necessary to build from source on your Linux platform,
    and use those libraries. You can use your .jar file developed
    from Windows, but on deployment, you need a set of libraries
    compiled on Linux.
    Regards,
    George

  • Error conecting linux(sqlplus(ora8/9 client)) to SCO(ora7( DB))

    HI. I apologize of my poor english....
    Im trying to connect a new linux machine with ora8 to an old sco with ora7
    points about...:
    1- tnsping works fine. and I can see it in the logs
    2- (here the problem) on "sqlplus user/pass@AUDI"
    SQL*Plus: Release 9.2.0.1.0 - Production on Mie Nov 6 15:43:47 2002
    Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
    ERROR:
    ORA-03113: end-of-file on communication channel
    It got nothing on the trace files on the ora7 DB.
    And the ora7 DB is working fine at production level with net clients whitout problems.
    The service names tnsnames.ora for AUDI is:
    AUDI =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.119.207)(PORT = 1521))
    (CONNECT_DATA = (SID = AUDI)(SERVER=DEDICATED))
    3- I can connect to any ora8 ora9 DB. without any error
    what can I do ?
    can I trace to a lower level ?
    I really do not know what to do, becose I cant see any error at server side.
    may it be an enviroment variable problem ??? I tried to put the same as in the sco enviroment.but nothing.
    Please tell me any way to continue with it.
    I've searched about and tried it...:
    Solution Description:
    =====================
    The ORA-3113 error is a general error reported by Oracle client tools,
    which signifies that they cannot communicate with the oracle shadow
    process. As it is such a general error more information must be collected
    to help determine what has happened.
    This short article describes what information to collect for an
    ORA-3113 error when the Oracle server is on a Unix platform.
    General Issues:
    ===============
    1) Is it only one tool that encounters the error or
    do you get an ORA-3113 from any tool doing a similar operation?
    If the problem reproduces in SQL*Plus, use this in all tests
    below.
    2) Check if the problem is just restricted to:
    [ ] One particular UNIX user,
    [ ] Any UNIX user
    or [ ] Any UNIX user EXCEPT as the Oracle user.
    3) Check if the problem is just restricted to:
    [ ] One particular ORACLE logon
    or [ ] Any ORACLE logon that has access to the
    relevant tables.
    4) If you have a client-server configuration does this occur from:
    [ ] Any client
    [ ] Just one particular client
    or [ ] Just one group of clients ?
    If so what do these clients have in common ?
    Eg: Software release .
    5) Do you have a second server or database version where the
    same operation works correctly?
    Connecting to Oracle
    ====================
    If the ORA-3113 error occurs when actually connecting to Oracle then
    continue with this section. If you connect to Oracle successfully and get
    the error on an established connection, please go to the next section
    'An Established Connection'.
    Local Connections
    ~~~~~~~~~~~~~~~~~
    For local connections check the following:
    1) Have you installed the Parallel Server Option?
    ORA-3113 will occur if you have installed the Parallel
    Server Option but do NOT have a Distributed Lock Manager
    installed or running.
    To deinstall the Parallel Server Option:
    Shut down any Oracle instances
    % script /tmp/relink.out
    % cd $ORACLE_HOME/rdbms/lib
    # 'oracle' should not exist so delete it if it present
    % rm -f oracle
    % make -f oracle.mk no_parropt ioracle
    % exit
    If the above reports any errors Oracle support will need to
    see the contents of the file /tmp/relink.out.
    2) Try using the SQL*Net V1 driver for local connections:
    setenv TWO_TASK P:
    Then try the client tool. If this now works you may have a
    problem with the default SQL*Net driver.
    3) Your 'oracle' executable may be corrupt. Relink it as follows:
    Log in as the 'oracle' user.
    % script /tmp/relink.out
    % cd $ORACLE_HOME/rdbms/lib
    % rm -f oracle
    % make -f oracle.mk ioracle
    % exit
    If this reports any errors Oracle support will need to see
    the contents of the file /tmp/relink.out .
    4) Some Unix platforms need LD_LIBRARY_PATH to be set
    correctly to resolve any dynamically linked libraries.
    As the user with the problem:
    % script /tmp/ldd.out
    % id
    % cd $ORACLE_HOME/bin
    % ldd oracle
    % exit
    If the 'ldd' command does not exist go to the next step below.
    Check that all lines listed show a full library file. If there
    are any 'not found' lines reported contact Oracle support
    with the output of /tmp/ldd.out.
    5) If you cannot connect as the Oracle user AND your system has
    the 'truss' command try the following when logged in as
    'oracle' (using the relevant client tool):
    % truss -o /tmp/truss.out -f sqlplus user/password
    Exit from sqlplus (or the problem tool)
    Keep the file /tmp/truss.out safe - Oracle MAY need to see it.
    Remote Connections
    ==================
    For remote connections check the following:
    1) Check if you can make LOCAL connections. If not then follow
    the steps above for LOCAL connection problems.
    2) Which SQL*Net protocol are you using ?
    Table C.1
    ~~~~~~~~~
    SYMBOL SQL*Net V1 Layer Prefix Debug Listener
    osnptt PIPE Two Task P: OSNTTD none
    osnasy ASYNC A: OSNADBUG none
    osnttt TCP/IP Two Task T: OSNTDBUG orasrv
    osntlitcp TCP/TLI Two Task TT: OSNTLIDBUG tcptlisrv
    osntlispx SPX Two Task X: OSNTLIDBUG spxsrv
    osndnt DECNET Two Task D: OSNDDBUG none
    For the protocol you are using check that the oracle
    executable has this linked in as follows:
    Log in as oracle on the server
    % script /tmp/drivers.out
    % cd $ORACLE_HOME/bin
    % drivers oracle
    % exit
    Eg: If you are using TCP/IP it should list TCP/IP.
    If the drivers command does not exist on your machine, check
    the oracle executable as below substituting the relevant
    symbol from Table C.1 for the word SYMBOL. If you do not
    receive any output then:
    % script /tmp/symbols.out
    % cd $ORACLE_HOME/bin
    % nm oracle | grep -i SYMBOL # Use relevant SYMBOL
    % exit
    Eg: For SQL*Net TCP/IP you would use the command:
    % nm oracle | grep -i osnttt
    If the required driver is not installed you should:
    a) Relink Oracle (See step (B3) above).
    b) Re-check the oracle executable for the
    relevant driver. If it is still missing then
    the relevant SQL*Net driver has probably not
    been installed. Reinstall the required SQL*Net
    driver.
    3) Check your /etc/oratab or /var/opt/oracle/oratab file
    is of the form:
    # Comments begin with a HASH
    SID:/path/to/oracle/home:N
    And confirm:
    [ ] There are no blank lines.
    [ ] The PATH to ORACLE_HOME is correct and contains
    no environment variables.
    [ ] There are no ':'s in the ORACLE_HOME path.
    [ ] There is NOTHING at the end of the line.
    The last character on a line should be Y or N.
    There should NOT be a fourth field.
    4) If you have truss available try to truss the Oracle
    connection. You will normally need the root privilege to do this
    and should use truss on the relevant listener process (see
    Table C1)
    Eg: For TCP/IP the listener is 'orasrv' so enter these
    commands as 'root':
    % truss -o /tmp/truss.out -f -eall -p <PID_of_orasrv>
    Attempt the connection to reproduce the ORA-3113 then
    interrupt this 'truss' session.
    An Established Connection:
    ==========================
    If the ORA-3113 error occurs AFTER you have connected to Oracle, then
    it is most likely that the oracle executable has terminated unexpectedly.
    1) Determine which database you were connected to and
    obtain the following init.ora parameter values:
    Parameter Default
    USER_DUMP_DEST $ORACLE_HOME/rdbms/log
    BACKGROUND_DUMP_DEST $ORACLE_HOME/rdbms/log
    CORE_DUMP_DEST $ORACLE_HOME/dbs
    Eg: To find these log into SQL*DBA or Server Manager and:
    SQLDBA> show parameter dump
    2) Check in your 'USER_DUMP_DEST' for any Oracle trace file.
    It is important to find the correct trace file. Use the
    command 'ls -ltr' to list files in time order with the
    latest trace files appearing LAST. If you are not sure
    which trace file may be relevant, move all the current trace
    files to a different directory and reproduce the problem.
    The trace file will typically be of the form 'ora_<PID>.trc'.
    3) If there is no trace file check for a core dump in the
    CORE_DUMP_DEST. Check as follows:
    % cd $ORACLE_HOME/dbs # Or your CORE_DUMP_DEST
    % ls -l core*
    If there is a file called core, check that its time matches
    the time of the problem. If there are directories called
    'core_<PID>' check for core files in each of these. It is
    IMPORTANT to get the correct core file. Now obtain a stack
    trace from this core file. Check each of the sequences below
    for the procedure. One of the following should work for your
    platform:
    If you have dbx:
    % script /tmp/core.stack
    % dbx $ORACLE_HOME/bin/oracle core
    (dbx) where
    (dbx) quit
    % exit
    If you have sdb:
    % script /tmp/core.stack
    % sdb $ORACLE_HOME/bin/oracle core
    * t
    * q
    % exit
    If you have xdb:
    % script /tmp/core.stack
    % xdb $ORACLE_HOME/bin/oracle core
    (xdb) t
    (xdb) q
    % exit
    If you have adb:
    % script /tmp/core.stack
    % adb $ORACLE_HOME/bin/oracle core
    $c
    $q
    % exit
    4) Try to isolate the SQL command that is executing when
    the error occurs. Eg: Is it a particular SQL statement
    or PL/SQL block that causes the error ?
    To help establish this turn on SQL_TRACE for the client
    tool.
    Eg: Product Action
    ~~~~~~~ ~~~~~~
    SQL*Forms Use the '-s' statistics option at run time.
    SQL*Plus Issue 'ALTER SESSION SET SQL_TRACE TRUE;'
    Pro* EXEC SQL ALTER SESSION SET SQL_TRACE TRUE;
    This should force a server side SQL trace file as detailed
    in #2 above. The trace file should give a clue as to what
    SQL was being executed.
    5) Try to obtain any SQL*Net trace to show what the latest
    operation sent to the oracle process was.
    For SQL*Net V2 ask for the article [NOTE:16564.1]
    For SQL*Net V1 check which SQL*Net protocol you are using
    and note the Debug environment variable from table C1 above.
    Then catch SQL*Net trace from the client. Eg: For SQL*Net
    TCP/IP and sqlplus:
    % setenv OSNTDBUG -1 # Use correct OSN*DBUG
    variable
    % sh
    % sqlplus scott/tiger@t:hostname:sid 2>/tmp/net1.out
    6) Based on information collected above try to determine a small
    test case which will reproduce the problem. This is important
    for two reasons:
    a) It gives Oracle support a small test case if the
    problem does not look like a known problem.
    b) It gives you a simple way to check if any patch
    supplied will fix the problem.
    7) It may be useful to follow the instructions in step (4) above.
    This will produce a lot of output but MAY be useful if no
    other information is available.

    HI. I apologize of my poor english....
    Im trying to connect a new linux machine with ora8 to an old sco with ora7
    points about...:
    1- tnsping works fine. and I can see it in the logs
    2- (here the problem) on "sqlplus user/pass@AUDI"
    SQL*Plus: Release 9.2.0.1.0 - Production on Mie Nov 6 15:43:47 2002
    Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
    ERROR:
    ORA-03113: end-of-file on communication channel
    It got nothing on the trace files on the ora7 DB.
    And the ora7 DB is working fine at production level with net clients whitout problems.
    The service names tnsnames.ora for AUDI is:
    AUDI =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.119.207)(PORT = 1521))
    (CONNECT_DATA = (SID = AUDI)(SERVER=DEDICATED))
    3- I can connect to any ora8 ora9 DB. without any error
    what can I do ?
    can I trace to a lower level ?
    I really do not know what to do, becose I cant see any error at server side.
    may it be an enviroment variable problem ??? I tried to put the same as in the sco enviroment.but nothing.
    Please tell me any way to continue with it.
    I've searched about and tried it...:
    Solution Description:
    =====================
    The ORA-3113 error is a general error reported by Oracle client tools,
    which signifies that they cannot communicate with the oracle shadow
    process. As it is such a general error more information must be collected
    to help determine what has happened.
    This short article describes what information to collect for an
    ORA-3113 error when the Oracle server is on a Unix platform.
    General Issues:
    ===============
    1) Is it only one tool that encounters the error or
    do you get an ORA-3113 from any tool doing a similar operation?
    If the problem reproduces in SQL*Plus, use this in all tests
    below.
    2) Check if the problem is just restricted to:
    [ ] One particular UNIX user,
    [ ] Any UNIX user
    or [ ] Any UNIX user EXCEPT as the Oracle user.
    3) Check if the problem is just restricted to:
    [ ] One particular ORACLE logon
    or [ ] Any ORACLE logon that has access to the
    relevant tables.
    4) If you have a client-server configuration does this occur from:
    [ ] Any client
    [ ] Just one particular client
    or [ ] Just one group of clients ?
    If so what do these clients have in common ?
    Eg: Software release .
    5) Do you have a second server or database version where the
    same operation works correctly?
    Connecting to Oracle
    ====================
    If the ORA-3113 error occurs when actually connecting to Oracle then
    continue with this section. If you connect to Oracle successfully and get
    the error on an established connection, please go to the next section
    'An Established Connection'.
    Local Connections
    ~~~~~~~~~~~~~~~~~
    For local connections check the following:
    1) Have you installed the Parallel Server Option?
    ORA-3113 will occur if you have installed the Parallel
    Server Option but do NOT have a Distributed Lock Manager
    installed or running.
    To deinstall the Parallel Server Option:
    Shut down any Oracle instances
    % script /tmp/relink.out
    % cd $ORACLE_HOME/rdbms/lib
    # 'oracle' should not exist so delete it if it present
    % rm -f oracle
    % make -f oracle.mk no_parropt ioracle
    % exit
    If the above reports any errors Oracle support will need to
    see the contents of the file /tmp/relink.out.
    2) Try using the SQL*Net V1 driver for local connections:
    setenv TWO_TASK P:
    Then try the client tool. If this now works you may have a
    problem with the default SQL*Net driver.
    3) Your 'oracle' executable may be corrupt. Relink it as follows:
    Log in as the 'oracle' user.
    % script /tmp/relink.out
    % cd $ORACLE_HOME/rdbms/lib
    % rm -f oracle
    % make -f oracle.mk ioracle
    % exit
    If this reports any errors Oracle support will need to see
    the contents of the file /tmp/relink.out .
    4) Some Unix platforms need LD_LIBRARY_PATH to be set
    correctly to resolve any dynamically linked libraries.
    As the user with the problem:
    % script /tmp/ldd.out
    % id
    % cd $ORACLE_HOME/bin
    % ldd oracle
    % exit
    If the 'ldd' command does not exist go to the next step below.
    Check that all lines listed show a full library file. If there
    are any 'not found' lines reported contact Oracle support
    with the output of /tmp/ldd.out.
    5) If you cannot connect as the Oracle user AND your system has
    the 'truss' command try the following when logged in as
    'oracle' (using the relevant client tool):
    % truss -o /tmp/truss.out -f sqlplus user/password
    Exit from sqlplus (or the problem tool)
    Keep the file /tmp/truss.out safe - Oracle MAY need to see it.
    Remote Connections
    ==================
    For remote connections check the following:
    1) Check if you can make LOCAL connections. If not then follow
    the steps above for LOCAL connection problems.
    2) Which SQL*Net protocol are you using ?
    Table C.1
    ~~~~~~~~~
    SYMBOL SQL*Net V1 Layer Prefix Debug Listener
    osnptt PIPE Two Task P: OSNTTD none
    osnasy ASYNC A: OSNADBUG none
    osnttt TCP/IP Two Task T: OSNTDBUG orasrv
    osntlitcp TCP/TLI Two Task TT: OSNTLIDBUG tcptlisrv
    osntlispx SPX Two Task X: OSNTLIDBUG spxsrv
    osndnt DECNET Two Task D: OSNDDBUG none
    For the protocol you are using check that the oracle
    executable has this linked in as follows:
    Log in as oracle on the server
    % script /tmp/drivers.out
    % cd $ORACLE_HOME/bin
    % drivers oracle
    % exit
    Eg: If you are using TCP/IP it should list TCP/IP.
    If the drivers command does not exist on your machine, check
    the oracle executable as below substituting the relevant
    symbol from Table C.1 for the word SYMBOL. If you do not
    receive any output then:
    % script /tmp/symbols.out
    % cd $ORACLE_HOME/bin
    % nm oracle | grep -i SYMBOL # Use relevant SYMBOL
    % exit
    Eg: For SQL*Net TCP/IP you would use the command:
    % nm oracle | grep -i osnttt
    If the required driver is not installed you should:
    a) Relink Oracle (See step (B3) above).
    b) Re-check the oracle executable for the
    relevant driver. If it is still missing then
    the relevant SQL*Net driver has probably not
    been installed. Reinstall the required SQL*Net
    driver.
    3) Check your /etc/oratab or /var/opt/oracle/oratab file
    is of the form:
    # Comments begin with a HASH
    SID:/path/to/oracle/home:N
    And confirm:
    [ ] There are no blank lines.
    [ ] The PATH to ORACLE_HOME is correct and contains
    no environment variables.
    [ ] There are no ':'s in the ORACLE_HOME path.
    [ ] There is NOTHING at the end of the line.
    The last character on a line should be Y or N.
    There should NOT be a fourth field.
    4) If you have truss available try to truss the Oracle
    connection. You will normally need the root privilege to do this
    and should use truss on the relevant listener process (see
    Table C1)
    Eg: For TCP/IP the listener is 'orasrv' so enter these
    commands as 'root':
    % truss -o /tmp/truss.out -f -eall -p <PID_of_orasrv>
    Attempt the connection to reproduce the ORA-3113 then
    interrupt this 'truss' session.
    An Established Connection:
    ==========================
    If the ORA-3113 error occurs AFTER you have connected to Oracle, then
    it is most likely that the oracle executable has terminated unexpectedly.
    1) Determine which database you were connected to and
    obtain the following init.ora parameter values:
    Parameter Default
    USER_DUMP_DEST $ORACLE_HOME/rdbms/log
    BACKGROUND_DUMP_DEST $ORACLE_HOME/rdbms/log
    CORE_DUMP_DEST $ORACLE_HOME/dbs
    Eg: To find these log into SQL*DBA or Server Manager and:
    SQLDBA> show parameter dump
    2) Check in your 'USER_DUMP_DEST' for any Oracle trace file.
    It is important to find the correct trace file. Use the
    command 'ls -ltr' to list files in time order with the
    latest trace files appearing LAST. If you are not sure
    which trace file may be relevant, move all the current trace
    files to a different directory and reproduce the problem.
    The trace file will typically be of the form 'ora_<PID>.trc'.
    3) If there is no trace file check for a core dump in the
    CORE_DUMP_DEST. Check as follows:
    % cd $ORACLE_HOME/dbs # Or your CORE_DUMP_DEST
    % ls -l core*
    If there is a file called core, check that its time matches
    the time of the problem. If there are directories called
    'core_<PID>' check for core files in each of these. It is
    IMPORTANT to get the correct core file. Now obtain a stack
    trace from this core file. Check each of the sequences below
    for the procedure. One of the following should work for your
    platform:
    If you have dbx:
    % script /tmp/core.stack
    % dbx $ORACLE_HOME/bin/oracle core
    (dbx) where
    (dbx) quit
    % exit
    If you have sdb:
    % script /tmp/core.stack
    % sdb $ORACLE_HOME/bin/oracle core
    * t
    * q
    % exit
    If you have xdb:
    % script /tmp/core.stack
    % xdb $ORACLE_HOME/bin/oracle core
    (xdb) t
    (xdb) q
    % exit
    If you have adb:
    % script /tmp/core.stack
    % adb $ORACLE_HOME/bin/oracle core
    $c
    $q
    % exit
    4) Try to isolate the SQL command that is executing when
    the error occurs. Eg: Is it a particular SQL statement
    or PL/SQL block that causes the error ?
    To help establish this turn on SQL_TRACE for the client
    tool.
    Eg: Product Action
    ~~~~~~~ ~~~~~~
    SQL*Forms Use the '-s' statistics option at run time.
    SQL*Plus Issue 'ALTER SESSION SET SQL_TRACE TRUE;'
    Pro* EXEC SQL ALTER SESSION SET SQL_TRACE TRUE;
    This should force a server side SQL trace file as detailed
    in #2 above. The trace file should give a clue as to what
    SQL was being executed.
    5) Try to obtain any SQL*Net trace to show what the latest
    operation sent to the oracle process was.
    For SQL*Net V2 ask for the article [NOTE:16564.1]
    For SQL*Net V1 check which SQL*Net protocol you are using
    and note the Debug environment variable from table C1 above.
    Then catch SQL*Net trace from the client. Eg: For SQL*Net
    TCP/IP and sqlplus:
    % setenv OSNTDBUG -1 # Use correct OSN*DBUG
    variable
    % sh
    % sqlplus scott/tiger@t:hostname:sid 2>/tmp/net1.out
    6) Based on information collected above try to determine a small
    test case which will reproduce the problem. This is important
    for two reasons:
    a) It gives Oracle support a small test case if the
    problem does not look like a known problem.
    b) It gives you a simple way to check if any patch
    supplied will fix the problem.
    7) It may be useful to follow the instructions in step (4) above.
    This will produce a lot of output but MAY be useful if no
    other information is available.

  • CF MX 7 Installation Errors on Linux

    I have been planning to put a production web server up using
    Fedora Core 5 and Cold Fusion MX 7 for some time - Mainly because
    the updates on FC5 are done so much more frequenntly than most
    other versions of Linux I've used.
    So far, the only production web servers I've had up have been
    Windows, but I've really enjoyed how well Fedora has run my DNS and
    email in the arenas of stability and performance.
    So, I thought it'd be best to try a test install on FC5
    first. I installed the normal packages for a web server including
    Apache, and I
    disabled SE Linux to begin with (I might tighten it down
    later).
    I logged in as root, and attempted the CF Installation, and I
    received a series of errors that did not show up in
    /var/log/messages or anywhere else I could find. I also tried doing
    a chmod on all the installation directories to 777 (all privs
    granted for all users), and I verified all directories and files
    exist. I'm curious if anyone else has had this problem. I
    copy/pasted the context of what I saw below for reference. Any
    suggestions would be appreciated. Thanks!
    Bob Wiley
    [root@localhost ~]# ./coldfusion-702-lin.bin
    Preparing to install...
    Extracting the JRE from the installer archive...
    Unpacking the JRE...
    Extracting the installation resources from the installer
    archive...
    Configuring the installer for this system's environment...
    awk: error while loading shared libraries: libdl.so.2: cannot
    open
    shared
    object file: No such file or directory
    dirname: error while loading shared libraries: libc.so.6:
    cannot open
    shared object file: No such file or directory
    /bin/ls: error while loading shared libraries: librt.so.1:
    cannot open
    shared object file: No such file or directory
    basename: error while loading shared libraries: libc.so.6:
    cannot open
    shared object file: No such file or directory
    dirname: error while loading shared libraries: libc.so.6:
    cannot open
    shared object file: No such file or directory
    basename: error while loading shared libraries: libc.so.6:
    cannot open
    shared object file: No such file or directory
    Launching installer...
    grep: error while loading shared libraries: libc.so.6: cannot
    open
    shared
    object file: No such file or directory
    /tmp/install.dir.8552/Linux/resource/jre/bin/java: error
    while loading
    shared libraries: libpthread.so.0: cannot open shared object
    file: No
    such
    file or directory
    [root@localhost ~]#

    Thanks for the plug Melvin.
    I've recently addressed this specific problem with libc.so.6
    in a comprehensive blog entry on Running ColdFusion 7.02 on Fedora
    Core 6:
    http://www.talkingtree.com/blog/index.cfm/2006/12/6/Running-ColdFusion-MX-7-on-Fedora-Core -6-Linux

Maybe you are looking for