Page 1 of 2

System clock does not working [Solved]

Posted: 9. May 2010, 18:15
by Sybelius
Hi All,

I am experiencing a new problem: clicking on System / System clock, it is not working; just asking me password, nothing after that.
How can set the clock ?
( Just looking for help coming from peoples happy to help; I know that easily newbies making questions disturbing experienced peoples.
If somebody gets bored about that frequent questions of mine, just does not reply me. Thank you). Ciao

Re: System clock does not working

Posted: 9. May 2010, 21:00
by gapan
Try to launch

Code: Select all

gtkclocksetup
from a root terminal. Any errors?

In any case, you can use the cli tool:

Code: Select all

clocksetup

Re: System clock does not working

Posted: 10. May 2010, 17:46
by Sybelius
Hi Gapan,

Thank You for your kind help; I have been launching the command "gtkclocksetup" and the first time I got error. So, I have been launching "clocksetup" and I have been able to set up the clock.
After that, I have been launching again "gtkclocksetup" and I get open the window "Date and time settings"; the terminal shows this output:

Code: Select all

root[dominum]# gtkclocksetup
Starting the ntpd service
The ntpd is already running with pid: 3417
root[dominum]# 
The issue looks solved, but if I want use "Salix / System / System clock" it does not working.

Ciao :)

Re: System clock does not working [Solved]

Posted: 10. May 2010, 18:19
by gapan
This is weird. What error did you get the first time you tried to launch gtkclocksetup? And can you try to run clocksetup-launch from a root terminal?

Re: System clock does not working [Solved]

Posted: 10. May 2010, 18:31
by Sybelius
gapan wrote:This is weird. What error did you get the first time you tried to launch gtkclocksetup?
Hi Gapan,

I am sorry, but I dont remember that error's message, I did not save, thinking to get it every time.
Running "clocksetup-launch" I get the window "Date and time settings" as running "gtkclocksetup". Ciao

Re: System clock does not working [Solved]

Posted: 10. May 2010, 18:31
by gapan
So, nothing is wrong...

Re: System clock does not working [Solved]

Posted: 10. May 2010, 18:36
by Sybelius
gapan wrote:So, nothing is wrong...
Before was wrong that wishing to use "Salix / System / System clock" it does not working.
Now, before to answer you, I have been clicking on the "line" again and, it works.... :o
Sorry, I dont understand :oops: Ciao

Re: System clock does not working [Solved]

Posted: 10. May 2010, 19:52
by ceeslans
here is the terminal messagewith the error:
root[cees]# gtkclocksetup
Traceback (most recent call last):
File "/usr/sbin/gtkclocksetup", line 272, in <module>
app = GTKClockSetup()
File "/usr/sbin/gtkclocksetup", line 240, in __init__
self.utccheckbutton.set_active(utcstate())
File "/usr/sbin/gtkclocksetup", line 81, in utcstate
f = file('/etc/hardwareclock')
IOError: [Errno 2] No such file or directory: '/etc/hardwareclock'

Re: System clock does not working [Solved]

Posted: 10. May 2010, 20:28
by gapan
ceeslans wrote:here is the terminal messagewith the error:
root[cees]# gtkclocksetup
Traceback (most recent call last):
File "/usr/sbin/gtkclocksetup", line 272, in <module>
app = GTKClockSetup()
File "/usr/sbin/gtkclocksetup", line 240, in __init__
self.utccheckbutton.set_active(utcstate())
File "/usr/sbin/gtkclocksetup", line 81, in utcstate
f = file('/etc/hardwareclock')
IOError: [Errno 2] No such file or directory: '/etc/hardwareclock'
Thank you! It has been fixed in version 0.9.9.1 already in the repositories for 13.0. And in salixtools-gtk-1.0.5 in current too.

Re: System clock does not working [Solved]

Posted: 11. May 2010, 00:05
by Sybelius
So, was a bug :mrgreen:

Well, I have been adding some repositories (those on default dont showing me version 0.9.9.1); now I got even the icon (which was absent) on Salix / System / System clock.

Cheers ! :D