Get the App
SLTechnology News&Howtos  ›  Servers  › 

Ntpq commands ordinary users to execute error reporting Servname not su

Shulou Source: shulou.com Published: 2022-06-02 21:12:21 09月22日 Update

The requested URL/usr/sbin/ntpq-pn was not found on this server.

Servname not supported for ai_socktype

Check point:

1. Check the/etc/services file for ports

ntp 123/tcp

ntp 123/udp # Network Time Protocol

2. Check whether permission is given. Other groups have read permission. Permission can be modified to 644.

Tags: Permissions checks normal commands users files time ports errors prompts queries Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Linux Huawei Apple MariaDB OPPO Reno