Ntpdate fails to start

Tony Molloy tony.molloy at ul.ie
Tue Sep 9 11:37:33 UTC 2008


On Tuesday 09 September 2008 11:54:48 Paul Smith wrote:
> On Tue, Sep 9, 2008 at 11:36 AM, 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.

Hope this helps,

Tony




More information about the fedora-list mailing list