Cannot open log file /var/log/ntp.log when starting ntpd service.

Solution In Progress - Updated -

Issue

  • Getting logs below while starting ntpd service

    # systemctl status ntpd -l
    ● ntpd.service - Network Time Service
     Loaded: loaded (/usr/lib/systemd/system/ntpd.service; enabled; vendor     preset: disabled)
     Active: active (running) since Tue 2019-06-04 12:59:56 AEST; 3min 16s       ago
     Process: 66559 ExecStart=/usr/sbin/ntpd -u ntp:ntp $OPTIONS (code=exited, status=0/SUCCESS)
     Main PID: 66560 (ntpd)
     CGroup: /system.slice/ntpd.service
           └─66560 /usr/sbin/ntpd -u ntp:ntp -g -u ntp:ntp
    
    Jun 04 12:59:56 node1 ntpd[66560]: Cannot open log file /var/log/ntp.log
    

Environment

  • Red Hat Enterprise Linux 7

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content