Installating Cacti

Post support questions that directly relate to Linux/Unix operating systems.

Moderators: Developers, Moderators

thomazp
Posts: 17
Joined: Fri Jul 22, 2016 9:39 am

Re: Installating Cacti

Post by thomazp »

# cat /etc/resolv.conf
search domainname
options timeout:1
options attempts:1
nameserver 172.26.19.219
nameserver 172.26.7.115

I will search here.
thanks,
thomazp
Posts: 17
Joined: Fri Jul 22, 2016 9:39 am

Re: Installating Cacti

Post by thomazp »

# sysctl -p
net.ipv4.ip_forward = 0
net.ipv4.conf.default.rp_filter = 1
net.ipv4.conf.default.accept_source_route = 0
kernel.sysrq = 0
kernel.core_uses_pid = 1
net.ipv4.tcp_syncookies = 1
error: "net.bridge.bridge-nf-call-ip6tables" is an unknown key
error: "net.bridge.bridge-nf-call-iptables" is an unknown key
error: "net.bridge.bridge-nf-call-arptables" is an unknown key
kernel.msgmnb = 65536
kernel.msgmax = 65536
kernel.shmmax = 68719476736
kernel.shmall = 4294967296
net.ipv4.conf.all.forwarding = 0
net.ipv4.conf.all.accept_redirects = 0
net.ipv4.conf.all.log_martians = 1
net.ipv4.conf.all.rp_filter = 1
thomazp
Posts: 17
Joined: Fri Jul 22, 2016 9:39 am

Re: Installating Cacti

Post by thomazp »

I copied /etc/yum.conf and did this:
echo "ip_resolve=4" >> /etc/yum.conf

And worked at first glance:
# yum install mysql-server
Loaded plugins: product-id, rhnplugin, security, subscription-manager
This system is receiving updates from RHN Classic or RHN Satellite.
Setting up Install Process
http://yum.opennms.org/stable/common/re ... repomd.xml: [Errno 14] PYCURL ERRO
R 6 - "Couldn't resolve host 'yum.opennms.org'"
Trying other mirror.
Error: Cannot retrieve repository metadata (repomd.xml) for repository: opennms-
repo-stable-common. Please verify its path and try again
[root@li1964 ~]# ping yum.opennms.org
PING yum.mirrors.opennms.org (46.101.6.157) 56(84) bytes of data.
64 bytes from uk-1.mirrors.opennms.org (46.101.6.157): icmp_seq=1 ttl=44 time=25
7 ms

But even resolving rght, the network is blocking thought.
cigamit
Developer
Posts: 3367
Joined: Thu Apr 07, 2005 3:29 pm
Location: B/CS Texas
Contact:

Re: Installating Cacti

Post by cigamit »

Did you edit your "/etc/resolv.conf" and properly add your DNS server?
thomazp
Posts: 17
Joined: Fri Jul 22, 2016 9:39 am

Re: Installating Cacti

Post by thomazp »

No, the resolv.conf is the old resolver.
I sent in previous response.
I only changed the /etc/yum.conf only.
The problem doesn't seem to be name resolution.
thomazp
Posts: 17
Joined: Fri Jul 22, 2016 9:39 am

Re: Installating Cacti

Post by thomazp »

They returned with previous error:
# yum install mysql-server
Loaded plugins: product-id, rhnplugin, security, subscription-manager
This system is receiving updates from RHN Classic or RHN Satellite.
Setting up Install Process
http://yum.opennms.org/stable/common/re ... repomd.xml: [Errno 14] PYCURL ERRO
R 7 - "Failed to connect to 2604:a880:800:10::60:4001: Network is unreachable"
Trying other mirror.
Error: Cannot retrieve repository metadata (repomd.xml) for repository: opennms-
repo-stable-common. Please verify its path and try again

even
# more /etc/yum.conf
debuglevel=2
logfile=/var/log/yum.log
exactarch=1
obsoletes=1
gpgcheck=1
plugins=1
installonly_limit=3

ip_resolve=4

Any ideas ?
cigamit
Developer
Posts: 3367
Joined: Thu Apr 07, 2005 3:29 pm
Location: B/CS Texas
Contact:

Re: Installating Cacti

Post by cigamit »

You still have not properly disabled IPv6

Edit /etc/sysctl.conf
add these lines

Code: Select all

# IPv6 disabled
net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.default.disable_ipv6 = 1
net.ipv6.conf.lo.disable_ipv6 = 1
then run this command

Code: Select all

sudo sysctl -p
jake19
Posts: 7
Joined: Sun Jul 31, 2016 3:30 pm

Re: Installating Cacti

Post by jake19 »

thomazp wrote:They returned with previous error:
# yum install mysql-server
Loaded plugins: product-id, rhnplugin, security, subscription-manager
This system is receiving updates from RHN Classic or RHN Satellite.
Setting up Install Process
http://yum.opennms.org/stable/common/re ... repomd.xml: [Errno 14] PYCURL ERRO
R 7 - "Failed to connect to 2604:a880:800:10::60:4001: Network is unreachable"
Trying other mirror.
Error: Cannot retrieve repository metadata (repomd.xml) for repository: opennms-
repo-stable-common. Please verify its path and try again

even
# more /etc/yum.conf
debuglevel=2
logfile=/var/log/yum.log
exactarch=1
obsoletes=1
gpgcheck=1
plugins=1
installonly_limit=3

ip_resolve=4

Any ideas ?
yes, get someone to do this instead of you since you dont know what youre doing. geez, weve told you how many times to call redhat support since youre paying for it, and they can walk you through this on the phone. you could have had this fixed in 15 minutes wihtout ever posting anywhere. you could have installed from source but cant do that either.

are you really to dumb to read the messages your getting? it tells you specifically that the repository you want isnt added to the satellite first off, and if it cant find your repository, you can just add an entry to your hosts file in five seconds to resolve that address. any administrator with more than a week of experience could do this

give up and tell your boss youre to stupid to do your job...maybe theyll let you empty trashcans instead
thomazp
Posts: 17
Joined: Fri Jul 22, 2016 9:39 am

Re: Installating Cacti

Post by thomazp »

Even disabling IPV6:

net.ipv4.ip_forward = 0
net.ipv4.conf.default.rp_filter = 1
net.ipv4.conf.default.accept_source_route = 0
kernel.sysrq = 0
kernel.core_uses_pid = 1
net.ipv4.tcp_syncookies = 1
error: "net.bridge.bridge-nf-call-ip6tables" is an unknown key
error: "net.bridge.bridge-nf-call-iptables" is an unknown key
error: "net.bridge.bridge-nf-call-arptables" is an unknown key
kernel.msgmnb = 65536
kernel.msgmax = 65536
kernel.shmmax = 68719476736
kernel.shmall = 4294967296
net.ipv4.conf.all.forwarding = 0
net.ipv4.conf.all.accept_redirects = 0
net.ipv4.conf.all.log_martians = 1
net.ipv4.conf.all.rp_filter = 1
net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.default.disable_ipv6 = 1
net.ipv6.conf.lo.disable_ipv6 = 1

The error continues:
# yum install mysql-server
Loaded plugins: product-id, rhnplugin, security, subscription-manager
This system is receiving updates from RHN Classic or RHN Satellite.
Setting up Install Process
http://yum.opennms.org/stable/common/re ... repomd.xml: [Errno 14] PYCURL ERRO
R 7 - "Failed to connect to 2a03:b0c0:1:d0::7a:7001: Network is unreachable"
Trying other mirror.
Error: Cannot retrieve repository metadata (repomd.xml) for repository: opennms-
repo-stable-common. Please verify its path and try again

Am I doing something wrong ?

Thanks,
thomazp
Posts: 17
Joined: Fri Jul 22, 2016 9:39 am

Re: Installating Cacti

Post by thomazp »

I found a site to modify 3 files and use chkconfig , but
didn't work.
thomazp
Posts: 17
Joined: Fri Jul 22, 2016 9:39 am

Re: Installating Cacti

Post by thomazp »

I disabled IPv6, but the system still searching for this address.
Any ideas ?
Thanks
Locked

Who is online

Users browsing this forum: No registered users and 1 guest