Unable to start services VMWARE Workstation 12.5.0

Issues related to applications and software problems
Post Reply
odd123456
Posts: 3
Joined: 2017/10/07 09:08:41

Unable to start services VMWARE Workstation 12.5.0

Post by odd123456 » 2017/10/20 20:43:11

Hello everyone,

I am a newbie in Linux, and my question is, How can i solve "unable to start services" issue in VMware workstation 12.5.0?

I have a dell barebone pc at home where I installed a fresh Centos 7 and VMware software.

I have read many Internet blogs and forums but I havent found the solution yet. I troubleshoot the system using some commands and I obtained this info from each of them, but i am not sure where the problem lies. I find quite tricky to install software in Linux that is already written to run on it.

---------------------------------------------------------------------------------------------------------------------------------------------------
[root@odd Documents]# vmware-modconfig --console --install-all
Stopping vmware (via systemctl): [ OK ]
Using kernel build system.
make: Entering directory `/tmp/modconfig-UEiaL1/vmmon-only'
/bin/make -C /lib/modules/3.10.0-693.el7.x86_64/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. \
MODULEBUILDDIR= modules
make[1]: Entering directory `/usr/src/kernels/3.10.0-693.el7.x86_64'
CC [M] /tmp/modconfig-UEiaL1/vmmon-only/linux/driverLog.o
CC [M] /tmp/modconfig-UEiaL1/vmmon-only/linux/driver.o
CC [M] /tmp/modconfig-UEiaL1/vmmon-only/linux/hostif.o
/tmp/modconfig-UEiaL1/vmmon-only/linux/driver.c:1283:1: warning: always_inline function might not be inlinable [-Wattributes]
LinuxDriverSyncReadTSCs(uint64 *delta) // OUT: TSC max - TSC min
^
CC [M] /tmp/modconfig-UEiaL1/vmmon-only/common/memtrack.o
CC [M] /tmp/modconfig-UEiaL1/vmmon-only/common/apic.o
CC [M] /tmp/modconfig-UEiaL1/vmmon-only/common/vmx86.o
CC [M] /tmp/modconfig-UEiaL1/vmmon-only/common/cpuid.o
CC [M] /tmp/modconfig-UEiaL1/vmmon-only/common/task.o
CC [M] /tmp/modconfig-UEiaL1/vmmon-only/common/hashFunc.o
CC [M] /tmp/modconfig-UEiaL1/vmmon-only/common/comport.o
CC [M] /tmp/modconfig-UEiaL1/vmmon-only/common/phystrack.o
/tmp/modconfig-UEiaL1/vmmon-only/common/task.o: warning: objtool: .text: unexpected end of section
CC [M] /tmp/modconfig-UEiaL1/vmmon-only/vmcore/moduleloop.o
/tmp/modconfig-UEiaL1/vmmon-only/common/phystrack.o: warning: objtool: PhysTrack_Free() falls through to next function PhysTrack_Add()
/tmp/modconfig-UEiaL1/vmmon-only/common/phystrack.o: warning: objtool: PhysTrack_Add() falls through to next function PhysTrack_Remove()
/tmp/modconfig-UEiaL1/vmmon-only/common/phystrack.o: warning: objtool: PhysTrack_Remove() falls through to next function PhysTrack_Test()
LD [M] /tmp/modconfig-UEiaL1/vmmon-only/vmmon.o
Building modules, stage 2.
MODPOST 1 modules
CC /tmp/modconfig-UEiaL1/vmmon-only/vmmon.mod.o
LD [M] /tmp/modconfig-UEiaL1/vmmon-only/vmmon.ko
make[1]: Leaving directory `/usr/src/kernels/3.10.0-693.el7.x86_64'
/bin/make -C $PWD SRCROOT=$PWD/. \
MODULEBUILDDIR= postbuild
make[1]: Entering directory `/tmp/modconfig-UEiaL1/vmmon-only'
make[1]: `postbuild' is up to date.
make[1]: Leaving directory `/tmp/modconfig-UEiaL1/vmmon-only'
cp -f vmmon.ko ./../vmmon.o
make: Leaving directory `/tmp/modconfig-UEiaL1/vmmon-only'
Using kernel build system.
make: Entering directory `/tmp/modconfig-UEiaL1/vmnet-only'
/bin/make -C /lib/modules/3.10.0-693.el7.x86_64/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. \
MODULEBUILDDIR= modules
make[1]: Entering directory `/usr/src/kernels/3.10.0-693.el7.x86_64'
CC [M] /tmp/modconfig-UEiaL1/vmnet-only/driver.o
CC [M] /tmp/modconfig-UEiaL1/vmnet-only/hub.o
CC [M] /tmp/modconfig-UEiaL1/vmnet-only/userif.o
CC [M] /tmp/modconfig-UEiaL1/vmnet-only/netif.o
In file included from include/linux/pci.h:35:0,
from /tmp/modconfig-UEiaL1/vmnet-only/compat_netdevice.h:27,
from /tmp/modconfig-UEiaL1/vmnet-only/netif.c:43:
include/linux/pci_ids.h:2251:0: warning: "PCI_VENDOR_ID_VMWARE" redefined [enabled by default]
#define PCI_VENDOR_ID_VMWARE 0x15ad
^
In file included from /tmp/modconfig-UEiaL1/vmnet-only/net.h:38:0,
from /tmp/modconfig-UEiaL1/vmnet-only/vnetInt.h:26,
from /tmp/modconfig-UEiaL1/vmnet-only/netif.c:42:
/tmp/modconfig-UEiaL1/vmnet-only/vm_device_version.h:56:0: note: this is the location of the previous definition
#define PCI_VENDOR_ID_VMWARE 0x15AD
^
In file included from /tmp/modconfig-UEiaL1/vmnet-only/netif.c:43:0:
/tmp/modconfig-UEiaL1/vmnet-only/netif.c: In function ‘VNetNetifStartXmit’:
/tmp/modconfig-UEiaL1/vmnet-only/compat_netdevice.h:343:46: error: ‘struct net_device’ has no member named ‘trans_start’
#define compat_netif_trans_update(d) do { (d)->trans_start = jiffies; } while (0)
^
/tmp/modconfig-UEiaL1/vmnet-only/netif.c:468:4: note: in expansion of macro ‘compat_netif_trans_update’
compat_netif_trans_update(dev);
^
make[2]: *** [/tmp/modconfig-UEiaL1/vmnet-only/netif.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [_module_/tmp/modconfig-UEiaL1/vmnet-only] Error 2
make[1]: Leaving directory `/usr/src/kernels/3.10.0-693.el7.x86_64'
make: *** [vmnet.ko] Error 2
make: Leaving directory `/tmp/modconfig-UEiaL1/vmnet-only'
Unable to install all modules. See log for details.

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

And also I run the cmds below....

[root@odd Documents]# systemctl status vmware.service
● vmware.service - SYSV: This service starts and stops VMware services
Loaded: loaded (/etc/rc.d/init.d/vmware; bad; vendor preset: disabled)
Active: failed (Result: exit-code) since Fri 2017-10-20 19:50:17 BST; 15s ago
Docs: man:systemd-sysv-generator(8)
Process: 12496 ExecStart=/etc/rc.d/init.d/vmware start (code=exited, status=1/FAILURE)
CGroup: /system.slice/vmware.service
├─15729 /usr/lib/vmware/bin/vmware-vmblock-fuse -o subtype=vmware-vmblock,default_permissions,allow_other /var/run/vmblock-fus...
└─15749 /usr/sbin/vmware-authdlauncher

Oct 20 19:50:17 odd.netlab.ac.uk vmware[12496]: Virtual machine monitor[ OK ]
Oct 20 19:50:17 odd.netlab.ac.uk vmware[12496]: Virtual machine communication interface[ OK ]
Oct 20 19:50:17 odd.netlab.ac.uk vmware[12496]: VM communication interface socket family[ OK ]
Oct 20 19:50:17 odd.netlab.ac.uk vmware[12496]: Blocking file system[ OK ]
Oct 20 19:50:17 odd.netlab.ac.uk vmware[12496]: Virtual ethernet[FAILED]
Oct 20 19:50:17 odd.netlab.ac.uk vmware[12496]: VMware Authentication Daemon[ OK ]
Oct 20 19:50:17 odd.netlab.ac.uk systemd[1]: vmware.service: control process exited, code=exited status=1
Oct 20 19:50:17 odd.netlab.ac.uk systemd[1]: Failed to start SYSV: This service starts and stops VMware services.
Oct 20 19:50:17 odd.netlab.ac.uk systemd[1]: Unit vmware.service entered failed state.
Oct 20 19:50:17 odd.netlab.ac.uk systemd[1]: vmware.service failed.

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

[root@odd Documents]# /etc/init.d/vmware start
Starting vmware (via systemctl): Job for vmware.service failed because the control process exited with error code. See "systemctl status vmware.service" and "journalctl -xe" for details.
[FAILED]

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

[admin@odd ~]$ uname -a
Linux odd.netlab.ac.uk 3.10.0-693.2.2.el7.x86_64 #1 SMP Tue Sep 12 22:26:13 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

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

If anybody can help me out I will be very appreciated.

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

Re: Unable to start services VMWARE Workstation 12.5.0

Post by TrevorH » 2017/10/20 20:45:52

Since you're on CentOS 7.4 and building thigns to do with VMWare, perhaps read the release notes as there's an entry there about compiling something needing a patch. https://wiki.centos.org/Manuals/ReleaseNotes/CentOS7
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

odd123456
Posts: 3
Joined: 2017/10/07 09:08:41

Re: Unable to start services VMWARE Workstation 12.5.0

Post by odd123456 » 2017/10/22 15:17:39

Hello,

Sorry for the very late response!

I have just seen the incompatible changed in the kernel done by Redhat!

Thanks so much for pointing me in the right direction!

odd123456
Posts: 3
Joined: 2017/10/07 09:08:41

Re: Unable to start services VMWARE Workstation 12.5.0

Post by odd123456 » 2017/10/22 20:37:13

Hi again,

All done! I patched the kernel for VMware and now is running like a charm.

many thanks

Post Reply