VMware Cloud Community
swmistry
Contributor
Contributor

VMtool run error - please suggest solution to remove this error

vmware-tools-distrib]# ./vmware-install.pl
sh: line 1: 28279 Segmentation fault      './lib/sbin32/vmware-rpctool' 'toolinstall.installerActive 1' 2>/dev/null
Creating a new VMware Tools installer database using the tar4 format.

Installing VMware Tools.

In which directory do you want to install the binary files?
[/usr/bin]

What is the directory that contains the init directories (rc0.d/ to rc6.d/)?
[/etc/rc.d]

What is the directory that contains the init scripts?
[/etc/rc.d/init.d]

In which directory do you want to install the daemon files?
[/usr/sbin]

In which directory do you want to install the library files?
[/usr/lib/vmware-tools]

In which directory do you want to install the documentation files?
[/usr/share/doc/vmware-tools]

The path "/usr/share/doc/vmware-tools" does not exist currently. This program
is going to create it, including needed parent directories. Is this what you
want? [yes]

The installation of VMware Tools 8.3.2 build-257589 for Linux completed
successfully. You can decide to remove this software from your system at any
time by invoking the following command: "/usr/bin/vmware-uninstall-tools.pl".

Before running VMware Tools for the first time, you need to configure it by
invoking the following command: "/usr/bin/vmware-config-tools.pl". Do you want
this program to invoke the command for you now? [yes]

Initializing...

sh: line 1: 30066 Segmentation fault      '/usr/lib/vmware-tools/sbin32/vmware-rpctool' 'toolinstall.is_image_inserted' 2>/dev/null
sh: line 1: 30071 Segmentation fault      '/usr/lib/vmware-tools/sbin32/vmware-rpctool' 'toolinstall.installerActive 0' 2>/dev/null
sh: line 1: 30076 Segmentation fault      '/usr/lib/vmware-tools/sbin32/vmware-rpctool' 'toolinstall.end 0' 2>/dev/null
This configuration program is to be executed in a virtual machine.

Execution aborted.

sh: line 1: 30086 Segmentation fault      '/usr/lib/vmware-tools/sbin32/vmware-rpctool' 'toolinstall.installerActive 0' 2>/dev/null

0 Kudos
12 Replies
firestartah
Virtuoso
Virtuoso

What machine are you trying to run this on as the "This configuration program is to be executed in a virtual machine." part makes me think you are trying to install vmtools on something other than a virtual machine which isn't possible

If you found this or other information useful, please consider awarding points for "Correct" or "Helpful". Gregg http://thesaffageek.co.uk
0 Kudos
swmistry
Contributor
Contributor

HI, Thanks for reverting about this. I am running VMtool in a virtual machine. Provinding snapshots for reference. As i think, Vmtool is getting installed however there is some issue after running "/usr/bin/vmware-config-tools.pl"

Output from PowerCLI:-

[vSphere PowerCLI] D:\INSTALLS_SW> Get-VM

Name                 PowerState Num CPUs Memory (MB)
----                 ---------- -------- -----------
IN-MUM-NARVAL        PoweredOn  2        2048

Host VMtool script run Output:-

[root@IN-MUM-NARVAL vmware-tools-distrib]# ./vmware-install.pl
sh: line 1:  4543 Segmentation fault      './lib/sbin32/vmware-rpctool' 'toolinstall.installerActive 1' 2>/dev/null
A previous installation of VMware Tools has been detected.

The previous installation was made by the tar installer (version 4).

Keeping the tar4 installer database format.

You have a version of VMware Tools installed.  Continuing this install will
first uninstall the currently installed version.  Do you wish to continue?
(yes/no) [yes]

Uninstalling the tar installation of VMware Tools.

Stopping services for VMware Tools

Skipping VMware Tools services shutdown on the host:       [  OK  ]

sh: line 1:  4604 Segmentation fault      '/usr/lib/vmware-tools/sbin32/vmware-rpctool' 'tools.set.version 0' 2>/dev/null
File /usr/lib/vmware-tools/lib32/libconf/etc/pango/pangorc is backed up to
/usr/lib/vmware-tools/lib32/libconf/etc/pango/pangorc.old.0.

This program previously created the file
/usr/lib/vmware-tools/libconf/etc/gtk-2.0/gtk.immodules, and was about to
remove it.  Somebody else apparently did it already.

File /usr/lib/vmware-tools/lib32/libconf/etc/pango/pangox.aliases is backed up
to /usr/lib/vmware-tools/lib32/libconf/etc/pango/pangox.aliases.old.0.

File /usr/lib/vmware-tools/lib32/libconf/etc/gtk-2.0/gdk-pixbuf.loaders is
backed up to
/usr/lib/vmware-tools/lib32/libconf/etc/gtk-2.0/gdk-pixbuf.loaders.old.0.

This program previously created the file
/usr/lib/vmware-tools/libconf/etc/pango/pangorc, and was about to remove it.
Somebody else apparently did it already.

File /etc/vmware-tools/vmware-user.desktop is backed up to
/etc/vmware-tools/vmware-user.desktop.old.0.

This program previously created the file
/usr/lib/vmware-tools/libconf/etc/pango/pangox.aliases, and was about to remove
it.  Somebody else apparently did it already.

This program previously created the file
/usr/lib/vmware-tools/lib32/libconf/etc/pango/pango.modules, and was about to
remove it.  Somebody else apparently did it already.

This program previously created the file
/usr/lib/vmware-tools/libconf/etc/gtk-2.0/gdk-pixbuf.loaders, and was about to
remove it.  Somebody else apparently did it already.

File /usr/lib/vmware-tools/lib32/libconf/etc/gtk-2.0/gtk.immodules is backed up
to /usr/lib/vmware-tools/lib32/libconf/etc/gtk-2.0/gtk.immodules.old.0.

This program previously created the directory
/usr/lib/vmware-tools/lib32/libconf/etc/gtk-2.0, and was about to remove it.
Since there are files in that directory that this program did not create, it
will not be removed.

This program previously created the directory
/usr/lib/vmware-tools/lib32/libconf/etc/pango, and was about to remove it.
Since there are files in that directory that this program did not create, it
will not be removed.

This program previously created the directory
/usr/lib/vmware-tools/lib32/libconf/etc, and was about to remove it. Since
there are files in that directory that this program did not create, it will not
be removed.

This program previously created the directory
/usr/lib/vmware-tools/lib32/libconf, and was about to remove it. Since there
are files in that directory that this program did not create, it will not be
removed.

This program previously created the directory /usr/lib/vmware-tools/lib32, and
was about to remove it. Since there are files in that directory that this
program did not create, it will not be removed.

This program previously created the directory /usr/lib/vmware-tools, and was
about to remove it. Since there are files in that directory that this program
did not create, it will not be removed.

The removal of VMware Tools 8.3.2 build-257589 for Linux completed
successfully.

Installing VMware Tools.

In which directory do you want to install the binary files?
[/usr/bin]

What is the directory that contains the init directories (rc0.d/ to rc6.d/)?
[/etc/rc.d]

What is the directory that contains the init scripts?
[/etc/rc.d/init.d]

In which directory do you want to install the daemon files?
[/usr/sbin]

In which directory do you want to install the library files?
[/usr/lib/vmware-tools]


In which directory do you want to install the documentation files?
[/usr/share/doc/vmware-tools]
The installation of VMware Tools 8.3.2 build-257589 for Linux completed
successfully. You can decide to remove this software from your system at any
time by invoking the following command: "/usr/bin/vmware-uninstall-tools.pl".

Before running VMware Tools for the first time, you need to configure it by
invoking the following command: "/usr/bin/vmware-config-tools.pl". Do you want
this program to invoke the command for you now? [yes]

Initializing...

sh: line 1:  6398 Segmentation fault      '/usr/lib/vmware-tools/sbin32/vmware-rpctool' 'toolinstall.is_image_inserted' 2>/dev/null
sh: line 1:  6403 Segmentation fault      '/usr/lib/vmware-tools/sbin32/vmware-rpctool' 'toolinstall.installerActive 0' 2>/dev/null
sh: line 1:  6408 Segmentation fault      '/usr/lib/vmware-tools/sbin32/vmware-rpctool' 'toolinstall.end 0' 2>/dev/null
This configuration program is to be executed in a virtual machine.

Execution aborted.

sh: line 1:  6417 Segmentation fault      '/usr/lib/vmware-tools/sbin32/vmware-rpctool' 'toolinstall.installerActive 0' 2>/dev/null

VMtool is installed as could view the options under "/usr/bin" however vmware-config-tools.pl script seems to shoot above error. I have created a clone for this VM today and going to attempt a Reboot and will do further R& D.

IN-MUM-NARVAL vmware-tools-distrib]# ls -ltr /usr/bin/ |grep -i vmware
-rwxr-xr-x  1 root root     225578 Apr  8 09:53 vmware-uninstall-tools.pl
-rwxr-xr-x  1 root root     437400 Apr  8 09:53 vmware-config-tools.pl
lrwxrwxrwx  1 root root         43 Apr  8 09:54 vmware-xferlogs -> /usr/lib/vmware-tools/bin32/vmware-xferlogs
lrwxrwxrwx  1 root root         46 Apr  8 09:54 vmware-user-wrapper -> /usr/lib/vmware-tools/bin32/vmware-user-loader
lrwxrwxrwx  1 root root         52 Apr  8 09:54 vmware-user -> /usr/lib/vmware-tools/bin32/vmware-user-suid-wrapper
lrwxrwxrwx  1 root root         37 Apr  8 09:54 vmware-toolbox-cmd -> /usr/lib/vmware-tools/bin32/appLoader
lrwxrwxrwx  1 root root         37 Apr  8 09:54 vmware-toolbox -> /usr/lib/vmware-tools/bin32/appLoader
lrwxrwxrwx  1 root root         37 Apr  8 09:54 vmware-hgfsclient -> /usr/lib/vmware-tools/bin32/appLoader
lrwxrwxrwx  1 root root         39 Apr  8 09:54 vmware-gksu -> /usr/lib/vmware-tools/bin32/vmware-gksu

0 Kudos
DuMbI4
Contributor
Contributor

I have the same problem, I am using a closed Linux software environment

gpg --import

VMWARE-PACKAGING-GPG-DSA-KEY.pub

VMWARE-PACKAGING-GPG-RSA-KEY.pub

but nothing happened. I cannot install tools on a VM

0 Kudos
scott28tt
VMware Employee
VMware Employee

Which VMware product?

What is the host OS?

What is the guest OS?


-------------------------------------------------------------------------------------------------------------------------------------------------------------

Although I am a VMware employee I contribute to VMware Communities voluntarily (ie. not in any official capacity)
VMware Training & Certification blog
0 Kudos
DuMbI4
Contributor
Contributor

VMware® vSphere 6.7

ESXi 6.7

Guest OS: Debian GNU / Linux 9 (64-битная) Astra Linux 1.6 SE Smolensk

The installation of VMware Tools 10.3.21 build-14772444 for Linux completed

successfully. You can decide to remove this software from your system at any

time by invoking the following command: "/usr/bin/vmware-uninstall-tools.pl".

Before running VMware Tools for the first time, you need to configure it by

invoking the following command: "/usr/bin/vmware-config-tools.pl". Do you want

this program to invoke the command for you now? [yes]

INPUT: [yes]  default

Initializing...

sh: строка 1:  1550 Segmentation fault                   '/usr/lib/vmware-tools/sbin64/vmware-rpctool' 'toolinstall.is_image_inserted' 2> /dev/null

sh: строка 1:  1555 Segmentation fault                   '/usr/lib/vmware-tools/sbin64/vmware-rpctool' 'toolinstall.installerActive 0' 2> /dev/null

sh: строка 1:  1560 Segmentation fault                   '/usr/lib/vmware-tools/sbin64/vmware-rpctool' 'toolinstall.end 0' 2> /dev/null

This configuration program is to be executed in a virtual machine.

Execution aborted.

Enjoy,

--the VMware team

sh: строка 1:  1567 Segmentation fault                   '/usr/lib/vmware-tools/sbin64/vmware-rpctool' 'toolinstall.installerActive 0' 2> /dev/null

0 Kudos
scott28tt
VMware Employee
VMware Employee

This may help: https://shazdba.blogspot.com/2015/07/error-configuration-program-is-to-be.html


-------------------------------------------------------------------------------------------------------------------------------------------------------------

Although I am a VMware employee I contribute to VMware Communities voluntarily (ie. not in any official capacity)
VMware Training & Certification blog
0 Kudos
DuMbI4
Contributor
Contributor

The installation of VMware Tools 10.3.21 build-14772444 for Linux completed

successfully. You can decide to remove this software from your system at any

time by invoking the following command: "/usr/bin/vmware-uninstall-tools.pl".

Before running VMware Tools for the first time, you need to configure it by

invoking the following command: "/usr/bin/vmware-config-tools.pl". Do you want

this program to invoke the command for you now? [yes]

INPUT: [yes] default

"my" variable $ use_desktop_utils masks earlier declaration in same scope at /usr/bin/vmware-config-tools.pl line 11988.

Unmatched right curly bracket at /usr/bin/vmware-config-tools.pl line 11770, at end of line

syntax error at /usr/bin/vmware-config-tools.pl line 11770, near "}"

Can't redeclare "my" in "my" at /usr/bin/vmware-config-tools.pl line 11779, near ""

syntax error at /usr/bin/vmware-config-tools.pl line 11815, near "}"

syntax error at /usr/bin/vmware-config-tools.pl line 11848, near "}"

Can't redeclare "my" in "my" at /usr/bin/vmware-config-tools.pl line 11852, near ""

syntax error at /usr/bin/vmware-config-tools.pl line 11876, near "}"

Can't redeclare "my" in "my" at /usr/bin/vmware-config-tools.pl line 11902, near ""

syntax error at /usr/bin/vmware-config-tools.pl line 11984, near "}"

Can't redeclare "my" in "my" at /usr/bin/vmware-config-tools.pl line 11989, near ""

/usr/bin/vmware-config-tools.pl has too many errors.

Enjoy,

--the VMware team

sh: line 1: 3859 Segmentation error '/ usr / lib / vmware-tools / sbin64 / vmware-rpctool' 'toolinstall.installerActive 0' 2> / dev / null

0 Kudos
scott28tt
VMware Employee
VMware Employee

Posting long screen dumps or logs is not required each time - there is an “Attach” function in the bottom-right of the post editor, this will save others from excessive scrolling.

I‘ve edited your two last posts (as a forum moderator) to leave behind the errors.


-------------------------------------------------------------------------------------------------------------------------------------------------------------

Although I am a VMware employee I contribute to VMware Communities voluntarily (ie. not in any official capacity)
VMware Training & Certification blog
0 Kudos
DuMbI4
Contributor
Contributor

txt and log These file types are not allowed. snd,au,mpga,mp3,mp2,mpeg,mpg,mpe,mov,qt,bmp

Any ideas for solving the problem install vmware tools?

0 Kudos
scott28tt
VMware Employee
VMware Employee

Yes I know that, twice you have posted very long screen text dumps which could easily have been copied into an attached file instead.

And no, I do now know what is causing your issue.


-------------------------------------------------------------------------------------------------------------------------------------------------------------

Although I am a VMware employee I contribute to VMware Communities voluntarily (ie. not in any official capacity)
VMware Training & Certification blog
0 Kudos
DuMbI4
Contributor
Contributor

The reason is in a closed software environment. I need a key with which I can sign the package so that it works, how to do it? here is the guest OS instruction https://wiki.astralinux.ru/pages/viewpage.action?pageId=1212431

0 Kudos
DuMbI4
Contributor
Contributor

How to sign vmware binaries?

0 Kudos