gpt4 book ai didi

linux - 漏洞 : Varnish 4 install on CentOS 7 (systemctl)

转载 作者:太空宇宙 更新时间:2023-11-04 10:49:20 24 4
gpt4 key购买 nike

从 yum 安装 Varnish;但通过 systemctl 启动时会立即出错。

Jul 28 14:11:54 localhost.localdomain varnishd[6546]: .init_func = VGC_function_vcl_init,
Jul 28 14:11:54 localhost.localdomain varnishd[6546]: .fini_func = VGC_function_vcl_fini,
Jul 28 14:11:54 localhost.localdomain varnishd[6546]: };
Jul 28 14:11:54 localhost.localdomain varnishd[6557]: Assert error in main(), mgt/mgt_main.c line 686:
Jul 28 14:11:54 localhost.localdomain varnishd[6557]: Condition((daemon(1,0)) == 0) not true.
Jul 28 14:11:54 localhost.localdomain varnishd[6557]: errno = 19 (No such device)
Jul 28 14:11:54 localhost.localdomain systemd[1]: Failed to read PID from file /var/run/varnish.pid: Invalid argument
Jul 28 14:11:54 localhost.localdomain systemd[1]: varnish.service never wrote its PID file. Failing.
Jul 28 14:11:54 localhost.localdomain systemd[1]: Failed to start Varnish a high-perfomance HTTP accelerator.
Jul 28 14:11:54 localhost.localdomain systemd[1]: Unit varnish.service entered failed state.

SELinux 被禁用;软件包是通过 root 安装的。这是全新安装。

最佳答案

看来您需要重新启动。 ;)

关于linux - 漏洞 : Varnish 4 install on CentOS 7 (systemctl),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/31684133/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com