VMware Tools installing failed

Issues related to applications and software problems
Post Reply
Hanisch
Posts: 76
Joined: 2015/08/10 13:26:03

VMware Tools installing failed

Post by Hanisch » 2017/09/18 09:58:58

Hello,
in my CentOS 7 installation in a VM of VMware Player I can't install the VMware Tools sucessful

Code: Select all

$ sudo vmware-tools-distrib/vmware-install.pl
...
depmod: WARNING: could not open /lib/modules/3.10.0-514.el7.x86_64/modules.order: No such file or directory
depmod: WARNING: could not open /lib/modules/3.10.0-514.el7.x86_64/modules.builtin: No such file or directory
...
Configuration of cups backend for selinux failed.
mmap: Invalid argument
mmap: Invalid argument
...
libsemanage.semanage_direct_get_module_info: Unable to read permissive_vmtools_t module lang ext file.
semodule:  Failed on list!
...
After this installation I have no Shared Folder in /mnt/hgfs/

What is the reason for that?

with regards
Ch. Hanisch

User avatar
TrevorH
Site Admin
Posts: 33215
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: VMware Tools installing failed

Post by TrevorH » 2017/09/18 10:00:54

You must have the same kernel version installed and *running* to match the kernel-headers/kernel-devel packages you have installed. Perhaps you forgot to reboot after running yum update to get up to date?
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

Hanisch
Posts: 76
Joined: 2015/08/10 13:26:03

Re: VMware Tools installing failed

Post by Hanisch » 2017/09/18 10:21:24

TrevorH wrote:You must have the same kernel version installed and *running* to match the kernel-headers/kernel-devel packages you have installed.
How can I make the Version-Identity of kernel-headers/kernel-devel packages?

Code: Select all

$ uname -r
3.10.0-693.2.2.el7.x86_64
with regards
Ch. Hanisch

hunter86_bg
Posts: 2019
Joined: 2015/02/17 15:14:33
Location: Bulgaria
Contact:

Re: VMware Tools installing failed

Post by hunter86_bg » 2017/09/18 14:57:31

Anoher option is

Code: Select all

yum install open-vm-tools

Hanisch
Posts: 76
Joined: 2015/08/10 13:26:03

Re: VMware Tools installing failed

Post by Hanisch » 2017/09/18 15:14:48

hunter86_bg wrote:Anoher option is

Code: Select all

yum install open-vm-tools
The newest Version is installed.

Code: Select all

$ sudo yum install open-vm-tools
Geladene Plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
 * base: ftp.hosteurope.de
 * centosplus: centos.mirror.iphh.net
 * epel: mirror.23media.de
 * extras: ftp.hosteurope.de
 * fasttrack: centos.mirrors.as250.net
 * nux-dextop: li.nux.ro
 * updates: mirror.23media.de
Paket open-vm-tools-10.1.5-3.el7.x86_64 ist bereits in der neuesten Version installiert.
Nichts zu tun
What can I more do?

with rfegards
Ch. Hanisch

pjwelsh
Posts: 2632
Joined: 2007/01/07 02:18:02
Location: Central IL USA

Re: VMware Tools installing failed

Post by pjwelsh » 2017/09/18 16:37:04

With the new 7.4 kernel and the 12.5.x VMWare, there are issues:
https://communities.vmware.com/thread/572123
The directions worked for me. Placed/augmented slightly here (scriptable as is as user root):
mkdir ~/vmnet-fix
cd ~/vmnet-fix
wget https://communities.vmware.com/servlet/ ... .patch.zip
unzip VMware-Workstation-12.5.7-vmnet-RHEL74.patch.zip
cp /usr/lib/vmware/modules/source/vmnet.tar ./vmnet-12.5.7.tar
tar xf vmnet-12.5.7.tar
patch -p0 < ~/VMware-Workstation-12.5.7-vmnet-RHEL74.patch
tar cf vmnet.tar vmnet-only/
cp vmnet.tar /usr/lib/vmware/modules/source/vmnet.tar
vmware-modconfig --console --install-all

mghe
Posts: 766
Joined: 2015/11/24 12:04:43
Location: Katowice, Poland

Re: VMware Tools installing failed

Post by mghe » 2017/09/18 17:21:01

Hanisch wrote: What can I more do?

with rfegards
Ch. Hanisch
@TrevorH give You right TIP!

Check: yum info kernel-headers.x86_64

@pjwelsh have right, there is a problem with VMWare Workstation, but nothing hear about vm-tools

Hanisch
Posts: 76
Joined: 2015/08/10 13:26:03

Re: VMware Tools installing failed

Post by Hanisch » 2017/09/18 18:41:37

mghe wrote: Check: yum info kernel-headers.x86_64

Code: Select all

$ yum info kernel-headers.x86_64
Geladene Plugins: fastestmirror, langpacks
Determining fastest mirrors
 * base: centos.alpha-labs.net
 * centosplus: centos.mirror.iphh.net
 * epel: ftp-stud.hs-esslingen.de
 * extras: ftp.uni-bayreuth.de
 * fasttrack: centos.mirror.iphh.net
 * nux-dextop: mirror.li.nux.ro
 * updates: mirror.checkdomain.de
Installierte Pakete
Name       : kernel-headers
Architektur : x86_64
Version    : 3.10.0
Ausgabe    : 693.2.2.el7
Größe : 3.5 M
Quelle      : installed
Aus Quelle  : updates
Zusammenfassung: Header files for the Linux kernel for use by glibc
URL        : http://www.kernel.org/
Lizenz      : GPLv2
Beschreibung: Kernel-headers includes the C header files that specify the interface
            : between the Linux kernel and userspace libraries and programs.  The
            : header files define structures and constants that are needed for
            : building most standard programs and are also needed for rebuilding the
            : glibc package.
What's the meaning of this?
@pjwelsh have right, there is a problem with VMWare Workstation, but nothing hear about vm-tools
Or a problem in CentOS 7 and VMware Player.
Other Distributions (Fedora 26) have not this problem.
I will wait for a solution of the problem in CentOS 7.

with regards
Ch. Hanisch

Post Reply