安装opennms,Setup OpenNMS YUM repository出错

Blue-Wind 发布于 2016/01/14 16:23
阅读 342
收藏 0
[opennms@localhost ~]$ sudo  rpm -Uvh http://yum.opennms.org/repofiles/opennms-repo-snapshot-rhel7.noarch.rpm
Retrieving http://yum.opennms.org/repofiles/opennms-repo-snapshot-rhel7.noarch.rpm
curl: (7) Failed connect to 127.0.0.1:80; Connection refused
error: skipping http://yum.opennms.org/repofiles/opennms-repo-snapshot-rhel7.noarch.rpm - transfer failed

为什么会连接到本地呢?

以下为ifconfig信息

[opennms@localhost ~]$ sudo ifconfig
ens32: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 218.193.33.191  netmask 255.255.255.128  broadcast 218.193.33.255
        inet6 fe80::250:56ff:feae:1e41  prefixlen 64  scopeid 0x20<link>
        ether 00:50:56🇦🇪1e:41  txqueuelen 1000  (Ethernet)
        RX packets 39723  bytes 15439811 (14.7 MiB)
        RX errors 0  dropped 7376  overruns 0  frame 0
        TX packets 13911  bytes 1479296 (1.4 MiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0


lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 0  (Local Loopback)
        RX packets 36  bytes 2096 (2.0 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 36  bytes 2096 (2.0 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0


virbr0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500
        inet 192.168.122.1  netmask 255.255.255.0  broadcast 192.168.122.255
        ether 52:54:00:8a:48:02  txqueuelen 0  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0


请指教,谢谢!

以下是问题补充:

@Blue-Wind:系统为centos 7 64位 (2016/01/14 16:24)
加载中
0
Blue-Wind
Blue-Wind
已解决,用root账号就可以了,可能是我的用户名同样为opennms,导致无法路由??
0
Blue-Wind
Blue-Wind

引用来自“Blue-Wind”的评论

已解决,用root账号就可以了,可能是我的用户名同样为opennms,导致无法路由??
直接使用root,新建用户名避免使用opennms。
返回顶部
顶部