LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
Password
SUSE / openSUSE This Forum is for the discussion of Suse Linux.

Notices


Reply
  Search this Thread
Old 12-03-2004, 05:47 AM   #1
mikemrh9
Member
 
Registered: Nov 2003
Distribution: Arch
Posts: 136

Rep: Reputation: 21
Cannot change system time


Hi.

I ran an online update yesterday, and since then, have been unable to change the date or time either by right clicking the clock, or by going through the YAST Control Centre. If I try right clicking the clock, YAST starts, authenticates me if I'm not logged in as root, then exits without presenting me with an option to change anything. If I go through the Control Centre, I just get a blank grey screen, as though I had finished making my changes.

(I would like to get this fixed, as I have a laptop with a dead BIOS battery and need to reset the time every time I plug it in!!........)

From the terminal, I can set the date, with:

date -s YYMMDD

but haven't figured out the syntax for the time.

Any help with either the YAST issue or the command syntax would be greatly appreciated!

Mike.
 
Old 12-03-2004, 06:29 AM   #2
abisko00
Senior Member
 
Registered: Mar 2004
Location: Munich
Distribution: Ubuntu
Posts: 3,517

Rep: Reputation: 58
Hmm, I noticed the same. But this must be a very recent problem, probably connected to a YOU update, because it used to work fine last week.

Here is what my /var/log/YaST2/y2log tells:

Code:
2004-12-03 13:20:55 <3> linux(12517) [Interpreter] clients/inst_timezone.ycp:188 Import 'Storage' failed
2004-12-03 13:20:55 <3> linux(12517) [Interpreter] clients/inst_timezone.ycp:188 Symbol 'Storage::GetTranslatedDevices' does not exis
t.
2004-12-03 13:20:55 <3> linux(12517) [libycp] YBlock.cc(YBlock):704 Code is no statement: 4
2004-12-03 13:20:55 <3> linux(12517) [Interpreter] clients/inst_timezone.ycp:188 Loading module 'RootPart' failed
2004-12-03 13:20:55 <3> linux(12517) [libycp] YBlock.cc(YBlock):704 Code is no statement: 4
2004-12-03 13:20:55 <3> linux(12517) [libycp] Bytecode.cc(popUptoNamespace):621 Bytecode::popUptoNamespace (0x8fdf0b8) empty stack
Maybe someone else knows a solution...

To set the time from command line, try this (as root):

date -s MMDDhhmmYYYY

http://www.linuxsa.org.au/tips/time.html
 
Old 12-03-2004, 10:32 AM   #3
monroetech
Member
 
Registered: Nov 2004
Location: Toledo, OH
Distribution: SuSE 9.2 Pro
Posts: 53

Rep: Reputation: 15
Make it easy, as root run this command....

/usr/sbin/ntpdate time.windows.com

This will sync your time and date to the windows.com atomic server...
 
Old 12-06-2004, 02:29 PM   #4
deargin
LQ Newbie
 
Registered: Dec 2004
Posts: 3

Rep: Reputation: 0
i got this problem also, i have the suse 9.1 pro, ftp install. (don't know if this is different from the commercial pro version, but i would suspect so.)

can somebody answer :

-is it possible to backout a YOU "update", i.e in order to fix this.

-will the ntp command given earlier have to be issued at each login, or will the system work thereafter via ntp ?

thanks



oh, i also wonder do the people who reported this have the ftp or commercial version ?

i would be interested to know if it is an issue to the ftp install version only.

I am thinking on purchasing commercial/retail install discs for SuSE Pro, but if it's going to give me as much problems at the ftp install then I might do some research on other versions who'se package managment, testing, etc may be better.


I had the commercial 8.2, since i installed the ftp version of 9.1 to try it out, i find the 9.1 is slower, buggy, hard to manage/manipulate in terms of tweaking services, etc. (All via the config manager and yast, i do little from the console)


Is there a degradation of service or quality from SuSE of late ?

Is the ftp available install purposely bad ? (so you buy ??) [i know(heard) its missing some video codecs etc,]



thanks

d
 
Old 12-07-2004, 02:17 AM   #5
abisko00
Senior Member
 
Registered: Mar 2004
Location: Munich
Distribution: Ubuntu
Posts: 3,517

Rep: Reputation: 58
Quote:
-is it possible to backout a YOU "update", i.e in order to fix this.
Find out the package that might have caused the problem. I would guess it's this one:

Code:
Packages:
##
## -----> yast2-update <-----
##
Filename: yast2-update.rpm
Label: YaST2 - Update
Series: i586
Size: 372411 70519
PatchRpmBasedOn: 2.9.23-2
PatchRpmSize: 372411 57233
Buildtime: 1101755587
BuiltFrom: yast2-update-2.9.28-0.4.src.rpm
Now re-install this package from the original source. Voilá !

On my system this fixes the problem with the time adjustment!

I guess a downgrade is safe unless you are using gnome (the fix was for some gnome related stuff).

Quote:
i would be interested to know if it is an issue to the ftp install version only.
No, since the YOU updates affect all variations of SuSE.
 
Old 12-09-2004, 04:49 AM   #6
abisko00
Senior Member
 
Registered: Mar 2004
Location: Munich
Distribution: Ubuntu
Posts: 3,517

Rep: Reputation: 58
Update:

SuSE has released a new patch that fixes the date/time/mouse problems. So you may run YOU again to repair the system.
 
Old 12-09-2004, 06:05 AM   #7
mikemrh9
Member
 
Registered: Nov 2003
Distribution: Arch
Posts: 136

Original Poster
Rep: Reputation: 21
Lovely - Thanks.

However, I find myself being slowly yet surely being converted to the terminal. Everything seems quicker once you get some familiarity with the command syntax.
 
Old 01-02-2005, 03:06 AM   #8
pcardout
Member
 
Registered: Jun 2003
Location: Socorro, New Mexico
Distribution: Debian ("jessie", "squeeze"), Linux Mint (Serena), XUbuntu
Posts: 221

Rep: Reputation: 24
Answering your original question

Yes -- USE THE TERMINAL!

To set the time, as root

date -s21:00:52

(24 hour time) That's it.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
System time change loccom Linux - General 1 03-16-2005 09:58 AM
Change system time JonCooperUK Slackware 4 04-02-2004 09:41 PM
system time is wrong, how do i change? jjd228 Linux - General 8 02-19-2004 04:12 PM
how to change the system time? h/w Linux - Newbie 12 12-29-2003 05:53 PM
Change system time or date or both lel800 Linux - Newbie 6 10-28-2003 07:00 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

All times are GMT -5. The time now is 09:54 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration