vmware connect.pl issue

Hi
My LPAR2RRD version 5.07
I installed VMware-vSphere-Perl-SDK-6.5.0
My LPAR2RRD is on the Ubuntu 16.04
vSphere SDK for Perl version: 6.5.0
Script 'connect.pl' version: 1.0
vSphere Client Version 5.1.0
VMware ESXi Version 5.1.0

When i tested on the LPAR2RRD gui,i saw this error;
Looks like there is no running vCenter or ESXi on: https://x.x.x.x

When i tested on the CLİ ,i saw this error

$PERL /home/lpar2rrd/lpar2rrd/vmware-lib/apps/connect.pl --server x.x.x.x --username "lpar2rrd@y.y.y.y" --password "****"
Server version unavailable at 'https://x.x.x.x:443/sdk/vimService.wsdl' at /home/lpar2rrd/lpar2rrd/vmware-lib/apps/../VMware/VICommon.pm line 734.


Could you help please?


Comments

  • Hi,

    1. assure that your user is created properly, has read only rights for whole vcenter:
    http://www.lpar2rrd.com/install.htm?4.1.0 --> VMware  --> screenshot in pre-requisite section

    2. when above ok, then this test to prove that there is network connection to your vcenter, replace vcenter_IP by your  IP or hostname

    cd /home/lpar2rrd/lpar2rrd
    perl ./bin/conntest.pl vcenter_IP 443


  • Hi

    1. assure that your user is created properly, has read only rights for whole vcenter:
    http://www.lpar2rrd.com/install.htm?4.1.0 --> VMware  --> screenshot in pre-requisite section

    I checked this.



    2. when above ok, then this test to prove that there is network connection to your vcenter, replace vcenter_IP by your  IP or hostname

    cd /home/lpar2rrd/lpar2rrd
    perl ./bin/conntest.pl vcenter_IP 443

    This my CLİ screen:

    lpar2rrd@lpartest:~$
    lpar2rrd@lpartest:~$ cd /home/lpar2rrd/lpar2rrd
    lpar2rrd@lpartest:~/lpar2rrd$ perl ./bin/conntest.pl x.x.x.x 443
    lpar2rrd@lpartest:~/lpar2rrd$
    lpar2rrd@lpartest:~/lpar2rrd$
    lpar2rrd@lpartest:~/lpar2rrd$



    Greetings




  • I still saw same error too
  • screenshot pls:

    telnet  IP 443
  • Hi

    this is the my CLI 

    telnet x.x.x.x 443

    lpar2rrd@lpartest:~/lpar2rrd$
    lpar2rrd@lpartest:~/lpar2rrd$ telnet x.x.x.x 443
    Trying x.x.x.x...
    Connected to x.x.x.x.
    Escape character is '^]'.


    Greetings

  • do you have LWP 6.x in place?
    http://www.lpar2rrd.com/https.htm

  • Hi 

    I checked on my system perl -MLWP -le "print(LWP->VERSION)" with this command

    lpar2rrd@lpartest:~$ perl -MLWP -le "print(LWP->VERSION)"
    6.15
    lpar2rrd@lpartest:~$




    My system version is:

    Distributor ID:    Ubuntu
    Description:    Ubuntu 16.04.2 LTS
    Release:    16.04
    Codename:    xenial



  • Hi

    I still saw same error too

    lpar2rrd@lpartest:~$ perl -MLWP -e 'print "LWP Version: $LWP::VERSION\n"'
    LWP Version: 6.15
    lpar2rrd@lpartest:~$
    lpar2rrd@lpartest:~$

    Greetings

Sign In or Register to comment.