Fedora33安装VMWare报Rolling back VMware USB Arbitrator
从VMWare官网下载.bundle文件安装
若是.bundle文件安装成功后,点击VMWare图标启动时报vmmon和vmnet问题,属VMWare的Linux版通病bug,VMware15时候就有,VMware16时候还遗留着,不过有解决方案,请自行搜索“vmware-host-modules mkubecek”,感谢mkubecek大神
我此处遇到的问题为
[root@localhost chrome]# cd ~
[root@localhost ~]# ./VMware-Workstation-Full-16.0.0-16894299.x86_64.bundle
Extracting VMware Installer...done.
Rolling back VMware USB Arbitrator 19.9.0
Deconfiguring...
Uninstalling VMware Installer 3.0.0
Deconfiguring... [######################################################################] 100%
Installation was unsuccessful.
我这安装VMware时有两块日志,/var/log/vmware-installer和/var/log/vmware/vmware-usbarb-*.log,运行几次安装就会产生几个vmware-usbarb-*.log。
不想看日志报错是否相似,想直接尝试解决办法的话,使劲往下拉。
查看俩日志:
查看/var/log/vmware-installer
[2020-11-17 13:37:20,101]
[2020-11-17 13:37:20,101]
[2020-11-17 13:37:20,101] Installer running.
[2020-11-17 13:37:20,101] Command Line Arguments:
[2020-11-17 13:37:20,101] ['/tmp/vmis.M1xcXf/install/vmware-installer/vmware-installer.py', '--set-setting', 'vmware-installer', 'libconf', '', '--install-component', '/tmp/vmis.M1xcXf/install/vmware-installer', '--install-bundle', '/root/./VMware-Workstation-Full-16.0.0-16894299.x86_64.bundle', '']
[2020-11-17 13:37:20,135] System installer version is: 3.0.0.16894299
[2020-11-17 13:37:20,135] Running installer version is: 3.0.0.16894299
[2020-11-17 13:37:20,135] Opening database file /etc/vmware-installer/database
[2020-11-17 13:37:20,264] Could not locate installer App Control.
[2020-11-17 13:37:20,322] destination /tmp/tmp56ii9099/.installer/16.0.0/include/initscript.py already exists, overwriting.
[2020-11-17 13:37:20,323] destination /tmp/tmp56ii9099/.installer/16.0.0/include/update.py already exists, overwriting.
[2020-11-17 13:37:20,323] destination /tmp/tmp56ii9099/.installer/16.0.0/init.py already exists, overwriting.
[2020-11-17 13:37:20,324] destination /tmp/tmp56ii9099/.installer/16.0.0/include/systemType.py already exists, overwriting.
[2020-11-17 13:37:20,324] destination /tmp/tmp56ii9099/.installer/16.0.0/include/versions.py already exists, overwriting.
[2020-11-17 13:37:20,328] destination /tmp/tmp56ii9099/.installer/16.0.0/include/update.py already exists, overwriting.
[2020-11-17 13:37:20,328] destination /tmp/tmp56ii9099/.installer/16.0.0/init.py already exists, overwriting.
[2020-11-17 13:37:20,329] destination /tmp/tmp56ii9099/.installer/16.0.0/include/initscript.py already exists, overwriting.
[2020-11-17 13:37:20,329] destination /tmp/tmp56ii9099/.installer/16.0.0/include/versions.py already exists, overwriting.
[2020-11-17 13:37:20,330] destination /tmp/tmp56ii9099/.installer/16.0.0/include/systemType.py already exists, overwriting.
[2020-11-17 13:37:20,361] Kernel release string 5.10.0-0.rc3.20201112git3d5e28bff7ad.73.vanilla.1.fc33.x86_64
[2020-11-17 13:37:20,362] Found Linux kernel version (5, 10, 0)
[2020-11-17 13:37:20,367] Glibc brand string ldd (GNU libc) 2.32
[2020-11-17 13:37:20,368] Found glibc version (2, 32)
[2020-11-17 13:37:20,379] destination /tmp/tmp56ii9099/.installer/11.1.5/include/update.py already exists, overwriting.
[2020-11-17 13:37:20,380] destination /tmp/tmp56ii9099/.installer/11.1.5/init.py already exists, overwriting.
[2020-11-17 13:37:20,380] destination /tmp/tmp56ii9099/.installer/11.1.5/include/initscript.py already exists, overwriting.
[2020-11-17 13:37:20,380] destination /tmp/tmp56ii9099/.installer/11.1.5/include/versions.py already exists, overwriting.
[2020-11-17 13:37:20,381] destination /tmp/tmp56ii9099/.installer/11.1.5/include/systemType.py already exists, overwriting.
[2020-11-17 13:37:20,385] destination /tmp/tmp56ii9099/.installer/11.1.5/init.py already exists, overwriting.
[2020-11-17 13:37:20,385] destination /tmp/tmp56ii9099/.installer/11.1.5/include/versions.py already exists, overwriting.
[2020-11-17 13:37:20,386] destination /tmp/tmp56ii9099/.installer/11.1.5/include/update.py already exists, overwriting.
[2020-11-17 13:37:20,386] destination /tmp/tmp56ii9099/.installer/11.1.5/include/initscript.py already exists, overwriting.
[2020-11-17 13:37:20,387] destination /tmp/tmp56ii9099/.installer/11.1.5/include/systemType.py already exists, overwriting.
[2020-11-17 13:37:20,390] destination /tmp/tmp56ii9099/.installer/11.1.5/include/initscript.py already exists, overwriting.
[2020-11-17 13:37:20,391] destination /tmp/tmp56ii9099/.installer/11.1.5/include/versions.py already exists, overwriting.
[2020-11-17 13:37:20,391] destination /tmp/tmp56ii9099/.installer/11.1.5/include/systemType.py already exists, overwriting.
[2020-11-17 13:37:20,392] destination /tmp/tmp56ii9099/.installer/11.1.5/include/update.py already exists, overwriting.
[2020-11-17 13:37:20,392] destination /tmp/tmp56ii9099/.installer/11.1.5/init.py already exists, overwriting.
[2020-11-17 13:37:20,395] destination /tmp/tmp56ii9099/.installer/11.1.5/include/systemType.py already exists, overwriting.
[2020-11-17 13:37:20,396] destination /tmp/tmp56ii9099/.installer/11.1.5/include/update.py already exists, overwriting.
[2020-11-17 13:37:20,396] destination /tmp/tmp56ii9099/.installer/11.1.5/include/versions.py already exists, overwriting.
[2020-11-17 13:37:20,397] destination /tmp/tmp56ii9099/.installer/11.1.5/include/initscript.py already exists, overwriting.
[2020-11-17 13:37:20,397] destination /tmp/tmp56ii9099/.installer/11.1.5/init.py already exists, overwriting.
[2020-11-17 13:37:20,401] destination /tmp/tmp56ii9099/.installer/11.1.5/include/update.py already exists, overwriting.
[2020-11-17 13:37:20,401] destination /tmp/tmp56ii9099/.installer/11.1.5/include/initscript.py already exists, overwriting.
[2020-11-17 13:37:20,402] destination /tmp/tmp56ii9099/.installer/11.1.5/init.py already exists, overwriting.
[2020-11-17 13:37:20,402] destination /tmp/tmp56ii9099/.installer/11.1.5/include/systemType.py already exists, overwriting.
[2020-11-17 13:37:20,403] destination /tmp/tmp56ii9099/.installer/11.1.5/include/versions.py already exists, overwriting.
[2020-11-17 13:37:20,406] destination /tmp/tmp56ii9099/.installer/11.1.5/include/update.py already exists, overwriting.
[2020-11-17 13:37:20,407] destination /tmp/tmp56ii9099/.installer/11.1.5/init.py already exists, overwriting.
[2020-11-17 13:37:20,407] destination /tmp/tmp56ii9099/.installer/11.1.5/include/systemType.py already exists, overwriting.
[2020-11-17 13:37:20,407] destination /tmp/tmp56ii9099/.installer/11.1.5/include/versions.py already exists, overwriting.
[2020-11-17 13:37:20,408] destination /tmp/tmp56ii9099/.installer/11.1.5/include/initscript.py already exists, overwriting.
[2020-11-17 13:37:20,411] destination /tmp/tmp56ii9099/.installer/16.0.0/include/update.py already exists, overwriting.
[2020-11-17 13:37:20,413] destination /tmp/tmp56ii9099/.installer/16.0.0/init.py already exists, overwriting.
[2020-11-17 13:37:20,413] destination /tmp/tmp56ii9099/.installer/16.0.0/include/versions.py already exists, overwriting.
[2020-11-17 13:37:20,413] destination /tmp/tmp56ii9099/.installer/16.0.0/include/systemType.py already exists, overwriting.
[2020-11-17 13:37:20,414] destination /tmp/tmp56ii9099/.installer/16.0.0/include/initscript.py already exists, overwriting.
[2020-11-17 13:37:20,430] destination /tmp/tmp56ii9099/.installer/16.0.0/include/versions.py already exists, overwriting.
[2020-11-17 13:37:20,431] destination /tmp/tmp56ii9099/.installer/16.0.0/init.py already exists, overwriting.
[2020-11-17 13:37:20,431] destination /tmp/tmp56ii9099/.installer/16.0.0/include/initscript.py already exists, overwriting.
[2020-11-17 13:37:20,431] destination /tmp/tmp56ii9099/.installer/16.0.0/include/systemType.py already exists, overwriting.
[2020-11-17 13:37:20,432] destination /tmp/tmp56ii9099/.installer/16.0.0/include/update.py already exists, overwriting.
[2020-11-17 13:37:20,441] destination /tmp/tmp56ii9099/.installer/1.17.0/include/initscript.py already exists, overwriting.
[2020-11-17 13:37:20,442] destination /tmp/tmp56ii9099/.installer/1.17.0/include/update.py already exists, overwriting.
[2020-11-17 13:37:20,442] destination /tmp/tmp56ii9099/.installer/1.17.0/init.py already exists, overwriting.
[2020-11-17 13:37:20,443] destination /tmp/tmp56ii9099/.installer/1.17.0/include/systemType.py already exists, overwriting.
[2020-11-17 13:37:20,443] destination /tmp/tmp56ii9099/.installer/1.17.0/include/versions.py already exists, overwriting.
[2020-11-17 13:37:20,446] destination /tmp/tmp56ii9099/.installer/16.0.0/init.py already exists, overwriting.
[2020-11-17 13:37:20,446] destination /tmp/tmp56ii9099/.installer/16.0.0/include/update.py already exists, overwriting.
[2020-11-17 13:37:20,447] destination /tmp/tmp56ii9099/.installer/16.0.0/include/initscript.py already exists, overwriting.
[2020-11-17 13:37:20,447] destination /tmp/tmp56ii9099/.installer/16.0.0/include/systemType.py already exists, overwriting.
[2020-11-17 13:37:20,447] destination /tmp/tmp56ii9099/.installer/16.0.0/include/versions.py already exists, overwriting.
[2020-11-17 13:37:20,452] destination /tmp/tmp56ii9099/.installer/16.0.0/init.py already exists, overwriting.
[2020-11-17 13:37:20,452] destination /tmp/tmp56ii9099/.installer/16.0.0/include/versions.py already exists, overwriting.
[2020-11-17 13:37:20,453] destination /tmp/tmp56ii9099/.installer/16.0.0/include/update.py already exists, overwriting.
[2020-11-17 13:37:20,453] destination /tmp/tmp56ii9099/.installer/16.0.0/include/systemType.py already exists, overwriting
.[2020-11-17 13:37:20,453] destination /tmp/tmp56ii9099/.installer/16.0.0/include/initscript.py already exists, overwriting.
[2020-11-17 13:37:20,459] destination /tmp/tmp56ii9099/.installer/16.0.0/init.py already exists, overwriting.
[2020-11-17 13:37:20,459] destination /tmp/tmp56ii9099/.installer/16.0.0/include/versions.py already exists, overwriting.
[2020-11-17 13:37:20,460] destination /tmp/tmp56ii9099/.installer/16.0.0/vmware-workstation.py already exists, overwriting.
[2020-11-17 13:37:20,460] destination /tmp/tmp56ii9099/.installer/16.0.0/include/update.py already exists, overwriting.
[2020-11-17 13:37:20,461] destination /tmp/tmp56ii9099/.installer/16.0.0/include/systemType.py already exists, overwriting.
[2020-11-17 13:37:20,461] destination /tmp/tmp56ii9099/.installer/16.0.0/include/initscript.py already exists, overwriting.
[2020-11-17 13:37:20,487] b'Not running in a virtual machine.\n'
[2020-11-17 13:37:20,487] b''
[2020-11-17 13:37:20,490] Running on a real machine!
[2020-11-17 13:37:20,512] b'524288\n'
[2020-11-17 13:37:20,513] b''
[2020-11-17 13:37:20,514] Cannot use vmware-app-control to shut down open VMs, defaulting to fallback message.
[2020-11-17 13:37:20,516] Ignored execution error: [Errno 2] No such file or directory: '/etc/rc.d/init.d/vmware' when running command: [path('/etc/rc.d/init.d/vmware'), 'stoppable']
[2020-11-17 13:37:20,572] b''
[2020-11-17 13:37:20,572] b''
[2020-11-17 13:37:20,830] This system has KVM enabled. You cannot run VMs with KVM enabled.
[2020-11-17 13:37:36,802] Traceback (most recent call last):
File "/tmp/vmis.M1xcXf/install/vmware-installer/vmis/db.py", line 31, in decorator return func(*args, **kwargs)
File "/tmp/vmis.M1xcXf/install/vmware-installer/vmis/db.py", line 478, in Add cur = self._db.execute(statement, (path, mtime, fileType, component))
File "/tmp/vmis.M1xcXf/install/vmware-installer/vmis/db.py", line 233, in execute return self._db.execute(query, args)
sqlite3.IntegrityError: UNIQUE constraint failed: files.path
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/tmp/vmis.M1xcXf/install/vmware-installer/vmis/core/remoteinstaller.py", line 301, in MessageIn ret = method(*args, **kwargs)
File "/tmp/vmis.M1xcXf/install/vmware-installer/vmis/core/installer.py", line 399, in RegisterFile return self.proxyObject.RegisterFile(filename, mtime=mtime, fileType=fileType)
File "/tmp/vmis.M1xcXf/install/vmware-installer/vmis/core/localinstallerops.py", line 387, in RegisterFile db.files.Add(regfile, mtime, ftype, self._component.uid)
File "/tmp/vmis.M1xcXf/install/vmware-installer/vmis/db.py", line 33, in decorator raise IntegrityError(str(e))
vmis.core.errors.IntegrityError: UNIQUE constraint failed: files.path
[2020-11-17 13:37:36,802] [vmware-usbarbitrator 19.9.0] Installation failed, rolling back installation.
[2020-11-17 13:37:36,828] b'\x1b[71Gfailed\n'
[2020-11-17 13:37:36,828] b''
[2020-11-17 13:37:36,830] Unable to stop USB Arbitrator service.
[2020-11-17 13:37:36,833] Uninstalled Service: vmware-USBArbitrator
[2020-11-17 13:37:36,841] [vmware-usbarbitrator] /etc/vmware-installer/components/vmware-usbarbitrator/19.9.0/include/pycache/initscript.cpython-38.pyc did not exist
[2020-11-17 13:37:36,878] Top level exception handlerTraceback (most recent call last): File "/tmp/vmis.M1xcXf/install/vmware-installer/vmis/core/transaction.py", line 469, in RunThreadedTransaction txn.Run() File "/tmp/vmis.M1xcXf/install/vmware-installer/vmis/core/transaction.py", line 78, in Run self.get()() File "/tmp/vmis.M1xcXf/install/vmware-installer/vmis/core/common.py", line 141, in Show wrap(i.PostInstall, txn.opts['ignoreErrors']) File "/tmp/vmis.M1xcXf/install/vmware-installer/vmis/util/init.py", line 26, in wrap func(*args, kwargs) File "/tmp/vmis.M1xcXf/install/vmware-installer/vmis/core/install.py", line 346, in PostInstall self._installer.PostInstall(self.args) File "/tmp/vmis.M1xcXf/install/vmware-installer/vmis/core/remoteinstaller.py", line 161, in PostInstall return self.MessageOut(self.whoami(), old, new, upgrade) File "/tmp/vmis.M1xcXf/install/vmware-installer/vmis/core/remoteinstaller.py", line 433, in MessageOut raise execType(excepValue)vmis.core.errors.IntegrityError: VMIS:UNIQUE constraint failed: files.path
[2020-11-17 13:37:36,907] destination /tmp/tmp56ii9099/.installer/16.0.0/init.py already exists, overwriting.
[2020-11-17 13:37:36,907] destination /tmp/tmp56ii9099/.installer/16.0.0/include/versions.py already exists, overwriting.
[2020-11-17 13:37:36,907] destination /tmp/tmp56ii9099/.installer/16.0.0/vmware-workstation.py already exists, overwriting.
[2020-11-17 13:37:36,908] destination /tmp/tmp56ii9099/.installer/16.0.0/include/update.py already exists, overwriting.
[2020-11-17 13:37:36,908] destination /tmp/tmp56ii9099/.installer/16.0.0/include/systemType.py already exists, overwriting.
[2020-11-17 13:37:36,909] destination /tmp/tmp56ii9099/.installer/16.0.0/include/initscript.py already exists, overwriting.
查看vmware-usbarb-*.log
2020-11-17T13:37:36.824+08:00| usbArb| I005: Log for VMware USB Arbitration Service pid=10045 version=e.x.p build=build-16739231 option=Release
2020-11-17T13:37:36.824+08:00| usbArb| I005: The host is 64-bit.
2020-11-17T13:37:36.824+08:00| usbArb| I005: Host codepage=UTF-8 encoding=UTF-8
2020-11-17T13:37:36.824+08:00| usbArb| I005: Host is Linux 5.10.0-0.rc3.20201112git3d5e28bff7ad.73.vanilla.1.fc33.x86_64 Fedora 33 (Thirty Three) Fedora 33
2020-11-17T13:37:36.824+08:00| usbArb| I005: VTHREAD 140104231375744 "usbArb" tid 10045
2020-11-17T13:37:36.824+08:00| usbArb| I005: DictionaryLoad: Cannot open file "/etc/vmware/config": No such file or directory.
2020-11-17T13:37:36.824+08:00| usbArb| I005: [msg.dictionary.load.openFailed] Cannot open file "/etc/vmware/config": No such file or directory.
2020-11-17T13:37:36.824+08:00| usbArb| I005: PREF Optional preferences file not found at /etc/vmware/config. Using default values.
2020-11-17T13:37:36.824+08:00| usbArb| I005: DictionaryLoad: Cannot open file "/usr/lib/vmware/settings": No such file or directory.
2020-11-17T13:37:36.824+08:00| usbArb| I005: [msg.dictionary.load.openFailed] Cannot open file "/usr/lib/vmware/settings": No such file or directory.
2020-11-17T13:37:36.824+08:00| usbArb| I005: PREF Optional preferences file not found at /usr/lib/vmware/settings. Using default values.
2020-11-17T13:37:36.824+08:00| usbArb| I005: DictionaryLoad: Cannot open file "/usr/lib/vmware/config": No such file or directory.
2020-11-17T13:37:36.824+08:00| usbArb| I005: [msg.dictionary.load.openFailed] Cannot open file "/usr/lib/vmware/config": No such file or directory.
2020-11-17T13:37:36.824+08:00| usbArb| I005: PREF Optional preferences file not found at /usr/lib/vmware/config. Using default values.
2020-11-17T13:37:36.826+08:00| usbArb| I005: DICT --- GLOBAL SETTINGS /usr/lib/vmware/settings
2020-11-17T13:37:36.826+08:00| usbArb| I005: DICT --- NON PERSISTENT (null)
2020-11-17T13:37:36.826+08:00| usbArb| I005: DICT --- HOST DEFAULTS /etc/vmware/config
2020-11-17T13:37:36.826+08:00| usbArb| I005: DICT --- SITE DEFAULTS /usr/lib/vmware/config
2020-11-17T13:37:36.826+08:00| usbArb| I005: VMware USB Arbitration Service Version 19.9.0
2020-11-17T13:37:36.826+08:00| usbArb| I005: USBArb: Attempting to connect to existing arbitrator on /var/run/vmware/usbarbitrator-socket.
2020-11-17T13:37:36.826+08:00| usbArb| I005: SOCKET creating new socket, connecting to /var/run/vmware/usbarbitrator-socket
2020-11-17T13:37:36.826+08:00| usbArb| I005: SOCKET connect failed, error 2: No such file or directory
2020-11-17T13:37:36.826+08:00| usbArb| I005: USBArb: No other USB arbitrator instance is currently running.
2020-11-17T13:37:36.826+08:00| usbArb| W003: USBArb: usb-arbitrator exit with error: 1
百度半天也没找到解决办法,谷狗去,发现解决方案
感谢loungehostmaste
在VMware的bundle文件的同目录,建立脚本,或者你自己随意决定sh脚本和bundle文件的位置都写绝对路径应该也行。
[root@localhost ~]# nano vmware-installer-wrapper.sh
脚本内容:
#!/usr/bin/bash
export LC_ALL=C
export LANG=C
bash $1 --ignore-errors
并用脚本安装,安装成功
[root@localhost ~]#
bash vmware-installer-wrapper.sh VMware-Workstation-Full-16.0.0-16894299.x86_64.bundle
结果:
Extracting
VMware Installer...done. Installing VMware Workstation 16.0.0 Configuring... [######################################################################] 100% Installation was successful.