数据库2008做企业网站,视频发布播放网站建设,制作一个简单的php网站,买证书网站开发工程师oracle创建监听有多种方式#xff1a; 1、手动编写$ORACLE_HOME/network/admin/listener.ora配置文件 2、通过netmgr或者netca创建 3、通过netca静默创建
当前环境是#xff1a; 1、/etc/hosts文件中没有对主机名进行解析 2、在oracle的.bash_profile中增加了环境变量export…oracle创建监听有多种方式 1、手动编写$ORACLE_HOME/network/admin/listener.ora配置文件 2、通过netmgr或者netca创建 3、通过netca静默创建
当前环境是 1、/etc/hosts文件中没有对主机名进行解析 2、在oracle的.bash_profile中增加了环境变量export ORACLE_HOSTNAMEcentos7
本次操作采用静默安装在安装完成后报错 静默安装完成后会有自己启动的过程报错信息
Parsing command line arguments:Parameter silent trueParameter responsefile /home/oracle/netca.rsp
Done parsing command line arguments.
Oracle Net Services Configuration:
Profile configuration complete.
Oracle Net Listener Startup:Running Listener Control: /u01/app/oracle/product/19.0.0/dbhome_1/bin/lsnrctl start LISTENERListener Control complete.Listener start failed.
Check the trace file for details: /u01/app/oracle/cfgtoollogs/netca/trace_OraDB19Home1-2401314PM3846.log
Oracle Net Services configuration failed. The exit code is 1
启动监听时候报错
TNSLSNR for Linux: Version 19.0.0.0.0 - Production
System parameter file is /u01/app/oracle/product/19.0.0/dbhome_1/network/admin/listener.ora
Log messages written to /u01/app/oracle/diag/tnslsnr/datax1/listener/alert/log.xml
Error listening on: (DESCRIPTION(ADDRESS(PROTOCOLTCP)(HOSTcentos7)(PORT1539)))
TNS-12545: Connect failed because target host or object does not existTNS-12560: TNS:protocol adapter errorTNS-00515: Connect failed because target host or object does not existLinux Error: 2: No such file or directoryListener failed to start. See the error message(s) above...
问题的原因 在监听文件中HOST值确定规则如下 当没有ORACLE_HOSTNAME变量的时候就是HOSTNAME变量的值通常这个值就是主机名的值。 也就是说在/etc/hosts中添加这个主机名的解析与否都不影响。