Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I used the command interface to start the gui installation of the program, and it said everything installed correctly. However, when i attempt to run this program using the terminal, i get this error:
bladez@bladez-desktop:~$ /usr/bin/vmware
Logging to /tmp/vmware-bladez/setup-4828.log
modinfo: could not find module vmmon
modinfo: could not find module vmnet
modinfo: could not find module vmblock
modinfo: could not find module vmci
modinfo: could not find module vsock
modinfo: could not find module vmmon
modinfo: could not find module vmnet
modinfo: could not find module vmblock
modinfo: could not find module vmci
modinfo: could not find module vsock
/usr/bin/vmware: line 31: 4828 Segmentation fault "$BINDIR"/vmware-modconfig --appname="VMware Workstation" --icon="vmware-workstation"
I used the command interface to start the gui installation of the program, and it said everything installed correctly. However, when i attempt to run this program using the terminal, i get this error:
bladez@bladez-desktop:~$ /usr/bin/vmware
Logging to /tmp/vmware-bladez/setup-4828.log
modinfo: could not find module vmmon
modinfo: could not find module vmnet
modinfo: could not find module vmblock
modinfo: could not find module vmci
modinfo: could not find module vsock
modinfo: could not find module vmmon
modinfo: could not find module vmnet
modinfo: could not find module vmblock
modinfo: could not find module vmci
modinfo: could not find module vsock
/usr/bin/vmware: line 31: 4828 Segmentation fault "$BINDIR"/vmware-modconfig --appname="VMware Workstation" --icon="vmware-workstation"
You didn't install VMWare correctly. Go through the installation instructions again. Pay attention. Don't skip any steps.
The vmware network modules do always have to build for the given system, so there must have been a point during installation when you were prompted to provide or confirm the location of the kernel headers and the compiler tools. Note that you might have vmware network modules from a previous vmware installation, but if your system has been upgraded in terms of kernels, then you need to rebuild the network modules.
I would bet that the kernel headers are not right, or are simply missing. Alternatively, some of the gnu compiler suite is not present. Look in /var/log/ for the file vmware-installer and see what it has to say.
Using UI type gtk
Opening database file /etc/vmware/database
destination /tmp/tmpiVQkJV/.installer/__init__.py already exists, overwriting.
destination /tmp/tmpiVQkJV/.installer/__init__.py already exists, overwriting.
destination /tmp/tmpiVQkJV/.installer/__init__.py already exists, overwriting.
destination /tmp/tmpiVQkJV/.installer/__init__.py already exists, overwriting.
destination /tmp/tmpiVQkJV/.installer/__init__.py already exists, overwriting.
Usage:
gconftool-2 [OPTION...] - Tool to manipulate a GConf configuration
Help Options:
-?, --help Show help options
--help-all Show all help options
--help-client Show client options
--help-key-type Show key type options
--help-load Show load/save options
--help-server Show server options
--help-install Show installation options
--help-test Show test options
--help-schema Show schema options
Application Options:
-v, --version Print version
Configuring Bridged network vmnet0
Configuring hostonly network vmnet1, probing for unused subnet ...
Configuring NAT network vmnet8, probing for unused subnet ...
Configured default networks - Bridged, Hostonly, NAT
* Restarting Common Unix Printing System: cupsd
...done.
Unable to install kernel modules
Using UI type gtk
Opening database file /etc/vmware/database
Using UI type gtk
Opening database file /etc/vmware/database
Using UI type gtk
Opening database file /etc/vmware/database
Using UI type gtk
Opening database file /etc/vmware/database
VMware DiskMount Utility version 6.5.1, build-126130
Usage: /usr/bin/vmware-mount diskPath [partition num] mountPoint
/usr/bin/vmware-mount [option] [opt args]
There are two modes for mounting disks. If no option is
specified, we mount individual partitions from virtual disks
independently. The filesystem on the partition will be
accessible at the mount point specified.
The -f option mounts a flat representation of a disk on a
user-specified mount point. The user must explicitly unmount
the disk when finished. A disk may not be in both modes at once.
diskID is an identifier of the form username@hostname:/path/to/vm
for remote disks and just the path for local disks. Options that
mount a remote disk also require -h -u -F and optionally -v options.
The -v option is required when connecting to a Virtual Center.
Options: -p <diskID> list all partitions on a disk
-l <diskID> list all mounted partitions on a disk
-L list all mounted disks
-d <mountPoint> cleanly unmount this partition
(closes disk if it is the last partition)
-f <diskPath> <mountPoint> mount a flat representation of the disk
at "mountPoint/flat."
-k <diskID> unmount all partitions and close disk
-K <diskID> force unmount all partitions and close disk
-x unmount all partitions and close all disks
-X force unmount all partitions and close all disks
Options for remote disks:
-v inventory path of the vm
-h hostname of remote server
-u username for remote server
-F file containing password
-P optional TCP port number (default: 902)
,
No mounted disks.
All virtual disks were unmounted successfully
[vmware-workstation] /tmp/plugins/com.vmware.bfg_1.0.0 did not exist
Stopping VMware services:
Virtual machine communication interface[71G done
Virtual machine monitor[71G done
Blocking file system[71G done
Usage:
gconftool-2 [OPTION...] - Tool to manipulate a GConf configuration
Help Options:
-?, --help Show help options
--help-all Show all help options
--help-client Show client options
--help-key-type Show key type options
--help-load Show load/save options
--help-server Show server options
--help-install Show installation options
--help-test Show test options
--help-schema Show schema options
Application Options:
-v, --version Print version
Using UI type gtk
Opening database file /etc/vmware/database
destination /tmp/tmp37X7N4/.installer/__init__.py already exists, overwriting.
destination /tmp/tmp37X7N4/.installer/__init__.py already exists, overwriting.
destination /tmp/tmp37X7N4/.installer/__init__.py already exists, overwriting.
destination /tmp/tmp37X7N4/.installer/__init__.py already exists, overwriting.
destination /tmp/tmp37X7N4/.installer/__init__.py already exists, overwriting.
Usage:
gconftool-2 [OPTION...] - Tool to manipulate a GConf configuration
Help Options:
-?, --help Show help options
--help-all Show all help options
--help-client Show client options
--help-key-type Show key type options
--help-load Show load/save options
--help-server Show server options
--help-install Show installation options
--help-test Show test options
--help-schema Show schema options
Application Options:
-v, --version Print version
Unknown media type in type 'all/all'
Unknown media type in type 'all/allfiles'
Unknown media type in type 'uri/mms'
Unknown media type in type 'uri/mmst'
Unknown media type in type 'uri/mmsu'
Unknown media type in type 'uri/pnm'
Unknown media type in type 'uri/rtspt'
Unknown media type in type 'uri/rtspu'
Unknown media type in type 'fonts/package'
Unknown media type in type 'interface/x-winamp-skin'
Restoring previous network settings from /tmp/vmwareNetworking.bUVcCg
Stopped all configured services on all networks
Backed up existing network settings to backup file "/tmp/vmware.KqOXF2"
Restored network settings
* Restarting Common Unix Printing System: cupsd
...done.
Unable to install kernel modules
Unknown media type in type 'all/all'
Unknown media type in type 'all/allfiles'
Unknown media type in type 'uri/mms'
Unknown media type in type 'uri/mmst'
Unknown media type in type 'uri/mmsu'
Unknown media type in type 'uri/pnm'
Unknown media type in type 'uri/rtspt'
Unknown media type in type 'uri/rtspu'
Unknown media type in type 'fonts/package'
Unknown media type in type 'interface/x-winamp-skin'
Using UI type gtk
Opening database file /etc/vmware/database
VMware DiskMount Utility version 6.5.1, build-126130
Usage: /usr/bin/vmware-mount diskPath [partition num] mountPoint
/usr/bin/vmware-mount [option] [opt args]
There are two modes for mounting disks. If no option is
specified, we mount individual partitions from virtual disks
independently. The filesystem on the partition will be
accessible at the mount point specified.
The -f option mounts a flat representation of a disk on a
user-specified mount point. The user must explicitly unmount
the disk when finished. A disk may not be in both modes at once.
diskID is an identifier of the form username@hostname:/path/to/vm
for remote disks and just the path for local disks. Options that
mount a remote disk also require -h -u -F and optionally -v options.
The -v option is required when connecting to a Virtual Center.
Options: -p <diskID> list all partitions on a disk
-l <diskID> list all mounted partitions on a disk
-L list all mounted disks
-d <mountPoint> cleanly unmount this partition
(closes disk if it is the last partition)
-f <diskPath> <mountPoint> mount a flat representation of the disk
at "mountPoint/flat."
-k <diskID> unmount all partitions and close disk
-K <diskID> force unmount all partitions and close disk
-x unmount all partitions and close all disks
-X force unmount all partitions and close all disks
Options for remote disks:
-v inventory path of the vm
-h hostname of remote server
-u username for remote server
-F file containing password
-P optional TCP port number (default: 902)
,
No mounted disks.
All virtual disks were unmounted successfully
[vmware-workstation] /tmp/plugins/com.vmware.bfg_1.0.0 did not exist
Stopping VMware services:
Virtual machine communication interface[71G done
Virtual machine monitor[71G done
Blocking file system[71G done
Usage:
gconftool-2 [OPTION...] - Tool to manipulate a GConf configuration
Help Options:
-?, --help Show help options
--help-all Show all help options
--help-client Show client options
--help-key-type Show key type options
--help-load Show load/save options
--help-server Show server options
--help-install Show installation options
--help-test Show test options
--help-schema Show schema options
Application Options:
-v, --version Print version
Using UI type gtk
Opening database file /etc/vmware/database
destination /tmp/tmp46heU5/.installer/__init__.py already exists, overwriting.
destination /tmp/tmp46heU5/.installer/__init__.py already exists, overwriting.
destination /tmp/tmp46heU5/.installer/__init__.py already exists, overwriting.
destination /tmp/tmp46heU5/.installer/__init__.py already exists, overwriting.
destination /tmp/tmp46heU5/.installer/__init__.py already exists, overwriting.
Usage:
gconftool-2 [OPTION...] - Tool to manipulate a GConf configuration
Help Options:
-?, --help Show help options
--help-all Show all help options
--help-client Show client options
--help-key-type Show key type options
--help-load Show load/save options
--help-server Show server options
--help-install Show installation options
--help-test Show test options
--help-schema Show schema options
Application Options:
-v, --version Print version
Unknown media type in type 'all/all'
Unknown media type in type 'all/allfiles'
Unknown media type in type 'uri/mms'
Unknown media type in type 'uri/mmst'
Unknown media type in type 'uri/mmsu'
Unknown media type in type 'uri/pnm'
Unknown media type in type 'uri/rtspt'
Unknown media type in type 'uri/rtspu'
Unknown media type in type 'fonts/package'
Unknown media type in type 'interface/x-winamp-skin'
Restoring previous network settings from /tmp/vmwareNetworking.cjENAP
Stopped all configured services on all networks
Backed up existing network settings to backup file "/tmp/vmware.axm1m9"
Restored network settings
* Restarting Common Unix Printing System: cupsd
...done.
Unable to install kernel modules
Unknown media type in type 'all/all'
Unknown media type in type 'all/allfiles'
Unknown media type in type 'uri/mms'
Unknown media type in type 'uri/mmst'
Unknown media type in type 'uri/mmsu'
Unknown media type in type 'uri/pnm'
Unknown media type in type 'uri/rtspt'
Unknown media type in type 'uri/rtspu'
Unknown media type in type 'fonts/package'
Unknown media type in type 'interface/x-winamp-skin'
Why is it your problem? I don't know exactly. But here is the same portion of the same file from my system:
Quote:
Configuring Bridged network vmnet0
Configuring hostonly network vmnet1, probing for unused subnet ...
Configuring NAT network vmnet8, probing for unused subnet ...
Configured default networks - Bridged, Hostonly, NAT
Stopping CUPS printing system: [ OK ]
Starting CUPS printing system: [ OK ]
Stopping VMware services:
Virtual machine communication interface[ OK ]
Virtual machine monitor[ OK ]
Blocking file system[ OK ]
make: Entering directory `/root/tmp/vmware-root/modules/vmmon-only'
make -C /lib/modules/2.6.29.1-desktop-4mnb/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/linux-2.6.29.1-desktop-4mnb'
CC [M] /root/tmp/vmware-root/modules/vmmon-only/linux/driver.o
make[1]: Leaving directory `/usr/src/linux-2.6.29.1-desktop-4mnb'
make: Leaving directory `/root/tmp/vmware-root/modules/vmmon-only'
Using 2.6.x kernel build system.
In file included from /root/tmp/vmware-root/modules/vmmon-only/linux/driver.c:31:
/root/tmp/vmware-root/modules/vmmon-only/./include/compat_wait.h:78: error: conflicting types for 'poll_initwait'
include/linux/poll.h:67: error: previous declaration of 'poll_initwait' was here
/root/tmp/vmware-root/modules/vmmon-only/linux/driver.c: In function 'LinuxDriverSyncCallOnEachCPU':
/root/tmp/vmware-root/modules/vmmon-only/linux/driver.c:1423: error: too many arguments to function 'smp_call_function'
/root/tmp/vmware-root/modules/vmmon-only/linux/driver.c: In function 'LinuxDriver_Ioctl':
/root/tmp/vmware-root/modules/vmmon-only/linux/driver.c:1987: error: 'struct task_struct' has no member named 'euid'
/root/tmp/vmware-root/modules/vmmon-only/linux/driver.c:1987: error: 'struct task_struct' has no member named 'uid'
/root/tmp/vmware-root/modules/vmmon-only/linux/driver.c:1988: error: 'struct task_struct' has no member named 'fsuid'
/root/tmp/vmware-root/modules/vmmon-only/linux/driver.c:1988: error: 'struct task_struct' has no member named 'uid'
/root/tmp/vmware-root/modules/vmmon-only/linux/driver.c:1989: error: 'struct task_struct' has no member named 'egid'
/root/tmp/vmware-root/modules/vmmon-only/linux/driver.c:1989: error: 'struct task_struct' has no member named 'gid'
/root/tmp/vmware-root/modules/vmmon-only/linux/driver.c:1990: error: 'struct task_struct' has no member named 'fsgid'
/root/tmp/vmware-root/modules/vmmon-only/linux/driver.c:1990: error: 'struct task_struct' has no member named 'gid'
/root/tmp/vmware-root/modules/vmmon-only/linux/driver.c:2007: error: too many arguments to function 'smp_call_function'
make[2]: *** [/root/tmp/vmware-root/modules/vmmon-only/linux/driver.o] Error 1
make[1]: *** [_module_/root/tmp/vmware-root/modules/vmmon-only] Error 2
make: *** [vmmon.ko] Error 2
Note that on this first attempt some modules were not built. My installer then went through a bunch of other steps and then tried again to compile the modules - and it succeeded and installed them.
In comparison, yours is not even trying to compile. This suggests that there is a problem in your build environment. Missing kernel headers, missing kernel sources, missing GCC environment... something.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.