On 07/08/2017 12:11 AM, Christian Weisgerber wrote:
On 2017-07-07, Kaya Saman <kayasa...@gmail.com> wrote:
I'm running current (6.1 GENERIC.MP#99 amd64) and keep getting this
message when trying to start ntp from @ports:
ntpd 4.2.8p10@1.3728-o Fri Jun 2 02:18:56 UTC 2017 (1): Starting
mlockall(): Cannot allocate memory
fatal out of memory (32 bytes)
What exactly is your problem?
The ntpd from the net/ntp port runs fine. It logs a harmless error
"mlockall(): Cannot allocate memory", but this doesn't affect its
operation.
The exact problem is that the service doesn't start... I have disabled
the ntpd from base in rc.conf then execute the rc.d script and no
service?? - just the error above.
The service is added in rc.conf.local as such:
xntpd=YES
xntpd_flags=""
so it should just kick in as expected but it doesn't :-(