This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Can't change system time, i get 3 errors.. :(

Tags: None
(comma "," separated)
User avatar
QueenZ
Registered Member
Posts
78
Karma
0
OS
User avatar
mensch
Registered Member
Posts
178
Karma
0
OS
I think the last two errors are the result of the first one. You're clock synchronizes with an online time server (or tries to) but it can't find the server. So that either means you're not connected to the Internet or you don't have the NTP library (Network Time Protocol) installed. If the latter applies the system should moan about it in a dialog I think. You can install those libraries in openSUSE by installing the package called "ntp" in YaST.

The strange thing is though I don't have that option in my Date & Time settings on Debian running KDE 4.2.

Last edited by mensch on Thu Feb 19, 2009 3:09 pm, edited 1 time in total.


I have forced myself to contradict myself in order to avoid conforming to my own taste. Marcel Duchamp
User avatar
QueenZ
Registered Member
Posts
78
Karma
0
OS
i'm on Kubuntu now.. i installed ntp but still have this error..


User avatar
zeiz
Registered Member
Posts
4
Karma
0
OS
I got wrong time after bios update. Also got errors and went to change date/time in bios :)
User avatar
neverendingo
Administrator
Posts
2136
Karma
17
OS
What does "cat /etc/ntp.conf" tell you?

I have a line this this in there:
Code: Select all
server ntp.ubuntu.com


Your first error message shows a dot at the end of the error message, so maybe this line is empty/not set


New to KDE Software? - get help from Userbase or ask questions on the Forums
Communicate.
Image
User avatar
QueenZ
Registered Member
Posts
78
Karma
0
OS
What does "cat /etc/ntp.conf" tell you?

queenz@queenz-ubuntu:~$ cat /etc/ntp.conf
# /etc/ntp.conf, configuration for ntpd; see ntp.conf(5) for help

driftfile /var/lib/ntp/ntp.drift


# Enable this if you want statistics to be logged.
#statsdir /var/log/ntpstats/

statistics loopstats peerstats clockstats
filegen loopstats file loopstats type day enable
filegen peerstats file peerstats type day enable
filegen clockstats file clockstats type day enable


# You do need to talk to an NTP server or two (or three).
server ntp.ubuntu.com


# Access control configuration; see /usr/share/doc/ntp-doc/html/accopt.html for
# details. The web page
# might also be helpful.
#
# Note that "restrict" applies to both servers and clients, so a configuration
# that might be intended to block requests from certain clients could also end
# up blocking replies from your own upstream servers.

# By default, exchange time with everybody, but don't allow configuration.
restrict -4 default kod notrap nomodify nopeer noquery
restrict -6 default kod notrap nomodify nopeer noquery

# Local users may interrogate the ntp server more closely.
restrict 127.0.0.1
restrict ::1

# Clients from this (example!) subnet have unlimited access, but only if
# cryptographically authenticated.
#restrict 192.168.123.0 mask 255.255.255.0 notrust


# If you want to provide time to your local subnet, change the next line.
# (Again, the address is an example only.)
#broadcast 192.168.123.255

# If you want to listen to time broadcasts on your local subnet, de-comment the
# next lines. Please do this only if you trust everybody on the network!
#disable auth
#broadcastclient
queenz@queenz-ubuntu:~$


User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
Just interested: Are you running System Settings as root? It will be required, unless it asks for your Root / User password when going to update the time.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
User avatar
QueenZ
Registered Member
Posts
78
Karma
0
OS
bcooksley wrote:Just interested: Are you running System Settings as root? It will be required, unless it asks for your Root / User password when going to update the time.


no i'm not, as the matter of fact i don't even know how to run System Settings as root..


User avatar
mensch
Registered Member
Posts
178
Karma
0
OS
You can run "sudo systemsettings" from the command line.


I have forced myself to contradict myself in order to avoid conforming to my own taste. Marcel Duchamp
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
Or perhaps running the module individually would help:
Code: Select all
kdesudo kcmshell4 clock


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
User avatar
QueenZ
Registered Member
Posts
78
Karma
0
OS
Running it as root doesn't help.. I still get all 3 errors.. :(

The clock is correct in windows and bios...


User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
It might be ignoring the configuration file. Have you specified the server correctly from the drop down ( maybe try actually specifying a server ( 0.pacific.pool.ntp.org for instance )


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
User avatar
QueenZ
Registered Member
Posts
78
Karma
0
OS
still no good..

Unable to contact time server: 0.pacific.pool.ntp.org


User avatar
Amine27
Registered Member
Posts
32
Karma
0
OS
Konsole is your friend :)

Code: Select all
date MMDDhhmm


eg :

Code: Select all
date 02202124


as root of course

Last edited by Amine27 on Fri Feb 20, 2009 8:19 pm, edited 1 time in total.


Amine27, proud to be a member of KDE forums since 2008-Oct.

Image
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
Try checking your firewall, maybe something is blocking it.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]


Bookmarks



Who is online

Registered users: Bing [Bot], daret, Google [Bot], sandyvee, Sogou [Bot]