Querying NTP in AM 8.1
Looking to try and query NTP remotely using ntpq.
Doesn't seem to respond on it's actual IP, if I test locally it responds on 127.0.0.1 but not on its IP.
Anyone had this issue or got any instructions how to do this?
I have added my remote server into the ntp.conf file
restrict (IP address)
- authentication manager 8.2 sp1
- Cloud Auth
- Cloud Authentication
- Cloud Authentication Service
- Community Thread
- Forum Thread
- RSA SecurID
- RSA SecurID Access
As root on command line
unrestrict IPv4 and restrict IPv6...
put a # in front of restrict 127.0.0.1
put a new line
service ntp restart
Now ntpq will operate as expected.
run ntpq to get on ntpq command line
should like associations
should show your local ntp clock
should show details about the server you are associated with
should see peers
I am able to query itself by its IP now which is good but still cannot remotely. Errors shown below:
ntpq -c rv IP address
ntpq: read: No error k
ntpq -c rv hostname
ntpq: read: No such file or directory
Similarly if I query from AM replica to another replica I get.
ntpq: read: Connection refused
Don't attempt to use ntp and ntpq like an ordinary Suse linux system. It is not designed to be used across systems. RSA servers are pre-hardened and a lot of things are blocked, or removed from the OS.
Just use ntpq to probe ntp sources for the machine you are on. If you need to use advanced ntp diags, use a different operating system than an RSA server itself.