Hi,

As you can see in my timemaster log the ntpd terminates (process 4574 
terminated with status 255) after abut one day:

---------------------------
2020-10-13T02:01:35.575696+00:00  [timemaster][debug]  [113.685] creating 
/var/run/timemaster/ntp.conf
2020-10-13T02:01:35.575881+00:00  [timemaster][debug]  [113.688] creating 
/var/run/timemaster/ptp4l.0.conf
2020-10-13T02:01:35.576344+00:00  [timemaster][info]  [113.688] process 4574 
started: /usr/sbin/ntpd -u ntp:ntp -g -n -c /var/run/timemaster/ntp.conf
2020-10-13T02:01:35.576735+00:00  [timemaster][info]  [113.689] process 4575 
started: /usr/bin/ptp4l -p /dev/ptp0 -f /var/run/timemaster/ptp4l.0.conf -H -i 
eth1 -i eth2
2020-10-13T02:01:35.577057+00:00  [timemaster][info]  [113.689] process 4576 
started: /usr/bin/phc2sys -l 3 -a -r -R 1.00 -z 
/var/run/timemaster/ptp4l.0.socket -t [0:eth1+eth2] -n 0 -E ntpshm -M 0
2020-10-14T05:32:57.904593+00:00  [timemaster][info]  [68618.711] process 4574 
terminated with status 255
2020-10-14T05:32:57.904645+00:00  [timemaster][debug]  [68618.711] exiting on 
signal 15
2020-10-14T05:32:57.904662+00:00  [timemaster][debug]  [68618.711] killing 
process 4575
2020-10-14T05:32:57.904689+00:00  [timemaster][debug]  [68618.711] killing 
process 4576
2020-10-14T05:32:57.905949+00:00  [timemaster][info]  [68618.712] process 4576 
terminated with status 0
2020-10-14T05:32:57.905977+00:00  [timemaster][debug]  [68618.712] waiting for 
other processes to terminate
2020-10-14T05:32:57.920896+00:00  [timemaster][info]  [68618.727] process 4575 
terminated with status 0
2020-10-14T05:32:57.920926+00:00  [timemaster][debug]  [68618.727] removing 
/var/run/timemaster/ntp.conf
2020-10-14T05:32:57.920992+00:00  [timemaster][debug]  [68618.727] removing 
/var/run/timemaster/ptp4l.0.conf
2020-10-14T05:32:57.921058+00:00  [timemaster][info]  [68618.727] exiting
---------------------------

The ntpd log shows no reason for this:

---------------------------
2020-10-13T02:01:35.596766+00:00  [ntpd][notice]  ntpd 4.2.8p8@1.3265 Thu Apr  
9 11:09:56 UTC 2020 (2): Starting
2020-10-13T02:01:35.597033+00:00  [ntpd][info]  Command line: /usr/sbin/ntpd -u 
ntp:ntp -g -n -c /var/run/timemaster/ntp.conf
2020-10-13T02:01:35.600323+00:00  [ntpd][info]  proto: precision = 0.780 usec 
(-20)
2020-10-13T02:01:35.601021+00:00  [ntpd][info]  minpoll: provided value (2) is 
out of range [3-255])
2020-10-13T02:01:35.601453+00:00  [ntpd][info]  Listen and drop on 0 v6wildcard 
[::]:123
2020-10-13T02:01:35.601642+00:00  [ntpd][info]  Listen and drop on 1 v4wildcard 
0.0.0.0:123
2020-10-13T02:01:35.602336+00:00  [ntpd][info]  Listen normally on 2 lo 
127.0.0.1:123
2020-10-13T02:01:35.602496+00:00  [ntpd][info]  Listen normally on 3 eth0 
192.168.36.106:123
2020-10-13T02:01:35.604177+00:00  [ntpd][info]  Listen normally on 4 prp1 
192.168.31.12:123
2020-10-13T02:01:35.604332+00:00  [ntpd][info]  Listen normally on 5 lo 
[::1]:123
2020-10-13T02:01:35.604470+00:00  [ntpd][info]  Listen normally on 6 eth0 
[fe80::2d0:93ff:fe3f:5d67%3]:123
2020-10-13T02:01:35.604684+00:00  [ntpd][info]  Listen normally on 7 eth1 
[fe80::2d0:93ff:fe3f:5d69%4]:123
2020-10-13T02:01:35.604821+00:00  [ntpd][info]  Listen normally on 8 eth2 
[fe80::2d0:93ff:fe3f:5d69%5]:123
2020-10-13T02:01:35.604954+00:00  [ntpd][info]  Listen normally on 9 prp1 
[fe80::2d0:93ff:fe3f:5d68%8]:123
2020-10-13T02:01:35.605123+00:00  [ntpd][info]  Listening on routing socket on 
fd #26 for interface updates
2020-10-13T10:36:25.903814+00:00  [ntpd][info]  kernel reports TIME_ERROR: 
0x40: Clock Unsynchronized
2020-10-13T11:31:12.904465+00:00  [ntpd][err]  frequency file 
/etc/ntp.drift.TEMP: Permission denied
---------------------------

Can anyone give me a hint on how I can narrow down the problem?

Thanks
Philip


_______________________________________________
Linuxptp-users mailing list
Linuxptp-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxptp-users

Reply via email to