Freebsd ntpd returns a permission denied error

freebsd ntpd returns a permission denied error

BSD mandoc. NAME. ntp.conf - Network Time Protocol (NTP) daemon configuration file Access denied 512: Number of packets denied access for any reason. I get "System error 5 - access is denied" when starting NTP. If you use the Meinberg menus to stop, start or restart NTP on Windows Vista. Bug 3627: SIGSEGV on FreeBSD-12 with stack limit and stack gap Sec 3386: NTP-01-011: ntpq_stripquotes() returns incorrect Value.

Freebsd ntpd returns a permission denied error - think

I am running: Linux raspberrypi 3.1.9+ #159 PREEMPT Wed Jul 11 19:54:53 BST 2012 armv6l GNU/Linux
I turned NTP logging on, by uncommenting the statsdir line in /etc/ntp.conf but this doesn't actually work due to a permissions error, it seems. After reboot, my /var/log/syslog file is full of ntpd errors like this:

Jul 12 06:40:51 raspberrypi ntpd[746]: can't open /var/log/ntpstats/peerstats.20
120712: Permission denied

The directory /var/log/ntpstats exists, but is empty. I see that the job /usr/sbin/ntpd is running as user ntpd, not as root. I guess that's good for security, but where and how should the log file be kept?

There is a Debian bug report dating from 2007 describing something much like this, http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=410383but I don't understand the commentary, and it was supposedly fixed at that time.

edit- just a minute, I see that I have two /usr/sbin/ntpd jobs running: one as root, and one as ntpd, is that normal?
marion stepfwd stepfwd mycroft ntp freebsd ntpd returns a permission denied error

0 Comments

Leave a Comment