I'm running nmap2nagios.pl, and I notice that on CentOS 5, I had to run the following to get it working (when I didn't have to do the same on CentOS 4)
perl -MCPAN -e shell (answer questions)
install XML::Simple
Why is that?
On 10/30/07, Rogelio scubacuda@gmail.com wrote:
I'm running nmap2nagios.pl, and I notice that on CentOS 5, I had to run the following to get it working (when I didn't have to do the same on CentOS 4)
perl -MCPAN -e shell (answer questions)
install XML::Simple
Why is that?
Because for some insane reason you chose to go about things the hard (and potentially dangerous) way instead of 'yum install perl-XML-Simple' from the base repository.
Please don't make me get out my soap box regarding package management.
On 10/30/07, Jim Perrin jperrin@gmail.com wrote:
On 10/30/07, Rogelio scubacuda@gmail.com wrote:
I'm running nmap2nagios.pl, and I notice that on CentOS 5, I had to run the following to get it working (when I didn't have to do the same on CentOS 4)
perl -MCPAN -e shell (answer questions)
install XML::Simple
Why is that?
Because for some insane reason you chose to go about things the hard (and potentially dangerous) way instead of 'yum install perl-XML-Simple' from the base repository.
Actually, I did install it that way, and for whatever reason, it wasn't working, so I googled, and someone suggested doing it that way.
I'm wondering if perhaps this is because there was a package conflict when I enabled the DAG / RPMforge repository? When I did an "rpm -qa | grep perl", all of those packages were enabled. To be sure, I did a "yum install perl-*" and grabbed everything. Still nothing, so I did it manually.
(This is a test box, fortunately)
On 10/30/07, Rogelio scubacuda@gmail.com wrote:
Actually, I did install it that way, and for whatever reason, it wasn't working, so I googled, and someone suggested doing it that way.
Did you look at the error output from nmap2nagios.pl? Does nmap2nagios.pl look in the proper places for files or does it hardcode the include paths?
I'm wondering if perhaps this is because there was a package conflict when I enabled the DAG / RPMforge repository? When I did an "rpm -qa | grep perl", all of those packages were enabled. To be sure, I did a "yum install perl-*" and grabbed everything. Still nothing, so I did it manually.
Did you attempt to debug this at all so that we could help figure out what's going on, or where any potential issue might reside?
Rogelio wrote:
On 10/30/07, Jim Perrin jperrin@gmail.com wrote:
On 10/30/07, Rogelio scubacuda@gmail.com wrote:
I'm running nmap2nagios.pl, and I notice that on CentOS 5, I had to run the following to get it working (when I didn't have to do the same on CentOS 4)
perl -MCPAN -e shell (answer questions)
install XML::Simple
Why is that?
Because for some insane reason you chose to go about things the hard (and potentially dangerous) way instead of 'yum install perl-XML-Simple' from the base repository.
Actually, I did install it that way, and for whatever reason, it wasn't working, so I googled, and someone suggested doing it that way.
I'm wondering if perhaps this is because there was a package conflict when I enabled the DAG / RPMforge repository? When I did an "rpm -qa | grep perl", all of those packages were enabled. To be sure, I did a "yum install perl-*" and grabbed everything. Still nothing, so I did it manually.
Is this an i386 or x86_64 install of CentOS. If x86_64, it might be a problem with having the wrong package installed and perl looking in lib64 instead of lib for something ... or any number of other potential issues.
--- Jim Perrin jperrin@gmail.com wrote:
On 10/30/07, Rogelio scubacuda@gmail.com wrote:
I'm running nmap2nagios.pl, and I notice that on
CentOS 5, I had to
run the following to get it working (when I didn't
have to do the same
on CentOS 4)
perl -MCPAN -e shell (answer questions)
install XML::Simple
Why is that?
Because for some insane reason you chose to go about things the hard (and potentially dangerous) way instead of 'yum install perl-XML-Simple' from the base repository.
Please don't make me get out my soap box regarding package management.
-- During times of universal deceit, telling the truth becomes a revolutionary act. George Orwell _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Yes, Please do not get him started! It gets to slippery . :D
Steven
Get your Art Supplies @ www.littleartstore.com