zoukankan      html  css  js  c++  java
  • Linux安装Oralce 11g问题

    1、./runInstaller报错

    >>> 忽略未通过的必需先决条件。继续...
    准备从以下地址启动 Oracle Universal Installer /tmp/OraInstall2011-02-25_03-29-59AM. 请稍候...-bash-3.2$ Exception in thread "main" java.lang.NoClassDefFoundError
            at java.lang.Class.forName0(Native Method)
            at java.lang.Class.forName(Class.java:164)
            at java.awt.Toolkit$2.run(Toolkit.java:821)
            at java.security.AccessController.doPrivileged(Native Method)
            at java.awt.Toolkit.getDefaultToolkit(Toolkit.java:804)
            at com.jgoodies.looks.LookUtils.isLowResolution(Unknown Source)
            at com.jgoodies.looks.LookUtils.<clinit>(Unknown Source)
            at com.jgoodies.looks.plastic.PlasticLookAndFeel.<clinit>(PlasticLookAndFeel.java:122)
            at java.lang.Class.forName0(Native Method)
            at java.lang.Class.forName(Class.java:242)
            at javax.swing.SwingUtilities.loadSystemClass(SwingUtilities.java:1783)
            at javax.swing.UIManager.setLookAndFeel(UIManager.java:480)
            at oracle.install.commons.util.Application.startup(Application.java:758)
            at oracle.install.commons.flow.FlowApplication.startup(FlowApplication.java:164)
            at oracle.install.commons.flow.FlowApplication.startup(FlowApplication.java:181)
            at oracle.install.commons.base.driver.common.Installer.startup(Installer.java:265)
            at oracle.install.ivw.db.driver.DBInstaller.startup(DBInstaller.java:114)
            at oracle.install.ivw.db.driver.DBInstaller.main(DBInstaller.java:132)

    直接用oracle用户登陆,不能用root或者其他用户登陆后切换到oracle。

    2、Oracle安装界面乱码

    export NLS_LANG=AMERICAN_AMERICA.UTF8
    export LC_ALL=C

    3、[INS-35172] Target database memory (256MB)exceeds the systems available shared memory ({244}MB).

    You are trying to use the MEMORY_TARGET feature. This feature requires the/dev/shm filesystem to be mounted for at Least <size> bytes.The/dev/shm is either notmounted or is mounted With available space lessthan this size.

    # df -h /dev/shm

    Filesystem            Size  Used Avail Use% Mounted on

    tmpfs                 244M     0 636M   0% /dev/shm

    这个文件的大小才是真正控制我们 AMM 的大小关键。修改tmpfs 的大小,使其大于MEMORY_TARGET的大小就可以了。

    修改文件 /etc/fstab 将tmpfs 修改成以下值:

    tmpfs            /dev/shm        tmpfs  defaults,size=300m        0 0

    直接修改/etc/fstab,通过重启OS 让参数生效。注意:这个size 的大小需要设置为整数。

  • 相关阅读:
    (转)PHP获取今天、昨天、明天的日期
    (转)META http-equiv="refresh" 实现网页自动跳转
    (转)PHP中文处理 中文字符串截取(mb_substr)和获取中文字符串字数
    (转)Apache2 httpd.conf 配置详解 (二)
    Process finished with exit code 129
    Importing image to python :cannot import name 'imread'
    CUDA运行时错误 --- CUDA_ERROR_LAUNCH_FAILED: unspecified launch failure
    Recommendation system
    php手动实现ip2long和long2ip
    git将某个分支的代码完全覆盖另一个分支
  • 原文地址:https://www.cnblogs.com/guarder/p/3690275.html
Copyright © 2011-2022 走看看