Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 11354
  • Last Modified:

ntpq: read: Connection refused

When i run the command ntpq -p
I get this error message.
ntpq: read: Connection refused
does anybody know what it means in relation to ntp

my ntp.conf :
driftfile /var/lib/ntp/drift/ntp.drift

logfile /var/log/ntp

server 0.us.pool.ntp.org
server 1.us.pool.ntp.org
server 2.us.pool.ntp.org
server 3.us.pool.ntp.org

Thanks

0
AbdellahT
Asked:
AbdellahT
2 Solutions
 
omarfaridCommented:
do you have a firewall in the network? connection refused could due to

- no server listening on the remote system
- wrong remote ip address
- firewall denying connections

 
0
 
Michael WorshamInfrastructure / Solutions ArchitectCommented:
There could be a number of possibilities...

1) Make sure iptables is not blocking the outbound connection (i.e. 'iptables -L')
2) Make sure ntpd or xntpd is up and running on the server (i.e. 'ps -aef | grep ntp')
3) Is your gateway and DNS seend correctly? (i.e. 'netstat -r', 'cat /etc/resolv.conf')

References:
http://www.ntp.org/ntpfaq/NTP-s-trbl-general.htm
http://forums.fedoraforum.org/archive/index.php/t-37003.html
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now