我在CentOS下静默安装orcale10G安装成功,然后我就要安装数据库。我的dbca.rsp是这样配置的
RESPONSEFILE_VERSION = "10.0.0"
CREATE_TYPE = "createDatabase"
GDBNAME = "orcl"
SID = "orcl"
TEMPLATENAME = "/home/oracle/product/10.1.0.3/assistants/dbca/templates/
New_Database.dbt"
SYSPASSWORD = "admin"
SYSTEMPASSWORD = "admin"
DATAFILEDESTINATION ="/home/oracle/product/oradata/"
RECOVERYAREADESTINATION="/home/oracle/product/flash_recovery_area"
STORAGETYPE=FS
CHARACTERSET = "ZHS16GBK"
MEMORYPERCENTAGE = "40"
SCRIPTDESTINATION ="/home/oracle/product/admin/ora10g/scripts"
#EMCONFIGURATION="LOCAL"
#SYSMANPASSWORD = "admin"然后运行后报
[oracle@admin bin]$ ./dbca -silent -responseFile /home/oracle/oracleins/response/dbca.rsp 
Exception in thread "main" java.lang.NullPointerException
        at oracle.sysman.assistants.util.INIFile$IniPair.<init>(INIFile.java:88)
        at oracle.sysman.assistants.util.INIFile$IniSection.addPair(INIFile.java:225)
        at oracle.sysman.assistants.util.INIFile.readINIFile(INIFile.java:827)
        at oracle.sysman.assistants.util.INIFile.getProfileString(INIFile.java:439)
        at oracle.sysman.assistants.dbca.backend.CommandLineArguments.processResponseFile(CommandLineArguments.java:2975)
        at oracle.sysman.assistants.dbca.backend.CommandLineArguments.process(CommandLineArguments.java:2607)
        at oracle.sysman.assistants.dbca.Dbca.execute(Dbca.java:106)
        at oracle.sysman.assistants.dbca.Dbca.main(Dbca.java:175)

解决方案 »

  1.   

    /etc/hosts 文件加一条 ip/hostname 的映射试试。
      

  2.   

    ping your hostname, what is the returned ip address?
    shouldn't be 127.0.0.1
      

  3.   

    不行啊,愁死我了,怎么我装个oracle还这么费劲呢,网上都没有出这个错啊
      

  4.   

    check your listener.ora.look for HOST=hostname in ADDRESS_LISTreplace the hostname with your fixed ip address
      

  5.   

    我没有启监听,我什么也没做呢,就是用静默方式把oracle安装了,然后执行了root.sh这个角本,然后就执行10.1.0.3/bin/dbca -silent -responseFile dbca.rsp 
      

  6.   

    没遇到过,会不会是rpm的包没打全噢.什么gcc+...等等一系列的东西.
      

  7.   

    对,嗯最好看看oracle自带的安装文档,里面需要哪个包写的都非常的清楚!
      

  8.   

    linux上安裝不好玩,查查Kernel版本和Dbca配置文件。