Re: [CentOS] perl question

2010-02-01 Thread Dave Cross
On 29 January 2010 19:28, Jerry Geis ge...@pagestation.com wrote: I am trying to run a perl script that said it needs Net::SMPP I ran this: your_host]# *perl -MCPAN -e shell* cpan shell -- CPAN exploration and modules installation (v1.76) ReadLine support enabled cpan *install Net::SNMP

[CentOS] perl question

2010-01-29 Thread Jerry Geis
I am trying to run a perl script that said it needs Net::SMPP I ran this: your_host]# *perl -MCPAN -e shell* cpan shell -- CPAN exploration and modules installation (v1.76) ReadLine support enabled cpan *install Net::SNMP seemed to work. no errors reported. however when I run perl I still get

Re: [CentOS] perl question

2010-01-29 Thread linux-crazy
Hi, Check line 18. of your code or paste your code so it will be more usefull and which version of OS you are running. On Sat, Jan 30, 2010 at 12:58 AM, Jerry Geis ge...@pagestation.com wrote: I am trying to run a perl script that said it needs Net::SMPP I ran this: your_host]# *perl

Re: [CentOS] perl question

2010-01-29 Thread m . roth
I am trying to run a perl script that said it needs Net::SMPP I ran this: your_host]# *perl -MCPAN -e shell* cpan shell -- CPAN exploration and modules installation (v1.76) ReadLine support enabled cpan *install Net::SNMP seemed to work. no errors reported. however when I run perl I

Re: [CentOS] perl question

2010-01-29 Thread Joseph L. Casale
I am trying to run a perl script that said it needs Net::SMPP I ran this: your_host]# *perl -MCPAN -e shell* Ouch dude, you just broke your server. Try to yum update anything perl related in the future:) What else do I need? First, install SMPP, not SNMP? Second, use a repo, use span2rpm...

Re: [CentOS] perl question

2010-01-29 Thread Joseph L. Casale
Second, use a repo, use span2rpm... Then force the rpm in I guess to bring the rpm db into a blissfully ignorant, but happy state:) s/span2rpm/cpan2rpm/ ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos

Re: [CentOS] perl question

2010-01-29 Thread Greg Patton
On 1/29/2010 11:40 AM, m.r...@5-cent.us wrote: I am trying to run a perl script that said it needs Net::SMPP I ran this: your_host]# *perl -MCPAN -e shell* cpan shell -- CPAN exploration and modules installation (v1.76) ReadLine support enabled cpan *install Net::SNMP seemed to work. no

Re: [CentOS] perl question

2010-01-29 Thread Les Mikesell
On 1/29/2010 1:28 PM, Jerry Geis wrote: I am trying to run a perl script that said it needs Net::SMPP I ran this: your_host]# *perl -MCPAN -e shell* cpan shell -- CPAN exploration and modules installation (v1.76) ReadLine support enabled cpan *install Net::SNMP seemed to work. no errors

Re: [CentOS] perl question

2010-01-29 Thread Jerry Geis
Ouch dude, you just broke your server. Try to yum update anything perl related in the future:) /What else do I need? / First, install SMPP, not SNMP? Second, use a repo, use span2rpm... Then force the rpm in I guess to bring the rpm db into a blissfully ignorant, but happy state:)

Re: [CentOS] perl question on CentOS

2007-10-26 Thread Garrick Staples
On Fri, Oct 26, 2007 at 11:34:39AM -0700, Rogelio alleged: When I type in perl before the command, I get this: [EMAIL PROTECTED] nmap2nagios-0.1.2]# perl nmap2nagios.pl -v -r /tmp/nmap.xml -o /tmp/new.cfg Can't locate XML/Simple.pm in @INC (@INC contains: 'yum install perl-XML-Simple'

Re: [CentOS] perl question on CentOS

2007-10-26 Thread James Olin Oden
Does nmap2nagios have: #!/usr/bin/perl at the top. It looks like bash is interpreting the script. Try: perl nmap2nagios.pl (rest of options) ...james On 10/26/07, Rogelio [EMAIL PROTECTED] wrote: I'm trying to use nmap2nagios (a perl script) on CentOS, but when I run it, I get the