You are not logged in.
Pages: 1
OK I have no idea what's going on. I set ntp correctly, but when I do ntpq -p I get this:
Name or service not known
My ntp.conf:
# NOTES:
# - you should only have to update the server line below
# - if you start getting lines like 'restrict' and 'fudge'
# and you didnt add them, AND you run dhcpcd on your
# network interfaces, be sure to add '-Y -N' to the
# dhcpcd_ethX variables in /etc/conf.d/net
# Name of the servers ntpd should sync with
# Please respect the access policy as stated by the responsible person.
#server ntp.example.tld iburst
#server 3.si.pool.ntp.org iburst
server ntp1.arnes.si iburst
server ntp2.arnes.si iburst
##
# A list of available servers can be found here:
# http://www.pool.ntp.org/
# http://www.pool.ntp.org/#use
# A good way to get servers for your machine is:
# netselect -s 3 pool.ntp.org
##
# you should not need to modify the following paths
driftfile /var/lib/ntp/ntp.drift
#server ntplocal.example.com prefer
#server timeserver.example.org
# Warning: Using default NTP settings will leave your NTP
# server accessible to all hosts on the Internet.
# If you want to deny all machines (including your own)
# from accessing the NTP server, uncomment:
#restrict default ignore
# To deny other machines from changing the
# configuration but allow localhost:
restrict default kod notrap nomodify nopeer noquery
restrict 127.0.0.1
# To allow machines within your network to synchronize
# their clocks with your server, but ensure they are
# not allowed to configure the server or used as peers
# to synchronize against, uncomment this line.
#
#restrict 192.168.0.0 mask 255.255.255.0 nomodify nopeer notrap
Help? I don't know what's wrong...
Last edited by Primoz (2010-04-04 19:37:40)
Arch x86_64 ATI AMD APU KDE frameworks 5
---------------------------------
Whatever I do, I always end up with something horribly mis-configured.
Offline
Do you have localhost in your /etc/hosts?
Offline
is the daemon started properly? /var/log/daemon.log will contain the relevant info if something is failing
also make sure you have network/dns access before you start the ntp daemon
Offline
I checked both, I do have my hostname in hosts, and daemons.log is empty...
I'm using networkmanager, I stoped it and started network and restarted ntpdate, but ti doesn't work.
Arch x86_64 ATI AMD APU KDE frameworks 5
---------------------------------
Whatever I do, I always end up with something horribly mis-configured.
Offline
Solved by changeing to openntpd
Arch x86_64 ATI AMD APU KDE frameworks 5
---------------------------------
Whatever I do, I always end up with something horribly mis-configured.
Offline
I know you switched, but ntpd is the daemon, ntpdate is to set the time
anyway, both are pretty much just implementations of exactly the same thing, so go with what works
Last edited by thestinger (2010-04-04 21:37:28)
Offline
Pages: 1