/var/run/libvirt/virtlogd-sock': No such file or directory
发布日期:2021-09-16 04:37:04 浏览次数:2 分类:技术文章

本文共 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 如侵犯您的版权,请留言回复原文章的地址,我们会给您删除此文章,给您带来不便请您谅解!

上一篇:should be described in NUMA config 和 CPU feature cmt not found
下一篇:无法直接从VM中删除vCPU, 但您可以通过关闭VM后再删除vCPU;

发表评论

最新留言

网站不错 人气很旺了 加油
[***.192.178.218]2024年03月01日 21时45分46秒

关于作者

    喝酒易醉,品茶养心,人生如梦,品茶悟道,何以解忧?唯有杜康!
-- 愿君每日到此一游!

推荐文章