Setting the time

You have a problem with Salix? Post here and we'll do what we can to help.
Post Reply
salparadise
Posts: 2
Joined: 3. Dec 2010, 17:13

Setting the time

Post by salparadise »

I can't set the time.
Everytime I try to set it via ntp I get an "Cannot authenticate/execute process" message appear.
I've tried "clocksetup" - no joy, 'kcontrol" doesn't exist.

I'm at a loss.
The laptop is 15 minutes slow.

Any solutions?

Thanks.
User avatar
gapan
Salix Wizard
Posts: 6355
Joined: 6. Jun 2009, 17:40

Re: Setting the time

Post by gapan »

Is there a chance you picked the wrong timezone when installing salix?
ntp should be working out of the box, so no need to do anything to set
it up. As a last resort you could disable ntp and set the clock manually
with clocksetup or gtkclocksetup.
Image
Image
User avatar
thenktor
Salix Wizard
Posts: 2426
Joined: 6. Jun 2009, 14:47
Location: Franconia
Contact:

Re: Setting the time

Post by thenktor »

Wrong timezone should not give any errors, it should just give you wrong time. Please post the output of "ntpq -p" (run it as root). If ntpd is not running you can start it as root with "service start ntpd".
Image
burnCDDA (burns audio CDs)
geBIERt (German beer blog)
salparadise
Posts: 2
Joined: 3. Dec 2010, 17:13

Re: Setting the time

Post by salparadise »

Thanks for the reply.
The problem appears to have cleared, I'm just not sure how.

I restarted rc.ntpd and also ran a command I found online (netdate time-a.nist.gov).
Even though I'm in the UK, the time suddenly went from being 15 minutes out, to correct.

My timezone is still wrong and I cannot reset it - I get the same "Cannot authenticate/execute process" message that I got when trying to tell KDE to use online time syncing.

I set the correct timezone when installing.
pokey
Posts: 2
Joined: 10. Apr 2011, 22:01

I am also having trouble setting the time.

Post by pokey »

I was also having trouble getting the time set correctly. I'm sure I set the timezone right during install, and I have verified that it was set correctly while the time was wrong, is set right now.

While the clock was wrong output from ntpq -p is as follows:

Code: Select all

root[p]# ntpq -p
No association ID's returned
The following seems to have fixed it for me:

Code: Select all

su
service stop ntpd
service start ntpd -Ag
service stop ntpd
service start ntpd
I have no idea what I'm doing, I was just poking at commands as root, because that seemed like the right thing to do. :P

cheers!

If what I did was really bad, go ahead and say so, so that others don't blindly follow the blind into chaos.
Post Reply