LZ installing archlinux with virtualbox. Archwiki installing
according to the official document to execute (before executing the command, it is better to go to /etc/pacman.d/mirrorlist to change a faster source to copy the following Server template, change the middle http://mirrors.163.com/ after the same as the template)
pacstrap -i /mnt base base-devel
will throw an error
after executing this command
Errors occured, no packages were upgraded.
⇒ ERROR: Failed to install packages to new root.
after all kinds of methods can not be solved (all are all kinds of post bar big hand reply, today suddenly noticed is someone answered the correct method, there is a solution in pacman, did not see.) The second page to find a solution, of course, this method may not be universal, but also post bar reply method only for I did not
the solution is as follows, execute the command
pacman-key --refresh-keys
官方文档如下(不愧是archwiki) p>
注意:archlinux-keyring包是pacman的一个依赖项,它包含最新的密钥。但是,也可以使用pac -key -refresh-keys(作为根用户)手动更新密钥。在执行-refresh-keys时,您的本地密钥也将在远程keyserver上查找,并且您将收到一条关于未找到该密钥的消息。这没什么可担心的
引用>好的,问题解决。重新执行 p>
pacstrap -i /mnt base base-devel
div>
Failed to add /run/systemd/ask-password to directory watch: No space left on device?
cloud server after docker is installed successfully, enter the start command:
sudo service docker start
system threw an exception: Failed to add /run/systemd/ask-password to directory watch: No space left on device
check the server space usage and find that it is not a server space problem. Upon examination, it was found that the following method could be used:
for immediate effect: add monitoring space
on the command line
sudo -i
echo 1048576 > /proc/sys/fs/inotify/max_user_watches
exit
or you can modify the configuration file to make monitoring long term:
sudo vim /etc/sysctl.conf
and then add:
to the end of the file
fs.inotify.max_user_watches=1048576
save and exit, and then enter the start docker command.
“Failed to find entry for user…” appears when Linux uses samba
The following error occurred today when installing Samba to add users and using Smbpasswd to generate the password:
[email protected] / backup $the smbpasswd test
New SMB password:
Retype new SMB password:
Failed to find entry for user test.
Failed to modify password entry for user test
Note that there is no such user, please use the -a parameter
OPTIONS
-a
This option specifies that the username following should be added to the local smbpasswd file, with the new
password typed (type <enter> for the old password). This option is ignored if the username following</enter>
already exists in the smbpasswd file and it is treated like a regular change password command. Note that
the default passdb backends require the user to already exist in the system password file (usually
/etc/passwd), else the request to add the user will fail.
This option is only available when running smbpasswd as root.
Solutions:
Add parameter ‘-a’ :
# smbpasswd-a user
CentOS Basic XLib functionality test failed!
qt4 installed under CentOS./configure, error:
Basic XLib functionality test failed! You might need to modify the include and library search paths by editing…
yum install libX11-devel libXext-devel libXtst-devel
p>
div>
[problem solving] Error:failed to get canonical path of /cow
this blog runs in Ubuntu18.04
problem description:
Error:failed to get canonical path of /cow
solution
use the recovery software boot-repair(after installing the Chinese system, look for “boot repair” in Dash) :
we need to use the system CD or U disk to enter the system, and then click “Try Ubuntu”
to install boot-repair, you need to add Ubuntu’s boot-repair PPA source and update the apt library.
sudo add-apt-repository ppa:yannubuntu/boot-repair && sudo apt-get update
Cannot add PPA if the error is reported… , can see: https://blog.csdn.net/weixin_44436677/article/details/107133371 p>
below is the installation:
sudo apt-get install -y boot-repair
use boot-repair to repair:
use boot-repair
on the command line or click open in Dash, and then fix automatically in the software window or select advanced mode to set accordingly.
, wait a little, and restart.
Top background execution: Top: failed TTY get error
call the top command in non-interactive mode through other programs or scripts, often appear :
top: failed tty get error
solution: add the -b option to either
-b: Batch mode operation
Starts top in < A1> < AF> Batch mode< A1> < AF> You< which could be useful for sending output from top to other programs or to a file. In this mode, top will not accept input and runs until the iterations limit you< A1> < AF> ve set with the < A1> < AF> -n< A1> < AF> command-line option or until killed.
for example: top-bn 1
nohup top-b | grep init > > top.log & (Top. Log content is displayed slowly)
nohup /usr/bin/top -b | grep init > > top.log & (top. Log content appears fast)
“Failed to find entry for user…” appears when Samba is used
[root@localhost samba]# smbpasswd samba
新SMB密码:
重新键入新SMB密码:
找不到用户samba的条目。
解决方法,加参数“——”: p>
# smbpasswd – oracle
新SMB密码:新增用户samba
div>
VirtualBox problem solving set -[drm:vmw_host_log [vmwgfx]] *ERROR* Failed to send host log message
environment description:
virtual machine: VirtualBox version 6.0.14 r133895 (Qt5.6.2)
virtual machine: Ubuntu 18.04 LTS
problem description: [DRM :vmw_host_log [VMWGFX]] ERROR Failed to send host log message
screenshot:
solution:
- shut down the target system;
- VirtualBox main panel, select the virtual machine to be modified on the left, click “Settings” on the right;
- Settings page, click “display” on the left, select “screen” on the top right, select “video card controller” on the bottom, and select VBoxVGA;
- Start the target system, but you can find that there are no more prompts.
To solve the problem of “failed to load vmmr0. R0” (Verr) of VirtualBox under Mac OS X_ SUPLIB_ WORLD_ Writable) “error
on a MAC will prompt
when starting with VirtualBox
“Failed to load VMMR0. R0 (VERR_SUPLIB_WORLD_WRITABLE)” error
is also to see a foreigner’s post just know that the original can be modified by permission to solve
so it’s up here for a record
solution:
#sudo chmod 755 /Applications #sudo chmod 755 /Applications/Virtualbox.app
p>
div>
Edit the file to be edited by GEDIT. After saving, the warning set document metadata failed: setting attribute metadata:: GEDIT position no appears
Set document metadata failed: Setting attribute metadata::gedit-position no
my case is as follows:
about this situation can see: https://askubuntu.com/questions/798935/set-document-metadata-failed-when-i-run-sudo-gedit p>
the blog’s solution is that this is just a warning, just ignore it.
virtualbox Failed to load VMMR0.r0 (VERR_SUPLIB_OWNER_NOT_ROOT)
Failed to load VMMR0. R0 (VERR_SUPLIB_OWNER_NOT_ROOT).
return code :
NS_ERROR_FAILURE (0x80004005)
component :
Console
interface :
IConsole
ls-l /
drwxr-xr-x 13 ABC test 4096 June 7 2012 usr
found /usr does not belong to root user
solution:
sudo chown root:root /usr/
if it still doesn’t work, check again whether /usr/lib belongs to root and solve with the above method.
Implementation of the USB 2.0 controller not found!
Because the USB 2.0 controller state is part of the saved VM state, the VM cannot be started. To fix this problem, Either install the ‘Oracle VM VirtualBox Extension Pack’ or disable USB 2.0 support in the VM Settings (VERR_NOT_FOUND).
solution install VirtualBox Extension Pack
Download http://download.virtualbox.org/virtualbox/
Oracle VM VirtualBox Extension Pack
VBoxGuestAdditions
the two packages
I install VirtualBox 4.3.20, select download 4.3.20
installation:
VBoxManage extpack Install oracle_vm_extension_pack-4.3.20. Vbox-extpack
virtual machine — device — allocate optical drive — select an optical drive to select the downloaded VBoxGuestAdditions_4.3.20. Iso, the installation will start automatically
sudo modprobe vboxdrv
if it still doesn’t work, check if it’s installed kernel-devel if not, install it
p>
p>
zengming@linux-eshv:~> Sudo/etc/init. D/vboxdrv setup span>
Recompiling VirtualBox kernel module, NOT. It has had said.
done
span>
zengming@linux-eshv:~> sudo /etc/init.d/vboxdrv restart
redirecting to systemctl restart vboxdrv. Service
Failed to restart vboxdrv.service: Unit vboxdrv.service failed to load: No to the file or directory.// this error may be DKMS is not installed, installed DKMS
author: too handsome to go out programmer: 31843264
Transport (VMDB) error -44: Message.
on May 4, 2016 23:47:43 span> strong> p>
p> span> p>
Transport (VMDB) error-44: Message.
The VMware Authorization Service is not running. span strong>
note: virtual machine haven’t started, a service span> strong> p>
solution: Window+R, open and run –> Services. MSC “enter span> strong> p>
VMware Authorization Service will be
if you find VMware Authorization Service