昨天项目组成员在OracleAS 下发布程序,以往一直可以成功发布,但是昨天怎么也发布不成功,系统报“Temporary failure in name resolution。。。 Connection refused opmnctl: opmn start failed.solution): Connection refused。。。。。”错误。我重新启动了linux服务器,然后在重启 OracleAS 但是还是报错,后来在/etc/hosts 下配置了 10.22.32
.9 szhd OracleAS就可以启动起来。。。。
解决该问题主要参考了下面文档
1、提供正确的DNS服务器
正是因为我把虚拟机的网卡设置为Bridged模式,该网卡通过DHCP获取了正确的DNS服务器:
引用
# cat
/etc/resolv.conf
; generated by /sbin/dhclient-script
nameserver
218.85.157.99
nameserver 202.101.110.55
如果您也配置了正确的DNS服务器的话,那就不会出现上面的报错信息了。
2、设定指定的客户主机和IP <没有试>
出现该错误,可以说也是一种安全限制吧。使用telnet访问服务端的客户端需要在服务器上有主机名和IP对应信息。既然这样,如果你没有配置DNS服务器,那只要把要访问telnet的客户端的IP和主机名加到/etc/hosts文件中,例如:
引用
# cat /etc/hosts
192.168.48.1 test
这样,该客户端IP为192.168.48.1的机器就可以通过telnet访问服务器了。
3、修改NIS设定文件 <没有试>
若有大量的客户端需要访问服务器,第二种方法就很麻烦了。这时,只要修改/etc/nsswitch.conf文件,找:
引用
#hosts: db files
nisplus nis dns
hosts: files dns
修改为:
引用
#hosts: db files nisplus
nis dns
hosts: files
保存后,就再也不会出现开头的错误了。
※
注意,该修改会导致在/etc/resolv.conf中设置的DNS失效。请根据实际情况选择上述其中一个方法。
分享到:
相关推荐
主要介绍了Linux 出现telnet: connect to address 127.0.0.1: Connection refused错误解决办法的相关资料,需要的朋友可以参考下
ssh: connect to host 192.168.136.130 port 22: Connection refused,Fodera 远程连接失败 1.首先确认是否安装process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3...
主要介绍了java.net.ConnectException: Connection refused问题解决办法的相关资料,需要的朋友可以参考下
很多的人都遇到过挂载NFS的问题。特别是刚接触ARM/LINUX的同学,遇到了这个问题都不知道怎么办!下面我就把这些东西都总结出来了。请看看吧!
专题资料
用于解决如下错误 fatal: Cannot get https://gerrit.googlesource.com/git-repo/clone.bundle fatal: error [Errno 101] Network is unreachable 2016/07/24更新 由于清华大学TUNA镜像源关闭了git://协议,仅支持...
开始一直报错Failed to connect to raw.githubusercontent.com port 443: Connection refused error: Error: 7, 尝试过改动git config的代理,没有用, 换中科大的源,也没有用 最后解决办法如下,重装command line...
解决git clone时报错问题:sign_and_send_pubkey: signing failed: agent refused operation
连接服务器失败(错误原因:Connection refused) error 111 抓包结果
nc常见系统操作问题
报错:Exception in thread “main” java.net.ConnectException: Call From hdp-1/192.168.234.129 to hdp-1:8020 failed on connection exception: java.net.ConnectException: Connection refused; For more ...
Failed to fectch URl https://dl-ssl.google.com/android/repository/addons_list.xml, reason: Connection to https://dl-ssl.google.com refused 安装使用SDK Manager更新时出现问题 Failed to fetch URL ...
kettle连接Oracle报错kettle连接Oracle报错报错信息 kettle连接Oracle报错 报错信息 错误连接数据库 [aaa] : org.pentaho.di.core.exception.KettleDatabaseException: ...Listener refused the connection with th
putty connection refused问题的定位解决,putty connection refused问题的定位解决
dl.google.com/203.208.43.99, dl.google.com/203.208.43.97, dl.google.com/203.208.43.104, dl.google.com/203.208.43.101, dl.google.com/203.208.43.102] failed: Connection refused: connect > Connection ...
oracle-12c驱动包,完美解决oracle版本落后无法连接数据库的问题!主要有以下报错::java.sql.SQLException: ORA-28040: No matching authentication protocol java.sql.SQLException: Listener refused the ...
主要介绍了解决vue net :ERR_CONNECTION_REFUSED报错问题,具有很好的参考价值,希望对大家有所帮助。一起跟随小编过来看看吧
。。。
在网络通信中,经常出现Connection Refused报错提示,不仅仅是socket编程,也有xshell连接时出现这种问题。在查阅资料后,把常见问题记入本文。 服务器拒绝,有几个可能性: 服务器没启动或未监听端口(用TCP工具连...
msssql驱动包,DBeaver连接