本文共 1233 字,大约阅读时间需要 4 分钟。
启动实例报错,说是没有 virtlogd-sock,奇了怪,这个是什么服务
[root@nova02 a9a2bb9b-5e7b-469f-b641-543a3153c9c3]# virsh start instance-0000023eerror: Failed to start domain instance-0000023eerror: Failed to connect socket to '/var/run/libvirt/virtlogd-sock': No such file or directory
这个问题是因为在libvirtd.service在起来的时间, virtlogd.socket没有随之起来
手动启动virtlogd服务# systemctl start virtlogd.socket
这个socker文件路径是 : /var/run/libvirt/virtlogd-sock ,这样vm可以启动了
virtlogd man page
virtlogd — libvirt log management daemon libvirt 日志管理后台服务
Synopsis
virtlogd [OPTION]...
Description
The virtlogd program is a server side daemon component of the libvirt virtualization management system that is used to manage logs from virtual machine consoles.
This daemon is not used directly by libvirt client applications, rather it is called on their behalf by libvirtd. By maintaining the logs in a standalone daemon, the main libvirtd daemon can be restarted without risk of losing logs. The virtlogd daemon has the ability to re-exec() itself upon receiving SIGUSR1, to allow live upgrades without downtime.
The virtlogd daemon listens for requests on a local Unix domain socket.
看官方介绍是一个用来管理vm consoles的一个组件,同时为了保证libvirtd在重启的时候保证日志不丢失。
相关网站:
openstack竟然也支持 virtlogd了,感觉太神奇了.
转载地址:https://blog.csdn.net/wllabs/article/details/77978838 如侵犯您的版权,请留言回复原文章的地址,我们会给您删除此文章,给您带来不便请您谅解!