[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
What's running ntpd? (was: ntpd problems)
- To: misc_(_at_)_openbsd_(_dot_)_org
- Subject: What's running ntpd? (was: ntpd problems)
- From: "J. Scott Edwards" <sedwards_(_at_)_xmission_(_dot_)_com>
- Date: Tue, 19 Feb 2002 08:28:52 -0700 (MST)
I checked my /var/log/messages this morning and evidently ntpd has been
running (or trying to run) all night. But when I do a 'ps' ntpd doesn't
appear to be running? Is inet trying to run it because I have 'ntpd=YES'
in rc.conf?
Thanks
-Scott
Feb 18 23:01:06 C1234567-A ntpd[28038]: ntpd 4.1.71-a Thu Oct 18 07:07:15 MDT 2001 (1)
Feb 18 23:01:06 C1234567-A ntpd[28038]: bind() fd 4, family 2, port 123, addr 0.0.0.0, in_classd=0 flags=1 fails: Address already in use
Feb 18 23:01:06 C1234567-A ntpd[28038]: bind() fd 4, family 2, port 123, addr 127.0.0.1, in_classd=0 flags=0 fails: Address already in use
Feb 18 23:01:06 C1234567-A ntpd[28038]: bind() fd 4, family 2, port 123, addr 192.168.0.1, in_classd=0 flags=1 fails: Address already in use
Feb 18 23:01:06 C1234567-A ntpd[28038]: bind() fd 4, family 2, port 123, addr 12.254.175.146, in_classd=0 flags=1 fails: Address already in use
Feb 18 23:01:06 C1234567-A ntpd[28038]: kernel time discipline status 0040
Feb 18 23:01:08 C1234567-A ntpd_initres[18350]: server returns a permission denied error
Feb 18 23:01:14 C1234567-A last message repeated 2 times
Feb 18 23:03:14 C1234567-A last message repeated 6 times
Feb 18 23:13:14 C1234567-A last message repeated 30 times
Feb 18 23:23:14 C1234567-A last message repeated 30 times
Feb 18 23:33:14 C1234567-A last message repeated 30 times
Feb 18 23:43:14 C1234567-A last message repeated 30 times
Feb 18 23:53:15 C1234567-A last message repeated 30 times
Feb 19 00:03:15 C1234567-A last message repeated 30 times
Feb 19 00:13:15 C1234567-A last message repeated 30 times
Feb 19 00:23:15 C1234567-A last message repeated 30 times
Feb 19 00:33:15 C1234567-A last message repeated 30 times
Feb 19 00:43:16 C1234567-A last message repeated 30 times
Feb 19 00:53:16 C1234567-A last message repeated 30 times
Feb 19 01:03:16 C1234567-A last message repeated 30 times
Feb 19 01:13:16 C1234567-A last message repeated 30 times
Feb 19 01:23:16 C1234567-A last message repeated 30 times
Feb 19 01:33:17 C1234567-A last message repeated 30 times
Feb 19 01:43:17 C1234567-A last message repeated 30 times
Feb 19 01:53:17 C1234567-A last message repeated 30 times
Feb 19 02:03:17 C1234567-A last message repeated 30 times
Feb 19 02:13:17 C1234567-A last message repeated 30 times
Feb 19 02:23:18 C1234567-A last message repeated 30 times
Feb 19 02:33:18 C1234567-A last message repeated 30 times
Feb 19 02:43:18 C1234567-A last message repeated 30 times
Feb 19 02:53:18 C1234567-A last message repeated 30 times
Feb 19 03:03:18 C1234567-A last message repeated 30 times
Feb 19 03:13:19 C1234567-A last message repeated 30 times
Feb 19 03:23:19 C1234567-A last message repeated 30 times
Feb 19 03:33:19 C1234567-A last message repeated 30 times
Feb 19 03:43:19 C1234567-A last message repeated 30 times
Feb 19 03:53:19 C1234567-A last message repeated 30 times
Feb 19 03:59:20 C1234567-A last message repeated 18 times
Feb 19 04:00:01 C1234567-A syslogd: restart
Feb 19 04:00:20 C1234567-A ntpd_initres[18350]: server returns a permission denied error
Feb 19 04:00:20 C1234567-A last message repeated 2 times
Feb 19 04:02:20 C1234567-A last message repeated 6 times
Feb 19 04:12:20 C1234567-A last message repeated 30 times
Feb 19 04:22:20 C1234567-A last message repeated 30 times
Feb 19 04:32:20 C1234567-A last message repeated 30 times
Feb 19 04:42:20 C1234567-A last message repeated 30 times
Feb 19 04:52:21 C1234567-A last message repeated 30 times
Feb 19 05:02:21 C1234567-A last message repeated 30 times
Feb 19 05:12:21 C1234567-A last message repeated 30 times
Feb 19 05:22:21 C1234567-A last message repeated 30 times
Feb 19 05:32:21 C1234567-A last message repeated 30 times
Feb 19 05:42:22 C1234567-A last message repeated 30 times
Feb 19 05:52:22 C1234567-A last message repeated 30 times
Feb 19 06:02:22 C1234567-A last message repeated 30 times
Feb 19 06:12:22 C1234567-A last message repeated 30 times
Feb 19 06:22:22 C1234567-A last message repeated 30 times
Feb 19 06:32:23 C1234567-A last message repeated 30 times
Feb 19 06:42:23 C1234567-A last message repeated 30 times
Feb 19 06:52:23 C1234567-A last message repeated 30 times
Feb 19 07:02:23 C1234567-A last message repeated 30 times
Feb 19 07:12:23 C1234567-A last message repeated 30 times
Feb 19 07:22:24 C1234567-A last message repeated 30 times
Feb 19 07:32:24 C1234567-A last message repeated 30 times
Feb 19 07:42:24 C1234567-A last message repeated 30 times
Feb 19 07:52:24 C1234567-A last message repeated 30 times
Feb 19 08:02:24 C1234567-A last message repeated 30 times
Feb 19 08:12:25 C1234567-A last message repeated 30 times
Feb 19 08:22:25 C1234567-A last message repeated 30 times
On Mon, 18 Feb 2002, J. Scott Edwards wrote:
> I'm getting the same exact thing on 3.0. My config file just looks like:
>
> server chronos1.umt.edu
>
> I'm wondering if we need to open up a hole in the firewall for it?
>
> Thanks
> -Scott
>
>
> On Mon, 18 Feb 2002, Rickard Borgmäster wrote:
>
> > I'm trying to get ntpd running on OpenBSD 2.8 and 3.0. My config file
> > looks like this:--- /etc/ntp.conf ---
> > server 127.127.1.0 prefer
> > peer ntp.lth.se
> > peer time1.stupi.se
> > peer time2.stupi.se
> > peer time3.stupi.se
> > peer tick.keso.fi
> > peer tock.keso.fi
> > peer fartein.ifi.uio.no
> > peer time.alcanet.no
> > peer clock.netcetera.dk
> > peer clock2.netcetera.dk
> > driftfile /var/db/ntp.drift
> > restrict default ignore
> > restrict 127.0.0.1 mask 255.255.255.255 notrust nomodify notrap
> > ---
> >
> > ntpd starts ok, but gives these errors in /var/log/messages. I have no
> > idea why, nor what they mean. Have I done anything wrong?
> > --- /var/log/messages ---
> > Feb 18 21:19:19 monitor ntpd[8259]: ntpd 4.1.71-a Thu Oct 18 07:07:15 MDT
> > 2001 (1) Feb 18 21:19:19 monitor ntpd[8259]: kernel time discipline status
> > 0040 Feb 18 21:19:21 monitor ntpd_initres[4535]: server returns a
> > permission denied error Feb 18 21:19:21 monitor last message repeated 9
> > times Feb 18 21:21:22 monitor last message repeated 20 times
> > Feb 18 21:22:22 monitor last message repeated 10 times
> > Feb 18 21:22:35 monitor ntpd[8259]: time set 0.000000 s
> > Feb 18 21:23:22 monitor ntpd_initres[4535]: server returns a permission
> > denied error Feb 18 21:23:22 monitor last message repeated 9 times
> > Feb 18 21:25:22 monitor last message repeated 20 times
> > Feb 18 21:35:22 monitor last message repeated 100 times
> > Feb 18 21:45:22 monitor last message repeated 100 times
> > ---
> >
> > Also, I really don't understand the difference between the keywords server
> > or peer. Anyways, have tried them both on my config, but the problem
> > remains.
> >
> > --
> >
> > Rickard
> >
> > .--. .--.
> > .----------------------------------------. | | | | .-.
> > | Rickard Borgmäster | | | | |/ /
> > | doktorn_(_at_)_sub_(_dot_)_nu | .-^ | .--. | <
> > | http://doktorn.sub.nu/ | ( o | ( () ) | |\ \
> > `----------------------------------------' `-----' `--' `--' `--'
Visit your host, monkey.org