zoukankan      html  css  js  c++  java
  • 安装ORACLE不能安装解决方法

    安装oracle10,  # ./runInstaller时出现下面两种提示

    Exception in thread "main"java.lang.InternalError: Can't connect to X11 window
    serverusing '<hostname>:0.0' as the value of the DISPLAY variable.

    重启后

    再执行#./runInstaller时出现下面两种提示

    Xlib: connection to ":0.0" refused by server
    Xlib: No protocol specified
    Error: Can't open display: :0.0

    root用户下运行
    #xhost local:oracle
    non-network local connections being added to access control list

    然后oracle身份就可以运行X程序了。

    man xhost中有这样一段

           A complete name has the syntax ‘‘family:name’’ where the families are as follows:

           inet      Internet host (IPv4)
           inet6     Internet host (IPv6)
           dnet      DECnet host
           nis       Secure RPC network name
           krb       Kerberos V5 principal
           local     contains only one name, the empty string
           si        Server Interpreted

    其中local那个是用来解决同一台机器的不同用户访问X的问题的。

  • 相关阅读:
    java项目部署到LIINUX
    JAVA项目部署(1)
    JAVA项目服务器部署
    JAVA项目部署到云服务器
    JAVA项目打包
    java项目部署
    NHibernate NHibernate使用时误区
    访问其他电脑的c盘
    unit vs单元测试
    java 获取url及url参数解析
  • 原文地址:https://www.cnblogs.com/keim/p/2883645.html
Copyright © 2011-2022 走看看