VMware Cloud Community
hide_inoue
Contributor
Contributor
Jump to solution

Failed to install vSphere CLI for vSphere 6.7 into Red Hat Enterprise Linux 6.6

I try to install vSphere CLI for vSphere 6.7 into Red Hat Enterprise Linux 6.6.
But i cannot compleate.

Result(Skip some messages.  ......)
[root@RHEL66-V-GUI vmware-vsphere-cli-distrib]# ./vmware-install.pl

.................

The file /lib/libgcc_s.so.1 that this program was about to install already
exists. Overwrite? [yes]

Unable to get the access rights of source file "./lib/5.10/Socket6-0.23-rhel6".

Execution aborted.

[root@RHEL66-V-GUI vmware-vsphere-cli-distrib]#

I checked Socket6 module In manual.
Socket6-023   (0.23 or later)

Check Guest server.
[root@RHEL66-V-GUI vmware-vsphere-cli-distrib]# perl -MSocket6 -e 'print $Socket6::VERSION'
0.23[root@RHEL66-V-GUI vmware-vsphere-cli-distrib]#

I checed 0.23 and 0.28(newest).
There were same result.

I checked following things.
I can install vSphere CLI for vSphere 6.7 into Red Hat Enterprise Linux 7.3.
I can install vSphere CLI for vSphere 6.5 into Red Hat Enterprise Linux 6.6.

environment:

Host:vSphere 6.7
Guest:Red Hat Enterprise Linux 6.6 x86_64
used:VMware-vSphere-CLI-6.7.0-8156551.x86_64.tar.gz

Would you tell me this solution?
Or
Would you give me some information?

Tags (2)
1 Solution

Accepted Solutions
SupreetK
Commander
Commander
Jump to solution

Try manually creating the directory 'Socket6-0.23-rhel6' under the path './lib/5.10/'. Once created, invoke the installation script.

Please consider marking this answer as "correct" or "helpful" if you think your questions have been answered.

Cheers,

Supreet

View solution in original post

8 Replies
admin_1
Contributor
Contributor
Jump to solution

Hello

I've got the same issue. Did you found a solution?

0 Kudos
SupreetK
Commander
Commander
Jump to solution

Try manually creating the directory 'Socket6-0.23-rhel6' under the path './lib/5.10/'. Once created, invoke the installation script.

Please consider marking this answer as "correct" or "helpful" if you think your questions have been answered.

Cheers,

Supreet

admin_1
Contributor
Contributor
Jump to solution

Hi Supreet,

I created the directory  ..vmware-vsphere-cli-distrib/lib/5.10/Socket6-0.23-rhel6/    and now i got a new error :

Do you want to continue? (yes/no) yes

Please wait while configuring perl modules using CPAN ...

CPAN is downloading and installing pre-requisite Perl module "Archive::Zip" .

CPAN is downloading and installing pre-requisite Perl module "Try::Tiny" .

CPAN is downloading and installing pre-requisite Perl module "UUID" .

CPAN is downloading and installing pre-requisite Perl module "LWP" .

CPAN is downloading and installing pre-requisite Perl module

"LWP::Protocol::https" .

CPAN is downloading and installing pre-requisite Perl module "Text::Template" .

CPAN is downloading and installing pre-requisite Perl module "Net::INET6Glue" .

In which directory do you want to install the executable files?

[/usr/bin]

Please wait while copying vSphere CLI files...

Unable to change the access rights of the file /usr/bin/dcli.

Execution aborted.

infos:

===

ls -l /usr/bin/dcli

lrwxrwxrwx 1 root root 41 23 août  15:02 /usr/bin/dcli -> /usr/lib/vmware-vcli/bin/vmware-dcli/dcli

--> /usr/lib/vmware-vcli/bin/vmware-dcli/dcli doesn't exist

# ls -l /usr/lib/vmware-vcli/bin/

total 424

drwxr-xr-x 3 root root   4096 23 août  15:02 esxcli

-rwxr-xr-x 1 root root 420858 23 août  15:02 resxtop

-rw-r--r-- 1 root root    827 23 août  15:02 vmware-dcli-lin64.zip.sig

regards

0 Kudos
SupreetK
Commander
Commander
Jump to solution

Under the path </usr/lib/vmware-vcli/bin>, are there any remnants of <vmware-dcli> from the previous failed installations? If yes, delete them and re-initiate the installation.

Cheers,

Supreet

0 Kudos
admin_1
Contributor
Contributor
Jump to solution

HI Supreet,

Your workaround did'nt help. I got the same error.

At hte end of the installation  the files are recreated here  -> vmware-vsphere-cli-distrib/lib/bin :

drwxr-xr-x 3 root root   4096  2 avril 11:09 esxcli

-rwxr-xr-x 1 root root 420858  2 avril 11:09 resxtop

-rw-r--r-- 1 root root    827 27 mars  10:19 vmware-dcli-lin64.zip.sig      <<<<

regards

0 Kudos
hide_inoue
Contributor
Contributor
Jump to solution

Maybe your platform is x86.

I use x86_64.

I successed install vSphere CLI for vSphere 6.7 into Red Hat Enterprise Linux 6.6 after made ./lib/5.10/Socket6-0.23-rhel6esxcli6.5 folder.

regards

0 Kudos
admin_1
Contributor
Contributor
Jump to solution

my platform is

uname -r

2.6.32-642.el6.i686

Red Hat Enterprise Linux Server release 6.8

The installation failed with this error :

   In which directory do you want to install the executable files?

   [/usr/bin]

   Please wait while copying vSphere CLI files...

   Unable to change the access rights of the file /usr/bin/dcli.

   Execution aborted.

infos

====

# ls -l /usr/bin/dcli

lrwxrwxrwx 1 root root 41 30 août  11:46 /usr/bin/dcli -> /usr/lib/vmware-vcli/bin/vmware-dcli/dcli

# ls -l /usr/lib/vmware-vcli/bin/                   *** NO vmware-dcli folder ***    

total 424

drwxr-xr-x 3 root root   4096 30 août  11:46 esxcli

-rwxr-xr-x 1 root root 420858 30 août  11:46 resxtop

-rw-r--r-- 1 root root    827 30 août  11:46 vmware-dcli-lin64.zip.sig 

Question

========

What about the file  vmware-dcli-lin64.zip.sig

regards

0 Kudos
hide_inoue
Contributor
Contributor
Jump to solution

my platform is

uname -r

2.6.32-504.el6.x86_64

Red Hat Enterprise Linux Server release 6.6

Install is success.(need to make folder)

I cecked x86.

uname -r

2.6.32-504.el6.i686

Red Hat Enterprise Linux Server release 6.6

Install is failed.(same your result)

I checked  6.0and 6.5.

6.0 is succss.

6.5 is failed.(diffarent)

I cecked release notes.

ESXCLI6.0 supports 32bit and 64bit platform.

But 6.5 and 6.7 support only 64bit platform.

Regards.

0 Kudos