Forum Discussion
Kent_Perrier_50
Aug 12, 2011Nimbostratus
Perl Gtm Pool Member script question/issue
I am attempting to use the perl gtm pool member script at http://devcentral.f5.com/wiki/iControl.PerlGtmPoolMember.ashx
If I run it from the command line, with or without the arguements, it dies during the compile phase like this:
kent@host:~$ perl gtmpoolmember.pl
Illegal declaration of subroutine SOAP::Transport::HTTP::Client::get_basic_credentials at gtmpoolmember.pl line 63.
This happens on a RHEL 5.6 server, with perl 5.8.8, with RedHat's perl-SOAP-Lite-0.712-5.el5 module and on a Ubuntu server with pelr 5.10.1 and their version of the soap::lite module.
I fully admit that I don't know anything about soap programming and I was hoping to find an existing iControl script that I could munge to fit the need I have. (I need to generate a list wideIPs and the IP addresses of the pool members.) Any pointers on where to start to fix this issue?
9 Replies
Sort By
- command line of BIG-IP or another system? Have you installed Crypt-SSLeay?
- This is from the command line of another system. SSLeay (at least the perl module for it) is installed:
- Can you try to remove all "-->" from the code?
sub SOAP::Transport::HTTP::Client::get_basic_credentials--> { return "$sUID" => "$sPWD"; }
sub SOAP::Transport::HTTP::Client::get_basic_credentials { return "$sUID" => "$sPWD"; }
- I removed the --> from line 63 and compilation gets past that, but errors out like this:
- Could the code that makes the code all "pretty" be unintentionally munging the code as well?
- Something got munged when we imported it into the new wiki. I've updated the codeshare entry with the original code from my personal stash of samples. Let me know if that works for you.
- That works a whole lot better! :)
- Great! Sorry for the mixup.
- Looks like this page http://devcentral.f5.com/wiki/iControl.PerlLocalLbRule.ashx still has the "-->" wiki import corruption that you speak of. You say that you updated the codeshare entry on 8/15/2011. But the last update in the history of this wiki page is 2011/07/01. Am I looking in the right place? Here's an example of what I see on that page?
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects