You are not logged in.
Pages: 1
Command:
/etc/rc.d/openntpd restart
Result:
:: Stopping OpenNTPD [FAIL]
:: Starting OpenNTPD [BUSY]
fatal: stat: No such file or directory
dispatch_imsg in main: pipe closed
Terminating
Last edited by Surrender (2009-10-25 18:19:42)
Offline
How is your /etc/ntpd.conf looking?
Offline
How is your /etc/ntpd.conf looking?
/etc/ntpd.conf:
# $OpenBSD: ntpd.conf,v 1.7 2004/07/20 17:38:35 henning Exp $
# sample ntpd configuration file, see ntpd.conf(5)
# Addresses to listen on (ntpd does not listen by default)
#listen on *
#listen on 127.0.0.1
#listen on ::1
# sync to a single server
#server ntp.example.org
# use a random selection of 8 public stratum 2 servers
# see http://twiki.ntp.org/bin/view/Servers/NTPPoolServers
servers pool.ntp.org
Offline
Can you try to change the line
servers pool.ntp.org
into
server 0.pool.ntp.org
server 1.pool.ntp.org
server 2.pool.ntp.org
Appropriate servers can be found at
Offline
As per http://www.pool.ntp.org/zone/us, changed ntpd.conf to:
# $OpenBSD: ntpd.conf,v 1.7 2004/07/20 17:38:35 henning Exp $
# sample ntpd configuration file, see ntpd.conf(5)
# Addresses to listen on (ntpd does not listen by default)
#listen on *
#listen on 127.0.0.1
#listen on ::1
# sync to a single server
#server ntp.example.org
# use a random selection of 8 public stratum 2 servers
# see http://twiki.ntp.org/bin/view/Servers/NTPPoolServers
server 0.us.pool.ntp.org
server 1.us.pool.ntp.org
server 2.us.pool.ntp.org
server 3.us.pool.ntp.org
No luck. Command:
/etc/rc.d/openntpd restart
Result:
:: Stopping OpenNTPD [FAIL]
:: Starting OpenNTPD [BUSY]
fatal: stat: No such file or directory
dispatch_imsg in main: pipe closed
Terminating
Offline
What happens if you execute the following command in a console:
ntpd -s -d
Offline
What happens if you execute the following command in a console:
ntpd -s -d
Same thing:
fatal: stat: No such file or directory
dispatch_imsg in main: pipe closed
Terminating
Offline
Seems as if it can't find its configuration file. Are you running this as root or as another user?
What are the privileges on the file /etc/ntp.conf?
My file looks as follows:
-rw-r--r-- 1 root root 615 2009-10-25 08:56 /etc/ntpd.conf
Offline
Seems as if it can't find its configuration file. Are you running this as root or as another user?
I'm running these commands as root.
What are the privileges on the file /etc/ntp.conf?
My file looks as follows:
-rw-r--r-- 1 root root 615 2009-10-25 08:56 /etc/ntpd.conf
# ls -l /etc/ntpd.conf
-rw-r--r-- 1 root root 488 2009-10-25 15:55 /etc/ntpd.conf
Offline
Is there any valuable information about this problem in your /var/log/messages.log?
Offline
I had the same problem about an hour ago. Reinstalling openntpd solved the problem for me.
Offline
Is there any valuable information about this problem in your /var/log/messages.log?
Not that I can tell.
I had the same problem about an hour ago. Reinstalling openntpd solved the problem for me.
That appears to have worked.
Thank you both for the help.
Offline
Hey guys!
As i suffered from the same problems, but a reinstall of openntpd did not help (though starting openntpd
from console after bootup did work everytime), i found this:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=402939
which basically says, change "Listen *" to "Listen 0.0.0.0" - that is if you use the daemon mode at all of course.
After changing, openntpd started fine on bootup again.
I will post a bugreport.
Offline
Hey guys!
As i suffered from the same problems, but a reinstall of openntpd did not help (though starting openntpd
from console after bootup did work everytime), i found this:http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=402939
which basically says, change "Listen *" to "Listen 0.0.0.0" - that is if you use the daemon mode at all of course.
After changing, openntpd started fine on bootup again.I will post a bugreport.
Excellent work.
Offline
Pages: 1