每次重启VPS时,Dnsmasq都无法启动。下面是关于它的日志。
Aug 22 18:14:51 debian dnsmasq[776]: dnsmasq: syntax check OK.
Aug 22 18:14:51 debian dnsmasq[798]: chown: invalid user: ‘dnsmasq:nogroup’
Aug 22 18:14:51 debian systemd[1]: dnsmasq.service: Control process exited, code=exited status=2
Aug 22 18:14:51 debian systemd[1]: Failed to start dnsmasq - A lightweight DHCP and caching DNS server.
Aug 22 18:14:51 debian systemd[1]: dnsmasq.service: Unit entered failed state.
Aug 22 18:14:51 debian systemd[1]: dnsmasq.service: Failed with result 'exit-code'.
我已经在/etc/dnsmasq.conf
文件中正确设置了用户名和组名。我尝试重新安装dnsmasq,然后它就起作用了。但在我重新启动VPS后,它无法再次启动。然后我必须重新安装...
因此,如果我想使用dnsmasq,我必须不重启我的VPS。但我想知道是什么导致了这种情况,以及如何一劳永逸地解决它。我的VPS系统是Debian 9,内核是4.9.0-7-amd64。
https://stackoverflow.com/questions/51976913
复制相似问题