我有三台云服务器(centos7.2 64位),采用内网IP配置SSH互信。
执行总是报错如下:
ssh - keygen -t rsa -P
ssh: Could not resolve hostname -: Name or service not known
其中,hostname采用命令:
hostnamectl set-hostname bzg001设置
/etc/hostname也改了:
bzg001
/etc/hosts也设置了:
127.0.0.1 bzg001 localhost
172.27.0.14 bzg001 localhost
172.27.0.2 bzg002
我在我公司的云服务上运行Ubuntu14.04(我的实例有弹性IP). ,我想查看我通过命令行运行的实例的IP地址,但是它没有工作。
root@ubuntu14-graphite:~# hostname
ubuntu14-graphite
root@ubuntu14-graphite:~# hostname -i
hostname: Name or service not known
我不明白为什么。
我试着用圆柱形石墨弹一下,但它说:
unknown host ubuntu14-graphite.
这是否意味着我的主人根本不存在?
我有另一个服务器(不是云实例,而是物理服务器). ,在这个服
我现在需要在云服务器上部署activemq,但是启动的时候总是报
Failed to start Apache ActiveMQ (localhost, ID:VM_0_7_centos-41389-1542077095783-0:1) | org.apache.activemq.broker.BrokerService | main
java.net.URISyntaxException: Illegal character in hostname at index 7: ws://VM_0_7_centos:61614?maximumConnections=1000&wireFor
我正在寻找一种将ip地址传递给云init元数据的方法。因此,当我的qcow启动时,它不需要等待120-180秒才能启动。
目前,我通过向云init的用户数据部分添加IP地址信息来创建解决方案。缺点是,这确实需要一些时间,因为云init用户数据只有在启动VM之后才会执行。
echo -e "
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
source /etc
部署ActiveMQ的时候报错,信息如下:Error creating bean with name 'org.apache.activemq.xbean.XBeanBrokerService#0' defined in class path resource [activemq.xml]: Invocation of init method failed; nested exception is java.net.URISyntaxException: Illegal character in hostname at index 7: ws://VM_0_3_centos:6
我是新来格拉法纳的。Im希望将grafana中的mysql配置为数据源。但是我的数据库不是本地数据库,它是mysql中的云数据库。我该如何配置呢?因为我正在尝试配置它,比如"db query error: failed to connect to server - please inspect Grafana server log for details"
有人知道怎么改变吗?或者如何在grafana (不是本地数据库)中配置mysql数据库。请帮帮忙。谢谢
我的MAAS服务器已经运行了几个月了,构建了OpenStack云配置并将其分解,但随后它开始提供错误消息。
Unable to connect to: ws://hostname:5240/MAAS/ws
当进入节点列表时。
我尝试过重新启动服务器,重新配置maas-region-controller,所有我能想到的东西。我可以telnet到端口,而且肯定有东西在监听它。
我怎样才能从这件事中恢复过来?我过去唯一成功的方法是擦除磁盘,然后重新安装和重新配置,重新开始。这种情况经常发生。