Recently configured ntpd on SUSE 15 server (physical) and it is set to enabled but it doesn’t start on a reboot.
I see in messages that the NTP client\server started successfully but I believe that’s the YAST client version of ntp. I see no signs that the actual ntpd.service file is ever tried to start.
Any ideas on how I might get a closer look at the boot up process ? It there is an ntp.log file I set in ntp.conf but I’m not sure the proper syntax to set the logging to debug.
What exactly are you referring to by this ? The service is enabled - systemctl enable ntpd or systemctl is-enabled ntpd = enabled The service starts just fine manually - systemctl start ntpd
What I saying is that there is no indication that the service is even trying to start during the boot process. There are no log message anywhere that I can find that even shows the ntpd is even attempted to be started or even started and failed.
That should tell you anything about the service that is current, including
when it last ran.
systemctl is-active ntpd
Indicates whether or not the service is currently active.
systemd-analyze blame
Look through the output looking for your service. The idea with this
command is to show what caused the startup to take as long as it did (so
you can optimize that), but as a result it shows all of the starting
services, in order, which may be useful.
Along with all of that it may be useful to know how you are testing
whether or not the service is running, just in case your test is invalid.
Finally, "Yast’ doesn’t have an NTP client or service of its own; it
configures the system one. I only mention this in case you feel Yast is
somehow doing something other than setting things up, or if you believe
its tool is a separate one; it’s not.
–
Good luck.
If you find this post helpful and are logged into the web interface,
show your appreciation and click on the star below.
If you want to send me a private message, please let me know in the
forum as I do not use the web interface often.
–
Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
SLES 15 | GNOME Shell 3.26.2 | 4.12.14-150.14-default
If you find this post helpful and are logged into the web interface,
please show your appreciation and click on the star below… Thanks!