Tag Archives: VMware

VMware: vmw_ ioctl_ Command error invalid parameter [How to Solve]

(1) First, run: roscore & rosrun gazebo_ros gazebo  Or terminal directly enter: gazebo;

(2) Error reporting: vmw_ioctl_Command error invalid parameter

Solution: write export SVGA in ~ /.Bashrc file_Vgpu10 = 0, i.e.

$ echo "export SVGA_VGPU10=0" >> ~/.bashrc

Then turn off the terminal and re-enter(1), the following may appear:

In this case, turn off the terminal, reopen the terminal and input it several times: gazebo.

VCSA web access error 503 Service Unavailable

Problem Description:

VCSA running well suddenly cannot be accessed, and the web page reports an error:
503 service unavailable (failed to connect to endpoint: [[n7vmacore4http16localservicespec: 0x00005649e04415e0] _servernamespace =/_isredirect = false _pipename =/var/run/VMware/vpxd webserver pipe)


Cause analysis:

https://kb-uat.vmware.com/s/article/67818?lang=zh_cn

The reasons I often encounter are:

    vCenter server appliance (VCSA) high virtual disk space (76563) check the expiration date of the certificate on vCenter server (79248/82332) vSphere vxpd service of VCSA is abnormal and does not operate normally;


    Solution:

    1、 VCenter server appliance (VCSA) high virtual disk space (76563)

    https://kb-uat.vmware.com/s/article/76563?lang=zh_cn

      log in to the vCenter server appliance as root through SSH or through the vCenter virtual machine console to find out which partitions are full;

      df -h
      

      Run the following command to find partitions that are 85% full or higher:

      df -h |awk '0+$5 >= 85 {print}'
      

      Find large log files and delete them if they are useless. Note: *. Tgz files are archived log package files and can be removed.

      find /storage/log -type f -size +100M
      

    2、 Check the expiration date of the certificate on the vCenter server (79248/82332)

    https://kb.vmware.com/s/article/79248?lang=zh_ cn
    https://kb-uat.vmware.com/s/article/82332

    The expiration of this certificate is often encountered on vcsa6.0, because the STS certificate of vcsa6.0 generally expires in 2 years. It is very difficult to hang up as soon as it expires. Encountered two or three times. According to the official KB, I failed to handle it successfully once. I don’t understand why ~. Finally, the toss is to redeploy the VCSA, which is faster and easier (provided that there are fewer managed hosts on your VCSA, and it’s not troublesome to add it again)
    however, this problem has not been encountered in vcsa6.5 and above. If you encounter it, please refer to the official KB.

    3、 VSphere vxpd service of VCSA is abnormal and is not running normally

    In the past, I deployed VCSA myself as “vCenter server with an embedded platform services controller”, and then encountered 503 errors. VCSA also looked at the space utilization and vSphere client services, but vSphere vxpd services couldn’t work. After a closer look, I found that the VCSA architecture was “vCenter server with an external platform services controller”, There is also a separate platform services controller virtual machine. It is suspected that there is a problem with the PSC, but the root password is not known, so it can only be forcibly restarted. Due to abnormal shutdown, the startup enters the emergency rescue mode,
    prompt failed to start system check on/dev/disk/by partuuid/* * *
    backhand is one

    fsck /dev/disk/by-partuuid/***
    

    Restart it again, start it normally, return to VCSA and restart all services

    service-control --stop --all
    service-control --start --all
    

    So far, VCSA has finally been accessed normally.

VMware imports an external virtual machine and displays system error: (unknown exception). Wrong solution

Problem Description:  

When VMware Workstation imports an external virtual machine, everything is normal at first.

However, this error is displayed every time the progress bar is imported to about half of the time.


Cause analysis:  

I looked around the Internet and didn’t find the same mistake.

I thought it was a disk space problem, but I still couldn’t change several disks; Then I checked the log and found nothing.

One possibility is that when I download the virtual machine on the Internet, half of the download is disconnected, resulting in incomplete download or errors of the virtual machine. There is a problem with the virtual machine itself, so an error is displayed when importing.


Solution:

Download the virtual machine again, keep the network unobstructed during the download process, and then import it. The problem can be solved.

(when downloading large files in the future, you must ensure the smoothness of the network)

Error reported by nested installation esxi host in vsan environment

preface

In the simulation vsan experiment in the physical vsan environment, an error will be reported when installing the esxi host. You need to modify the default parameters of the host. CAI can install it.

Modify parameters

The following commands need to be executed on each physical host. After execution, the esxi server needs to be restarted to take effect.

esxcli system settings advanced set -o /VSAN/FakeSCSIReservations -i 1

g++: internal compiler error: Killed (program cc1plus) Please submit a full bug report, with preprocess

In./build.py   When I met a mistake:


G + +: internal compiler error: program cc1plus please submit a full bug report, with preprocessed source if appropriate

See < file:///usr/share/doc/gcc-7/README.Bugs> for instructions.   Waf: Leaving directory `/home/d/tarballs/ns-allinone-3.28/ns-3.28/build’


The reason is that there is not enough memory. After reading many problems solved by inputting the command line, we failed to solve them. Later, we found that it is OK to directly expand the memory outside the virtual machine

1. Open virtual machine settings

2. This virtual machine needs more memory

3. Then open the virtual machine build

Solution — windows 2012 installation Framework 3.5 in VMWare

Solution – Windows 2012 installation Framework 3.5 in VMWare

Mount the system image
, open the server manager, click “add roles or functions”
next
next
next
do not need to operate here, directly next
check Framework 3.5 here, and then next
click specify alternate source path option
A289885427 here you need to fill in the alternate source path
open the mounted system image, enter the specified location, copy the path
fill in the alternate source path, confirm, and then click Install
to start the installation, wait for the installation to complete
to finish the installation, and then close VMware.

VMware virtual machine installation of vmware tools, VMware shared folder location

VMware Virtual Machine installs VMware Tools, VMware shared folder location
The default shared path for VMware ToolsvMware is at/MNT/HGFS

VMware Virtual Machine installs VMware Tools

yum -y Update
m -y Install Net-Tools perl GCC GCC C ++ kernel-headers kernel-devel
When the update is complete, restart the server
reboot
Click
virtual machine (M)-> on the virtual machine screen; Install the VMware Tools
mkdir -p /home
mkdir /mnt/cdrom
mount /dev/cdrom /mnt/cdrom
Cp/MNT/cdrom/VMwareTools – 10.3.2-9925305. The tar. Gz/home
CD /home
tar ZXVF vmwaretools-10.3.2-9925305.tar.gz
vmware-tools-distrib
CD vmware-tools-distrib
./vmware-install.pl
Just keep hitting enter,
Restart CentOS when done
Once installed, the HGFS directory is automatically created under/MNT
The default shared path for VMware is at/MNT/HGFS
If the shared/MNT/HGFS file is still not found, reinstall the VMware Tools

Solutions to the problem of unable to locate package

When installing Ubuntu12.04, the VMware Player will be installed.
Unable to locate package error: Unable to locate package error: Unable to locate package

sudo apt-get update

The reason should be that the software source has not been updated, so it can not find the package. I suspect this problem is also likely to occur after the software source is changed.