知识库

记录共享技术内容

Ubuntu安装openntpd报错:Starting openntpd: /etc/openntpd/ntpd.conf: Permission denied

在Ubuntu 14.04安装 openntpd时报错:

Setting up openntpd (20080406p-7) ...
Starting openntpd: /etc/openntpd/ntpd.conf: Permission denied
invoke-rc.d: initscript openntpd, action "start" failed.
dpkg: error processing package openntpd (--configure):
 subprocess installed post-installation script returned error exit status 1
Processing triggers for ureadahead (0.100.0-16) ...
Errors were encountered while processing:
 openntpd
E: Sub-process /usr/bin/dpkg returned an error code (1)

随后通过下面命令可以解决:

apt-get install openntpd -y
apt-get purge ntp -y
service apparmor restart
service openntpd restart

原文链接:https://bugs.launchpad.net/ubuntu/+source/openntpd/+bug/458061

点赞

Leave a Reply

Your email address will not be published. Required fields are marked *