原因是 防火墙没有开端口. telnet 测试 3306端口,报错 telnet: connect to address 192.168.120.32: No route to host 再次链接就可以了.…
检查telnet是否已安装: [root@hostuser src]# rpm -q telnet-serverpackage telnet-server is not installed[root@hostuser src]# telnet 192.168.81.129bash: telnet: command not found... rpm -qa |grep telnet 没有则安装,有跳过 yum install telnet-server -y && yum install t…
ssh连接批量修改主机名报出以下提示: [root@bqh-nfs- ~]# vim modfilyhostname.sh [root@bqh-nfs- ~]# sh modfilyhostname.sh Address 192.168.43.117 maps to bogon, but this does not map back to the address - POSSIBLE BREAK-IN ATTEMPT! Address 192.168.43.118 maps to bogon,…
[root@testdb11b ~]# /u01/app/oraInventory/orainstRoot.sh Changing permissions of /u01/app/oraInventory. Adding read,write permissions for group. Removing read,write,execute permissions for world. Changing groupname of /u01/app/oraInventory to oinstal…
使用root用户启动hadoop的时候报错: [root@node1 ~]# su - hadoop -c start-all.sh starting namenode, logging to /app/hadoop/bin/../logs/hadoop-hadoop-namenode-node1.out 192.168.1.153: starting datanode, logging to /app/hadoop/bin/../logs/hadoop-hadoop-datanode-node…
Action.c(4): Error -27796: Failed to connect to server "192.168.66.3:8080": [10060] Connection timed out (1) 在负载生成器的注册表HKEY_LOCAL_MACHINE/SYSTEM/CurrentControlSet/Services/Tcpip/Parameters里,有如下两个键值: TcpTimedWaitDelay和MaxUserPort 1,这里的TcpTimedWai…
Error, some other host already uses address 192.168.0.202错误解决方法 今天配置虚拟机网卡的时候遇到错误:Error, some other host already uses address 192.168.0.202 查了很多方法,比如:编辑 /etc/sysconfig/network-scripts/ifup-eth 后来发现局域网里面有其他机器使用了192.168.0.202 这个IP,最后把虚拟机IP改为一个局域网内没人使用的I…
在我测试邮件服务器时, 使用 telnet localhost 25 出现如下的提示: Trying::1... telnet: connect to address ::1:Connection refusedTrying127.0.0.1...Connected to localhost.Escape character is '^]'.OKConnection closed by foreign host. 如图: 出现这种提示是说明该软件监听11211端口并不支持IPV6, 解决这个问题…
The host '192.168.174.130' is unreachable.      the host may be down,or there may be a problem with the network connection. Sometimes such problems can also be caused by a misconfigured firewall. 在SSH Secure Shell Client登陆的时候,出现了上述的提示,搞了好久,但是没发现错误的地方…
From 192.168.25.133 icmp_seq=238 Destination Host Unreachable 虚拟机ping主机不通,但是主机可以ping通虚拟机,虚拟机ping不通外网 如果是使用net8模式 我的问题是物理机没有开启服务 将本地服务启动就可以了…
服务器环境 centos 7.4 问题描述 1.可以ping通IP ,用IP访问nginx 不能访问,在服务器上curl localhost  curl 185.239.226.111可以获得 [root@izm5e16gjdevwdl8q7q3qoz ~]# curl 185.239.226.111curl: (7) Failed connect to 185.239.226.111:80; No route to host 解决办法 iptables -F  清空防火墙配置 这时候查询ipt…
# curl http://169.254.169.254/latest/user-data curl: () Failed connect to ; No route to host 解决方案: cd /etc/sysconfig/network-scripts/ ls vim route-eth0 route add -host 169.254.169.254 gw 10.10.10.1 dev eth0 route -n curl http://169.254.169.254…
本博客已经添加"打赏"功能,"打赏"位置位于右边栏红色框中,感谢您赞助的咖啡. # curl http://169.254.169.254/latest/user-data curl: () Failed connect to ; No route to host 解决方案: 重点检查是否是metadata agent出了问题. cd /etc/sysconfig/network-scripts/ ls vim route-eth0 route add -host…
telnet协议是TCP/IP协议族中的一员,是Internet远程登陆服务的标准协议和主要方式.它为用户提供了在本地计算机上完成远程主机工作的能力.在终端使用者的电脑上使用telnet程序,用它连接到服务器. 一.检测telnet-server的rpm包是否安装 OS:RedHat9 [root@locahost ~]#rpm -qa telnet-server //出于安全考虑telnet-server.rpm是默认没有安装的,而telnet的客户端是标配.即下面的软件是默认安装的,为了方便…
1.检查telnet是否已安装: rpm -qa telnet 2.有输出说明已安装,如果没有输出则没有安装,使用yum install telnet进行安装 3.检查telnet-server是否已安装: rpm -qa telnet-server 有输出说明已安装,如果没有输出则没有安装,使用yum install telnet-server进行安装 4.如果进行了telnet-server安装操作,且已成功安装,则由于telnet服务是由xinetd守护的,所以我们需要重新启动xinetd…
在要连接的服务上执行iptables -F…
创建集群或者连接时会出现错误:只能用127.0.0.1创建 这是需要修改redis.conf 把bind注释掉 protected-mode no 有些旧版本注释requirepass 技术交流群:816227112…
原因在于在redis.conf中绑定了127.0.0.1 改为自己虚拟机地址.重新启动…
原文转自:http://blog.csdn.net/chengyuqiang/article/details/54285857 1.程序报错: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link 2.尝试远程连接数据库: [root@inode1 ~]# mysql -h192.168.1.165 -uroot -p123456 ERROR 2003 (HY000): Can't connect…
出错现象: [root@localhost ~]# telnet 192.168.1.128 Trying 192.168.1.128...telnet: connect to address 192.168.1.128: No route to host telnet: Unable to connect to remote host: No route to host 解决办法: 在telnet服务器上执行:iptables -F   清除所有规则(太暴力了...)…
// :: FATAL namenode.NameNode: Failed to start namenode. org.apache.hadoop.hdfs.qjournal.client.QuorumException: Unable to check successful responses: : false exceptions thrown: : No Route to Host failed on socket timeout exception: java.net.NoRouteT…
connect() to 192.168.30.71:8082 failed (99: Cannot assign requested address) while connecting to upstream, client: 114.80.182.136, server: localhost, request: "GET /home/senior HTTP/1.1", upstream: "http://192.168.30.71:8082/home/senior&quo…
centos7下面操作mysql添加,授权,删除用户 添加用户 以root用户登录数据库,运行以下命令: create user test identified by '; 上面创建了用户test,密码是123456789.我们在mysql.user表里面可以看到新增的用户信息 +------+----------------+-------------------------------------------+ | user | host | password | +------+-----…
1:启动Spark Shell,spark-shell是Spark自带的交互式Shell程序,方便用户进行交互式编程,用户可以在该命令行下用scala编写spark程序. 启动Spark Shell,出现的错误如下所示: [root@master spark--bin-hadoop2.]# bin/spark-shell --master spark://master:7077 --executor-memory 512M --total-executor-cores 2 // :: WARN…
首先计算子网掩码: 将256/4=64,主机块大小64 2的6次方=64 根据主机数量计算出掩码的最后一个字节为11000000,用十进制表示掩码为255.255.255.192 由于IP地址结尾全为0为网络地址:全为1为广播地址.两者都是不允许用作主机IP地址的. 因此,4个子网分为: 1> 192.168.25.1 -- 192.168.25.622> 192.168.25.65 -- 192.168.25.1263> 192.168.25.129 -- 192.168.25.190…
万一主节点打击,主从模型将会停止工作,为了解决这个问题,Redis提供了一个sentinel(哨兵),以此来实现主从切换的功能,一旦主节点宕机了,sentinel将会在从节点中挑一个作为主节点.与zookeeper类似 编辑/etc/redis-sentinel.conf文件 1: mymaster指定主节点的主机名(可以随便取一个名),127.0.0.1 6379:指明主节点的IP和端口,2:表示一个节点要成为主节点必须拥有的票数,这里默认是2,因此最好启动2个以上centinel进程.这个指…
实验环境: centos7 x2 server-vsftp:192.168.1.32 client:192.168.95 客户端测试访问 ftp服务器 报错:ftp: connect: No route to host, 排除思路: 1.服务器与客户端是否互通, 2.防火墙是否启用 解决: 1.在/etc/sysconfig/iptables-config 文件中 更改 IPTABLES_MODULES="" 为 IPTABLES_MODULES="ip_nat_ftp ip…
不知道是否有同学遇到如下的问题: p.p1 { margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Menlo } span.s1 { } git clone https://github.com/istester/ido.git    #一个git仓库. 确收到如下报错: Cloning into 'hosts'... fatal: unable to access 'https://github.com/racaljk/hosts.git/': Fai…
CENTOS 配置好SVN服务环境后,其他服务器无法访问   根据 下面的步骤配置好服务后,使用本机可以正常 连接到 SVN 服务, 但是使用局域网的其他服务器访问时出现下面的错误, Error: Can't connect to host '192.168.1.103': 由于连接方在一段时间后没有正确答复或连接的主机没有反应,连接尝试失败. 时由于防火墙配置问题, 需修改防火墙规则,或者使用下面的命令把防火墙服务关闭即可 service iptables stop 配置自动启动:把svnse…
在Ubuntu(192.168.1.20)中部署项目后,mysql还在另外一台windows(192.168.1.6)机子上,ping windows时可以ping通,但是访问项目提示: perationalError: (2003, "Can't connect to MySQL server on u'192.168.1.6' (timed out)") 原来是mysql的默认端口3306没有开放, chen@ubuntu:~$ telnet Trying 192.168.1.6.…