Ntpdate fails to start

Aaron Konstam akonstam at sbcglobal.net
Tue Sep 9 14:38:20 UTC 2008


On Tue, 2008-09-09 at 13:02 +0100, Paul Smith wrote:
> On Tue, Sep 9, 2008 at 12:37 PM, Tony Molloy <tony.molloy at ul.ie> wrote:
> >> >> Thanks again, Tony. The new results:
> >> >>
> >> >> # /sbin/service network status
> >> >> Configured devices:
> >> >> lo eth0
> >> >> Currently active devices:
> >> >> lo eth0 vmnet8 vmnet1
> >> >> #
> >> >
> >> > OK you have both the NetworkManager service and the network service
> >> > running. You shouldn't have both running at the same time.
> >> >
> >> > Do you have a static IP address, is this a laptop.
> >> >
> >> > You can switch one or other service off with
> >> >
> >> > # service NetworkManager stop
> >> > or
> >> > # service network stop
> >> >
> >> > To make the change permanent and survive a reboot do
> >> >
> >> > # chkconfig --level 345 NetworkManager off
> >> > or
> >> > # chkconfig --level 345 newtork off
> >>
> >> Thanks again, Tony. I am using a desktop and not a laptop, and my IP
> >> is dynamic. Thus, which one of the two services should I stop
> >> permanently?
> >>
> >> Paul
> >
> > For DHCP adresses you can go with either.
> >
> > Try NetworkManager first by disabling the network service with
> > # chkconfig network off
> > and then rebooting.
> >
> > Then
> > # service NetworkManager status
> > should tell you NetworkManager is running
> > and
> >
> > # service network status
> > should tell you network is not running.
> >
> > Then wait a few minutes and do  ( it takes ntpd a few minutes to synchronise )
> >
> > # /usr/sbin/ntpq -p
> >
> > If you see one of the time servers with an * in front of it then ntpd is
> > working and synchronised to that server.
> 
> Thanks, Tony, but after 'chkconfig network off' and a reboot, I get:
> 
> # /sbin/service NetworkManager status
> NetworkManager (pid 2332) is running...
> # /sbin/service network status
> Configured devices:
> lo eth0
> Currently active devices:
> lo eth0 vmnet8 vmnet1
> #
> 
> Apparently, both NetworkManager and network are simultaneously on.
> 
> Paul
> 
There is something  very wrong with your report above. Once you run:
chkconfig network off
network should not run after reboot.
What does;chlconfig --list |grep network
return?

The real problem is that NetworkManager does not make the connection
until you login, so ntpdate can't  run properly.





More information about the fedora-list mailing list