在Oracle VM VirtualBox安装完Oracle12c后,启动监听的时候出现一下错误:
Message 1070 not found;No message file for product=network,facility=TNSTNS-12545:Message 12545 not found; No message file for product=network, faciliy=TNS
TNS-12560:Message 12560 not found;No message file for product=network,facility=TNS
TNS-00515:Message 515 not found; No message file for product=nework,facility=TNS
Linux Error: 2: No such file or directory
去网上查大部分人说与ORACLE_HOME有关,是ORACLE_HOME,ORACLE_BASE,ORACLE_SID有关,安装时没有安装默认路径,只记得安装在/home/oracle了,请问有没有人帮忙解决一下!(刚接触一星期)
不知道你这个问题是否已经解决, 如果还没有解决的话:回答:
要在Oracle VM VirtualBox中启动Oracle12c的监听,首先需要解决与ORACLE_HOME相关的问题,因为安装时没有安装默认路径,而是安装在/home/oracle中。以下是解决问题的步骤:
1)在终端中输入cd /home/oracle/ 2)进入Oracle12c安装文件目录cd app/oracle/product/12.2.0/dbhome_1/ 3)输入pwd命令,显示ORACLE_HOME路径,例如/home/oracle/app/oracle/product/12.2.0/dbhome_1/
export ORACLE_BASE=/home/oracle/app/oracle export ORACLE_HOME=/home/oracle/app/oracle/product/12.2.0/dbhome_1 export ORACLE_SID=orcl export PATH=$ORACLE_HOME/bin:$PATH
以上步骤是在Linux系统中进行的,如果您使用的是Windows系统,则需要相应地更改路径和命令行。
注:如果还遇到其他问题,请您提供具体的错误提示或问题描述,以便我们更准确地帮助您解决问题。