Re: [CentOS] install rrdtools-devel / rrdtool-perl / SOLVED

2015-11-26 Thread Leandro
what I did is to take note of exaclty the same package that were 
installed on mi centos 7.
Then I download the 3 packages on my rhel , and installed in the same 
order with rpm.

I worked ...
Thanks.




On 26/11/15 15:24, Tris Hoar wrote:

On 26/11/2015 18:22, John R Pierce wrote:

On 11/26/2015 10:18 AM, Tris Hoar wrote:

To access RHN you will need a support agreement with Red Hat. You
could use the packages from Centos, but it would be better to just
rebuild the server if you are going down that route.


long ago, far away, I successfully converted several RHEL boxes to
CentOS by making a list of all the RPMs and replacing them with the
centos equivalents, after removing the RHN related packages and manually
installing the CentOS equivalents.   But I think it was RHEL 3 or 4 when
I last did this.



I've done the same in with RHEL5 and it worked fine, but its not 
something I'd do to a production system.


Tris


*
This email and any files transmitted with it are confidential
and intended solely for the use of the individual or entity to whom 
they are addressed. If you have received this email in error please 
notify postmas...@bgfl.org


The views expressed within this email are those of the individual, and 
not necessarily those of the organisation

*
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] install rrdtools-devel / rrdtool-perl

2015-11-26 Thread Leandro

Im very sorry.
You were right, yum install works flawlessly  for rrdtool, rrdtool-devel 
and rrdtool-perl packages.

I tryed on a fresh centos7 install.
The problem is that my Os is not a centos7 instead is a redhat 7.
Since I dont have any support for this , I asked some help here. I 
thought that repositories are the same for fedora,redhat and centos.

My mistake ...
I dont know what to do now.

Thankyou!!



On 26/11/15 14:20, John Hodrien wrote:
yum list rrdtool --show-duplicates 


___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] install rrdtools-devel / rrdtool-perl

2015-11-26 Thread Leandro

I will expand a little bit more.

I need to install nfdump,
when I beggin installation process:
[root@ARM-LXMON01 nfdump-1.6.13]# ./configure \--prefix=/usr/local 
\--sysconfdir=/etc \--mandir=/usr/share/man \--enable-nfprofile 
\--enable-nftrack \--enable-sflow \--enable-nsel


checking for rrd_update in -lrrd... no
configure: error: Can not link librrd. Please specify --with-rrdpath=.. 
configure failed!


I do:
[root@ARM-LXMON01 nfdump-1.6.13]# find / -name librrd*
/usr/lib64/librrd.so.4
/usr/lib64/librrd.so.4.2.1
/usr/lib64/librrd_th.so.4
/usr/lib64/librrd_th.so.4.2.1
[root@ARM-LXMON01 nfdump-1.6.13]#

So Then I do:
./configure --prefix=/usr/local --sysconfdir=/etc 
--mandir=/usr/share/man --enable-nfprofile --enable-nftrack 
--enable-sflow --enable-nsel --with-rrdpath=/usr/lib64/librrd.so.4


But It doesnot work either.
configure: error: in `/usr/local/src/nfdump-1.6.13':
configure: error: C preprocessor "/lib/cpp" fails sanity check

I remember , I solved this issue in my centos 6 , after install 
rrdtool-devel and rrdtool-perl packages.

Can I try domething else ?
Regards.
Leandro.







On 26/11/15 13:01, John Hodrien wrote:

On Thu, 26 Nov 2015, Leandro wrote:


Hi guys , Im have some problems installing the following packages:
rrdtool-devel
rrdtool-perl

Before we moved to centos/rhel7 it was a simple task, just doing:
yum install rrdtool rrdtool-devel and rrdtool-perl was enough.

Now, I only can install the rrdtool package but not rrdtool-devel and
rrdtool-perl.
I tryed adding some repos, but I think I added wrong ones.
Also tryed downloading and installing packages with rpm -ivh but 
there is

allwais a missing dependence.


You've done something very wrong, as these are in base.  Have you perhaps
installed an rrdtool of a newer version from elsewhere?

jh
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


[CentOS] install rrdtools-devel / rrdtool-perl

2015-11-26 Thread Leandro

Hi guys , Im have some problems installing the following packages:
rrdtool-devel
rrdtool-perl

Before we moved to centos/rhel7 it was a simple task, just doing:
yum install rrdtool rrdtool-devel and rrdtool-perl was enough.

Now, I only can install the rrdtool package but not rrdtool-devel and
rrdtool-perl.
I tryed adding some repos, but I think I added wrong ones.
Also tryed downloading and installing packages with rpm -ivh but there is
allwais a missing dependence.

Can you help me ?
Thanks.

___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


[CentOS] c++ Development question

2015-11-06 Thread Leandro

Hello Centos user.
Im learning about c/c++ , so far every thing works great.
The problem begins when I try to install a new library or a third party api.
For example now I need to install the jsoncpp implementation in my 
centos box but I have no idea how to do it.

I realized that my knolowge about those things is very poor.
I would like to ask you for some documentation about libraries 
directories layout regarding  c/c++ programing.
Im not interested in the languaje it self but how to prepare my server 
to succesfully compile c/c++ programas.


I hope someone can help my on this.
Regards,
Leo.

___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


[CentOS] snmpd exec issue

2015-10-19 Thread Leandro
Hello guys , I was trying to get a command output from my Centos 6 
server using the snmpd "exec" section.


The line added to  snmpd.conf id:

exec get_whitelist  /bin/cat /home/snmp_user/whitelist.txt

Afer trying to get the resut performing the snmpwalk client form another 
server I always got "permission denied"

After reading some forums I founded  that disabling selinux It works.
My question is .. What is the proper way to achieve snmpd executing some 
commands ?
In my case it is working now but ... Im not sure if disabling selinux is 
the best way.


Regards.
Leandro.

___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Clustering and ha planning

2015-10-10 Thread Leandro

Thanks for pointing that.
I would like to learn about clustering and HA, so if I have to chose a 
service for my testing scenario It will be a radius or a mysql justo to 
keep it simple.


Leandro.


On 10/10/15 18:49, John R Pierce wrote:

On 10/10/2015 2:06 PM, Leandro wrote:
So, I would like to ask to comunity, which are the new methods for 
clustering and get HA and  where to get updated documentation. 


I contend the appropriate approach to HA should be based on what 
services you need to keep available.  an HA file server has quite 
different requirements and implementations than a HA relational 
database server or a HA DNS server.  There's no magic one size fits 
all solutions.







___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


[CentOS] Clustering and ha planning

2015-10-10 Thread Leandro

Hello , Centos users:
My name is Leandro, I have been using Centos for 4 years and this is the 
first post in this mail list.
I would like to study and introduce myself in clustering and high 
availability for Centos, currently I have not experience at all about it.
I would like to ask about the newest method to achieve high availability 
, load balancing on linux / Centos.
So far I have seen the Clustering docs writen for Centos 5 and the HA 
documentation from www.linux-ha.org that have been published in 2010.
So, I would like to ask to comunity, which are the new methods for 
clustering and get HA and  where to get updated documentation.


Regards,
Leandro.

___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos