You are not logged in.

#1 2009-07-27 10:45:04

presario
Member
From: Tashkent, Uzbekistan
Registered: 2008-12-07
Posts: 57
Website

consequences of changing system date

for some reason i need to change the system date on production server (sms server with a database)
only the year should decrease by two (minus 2 years)
before changing the date i want to get some advice from the community
what problems could happen after that, what steps should i follow before doing that, etc
the things that i've already taken care of are CRON and AT jobs
i think there could be problems with file access/modification dates and anything that relies on them
can it be solved by just updating access/modification dates of all files accordingly?
please give advice
thanks in advance


Running ArchLinux on Compaq Presario v2000

Offline

#2 2009-07-27 10:56:36

Xyne
Forum Fellow
Registered: 2008-08-03
Posts: 6,965
Website

Re: consequences of changing system date

That's almost as dangerous as dividing by zero and the LHC.


Don't mind me. Someone with a serious answer will be with you shortly. In the meantime though, can you tell us why you need to set the clock back 2 years? Considering that ntpd and its variants cringe at shifting the time beyond a few seconds, I suspect that there will be a lot of minute details to keep in mind with such a shift.


My Arch Linux StuffForum EtiquetteCommunity Ethos - Arch is not for everyone

Offline

#3 2009-07-27 11:14:58

presario
Member
From: Tashkent, Uzbekistan
Registered: 2008-12-07
Posts: 57
Website

Re: consequences of changing system date

the reason is not so important to tell i think
it's needed to keep our sms software functioning for another two years big_smile
it's daemon based, so i'll stop it, change the date, and start it again


Running ArchLinux on Compaq Presario v2000

Offline

#4 2009-07-27 11:15:47

robmaloy
Member
From: Germany
Registered: 2008-05-14
Posts: 263

Re: consequences of changing system date

what else are you running on the server?

edit: how does it send the SMS?

Last edited by robmaloy (2009-07-27 11:16:18)


☃ Snowman ☃

Offline

#5 2009-07-27 11:25:36

presario
Member
From: Tashkent, Uzbekistan
Registered: 2008-12-07
Posts: 57
Website

Re: consequences of changing system date

i forgot to mention that there are actually 4 servers, sms server is one of them
i need to change the date only on sms server (gentoo)
it sends/receives sms using smpp protocol
all incoming messages are inserted to the database
the software checks a table in the database at some interval and if it finds new entries (outgoing messages) it tries to send them
i think all the rest software/daemons are common to many distros (i mean installed by default)
anyway, what commands would give useful output?

Last edited by presario (2009-07-27 11:26:14)


Running ArchLinux on Compaq Presario v2000

Offline

#6 2009-07-27 12:29:52

robmaloy
Member
From: Germany
Registered: 2008-05-14
Posts: 263

Re: consequences of changing system date

i'd wonder what happens if your server sends 2 year old SMS to the SMSC and receives SMS dating 2 years in the future :>

consider buying a new license big_smile


☃ Snowman ☃

Offline

#7 2009-07-27 13:05:38

presario
Member
From: Tashkent, Uzbekistan
Registered: 2008-12-07
Posts: 57
Website

Re: consequences of changing system date

robmaloy wrote:

i'd wonder what happens if your server sends 2 year old SMS to the SMSC and receives SMS dating 2 years in the future :>

consider buying a new license big_smile

that kind of problems wont happen since new outgoing messages are selected using different/additional criteria
moreover it's not only about this particular case
it's a real problem, i would be interested to get some (new) advices even i decide to buy new license


Running ArchLinux on Compaq Presario v2000

Offline

#8 2009-07-27 15:30:41

Rasi
Member
From: Germany
Registered: 2007-08-14
Posts: 1,914
Website

Re: consequences of changing system date

Changing the date does not make this more legal... When your license is not valid anymore you are simply not allowed to use the software anymore. Period.


He hoped and prayed that there wasn't an afterlife. Then he realized there was a contradiction involved here and merely hoped that there wasn't an afterlife.

Douglas Adams

Offline

#9 2009-07-27 15:42:45

Misfit138
Misfit Emeritus
From: USA
Registered: 2006-11-27
Posts: 4,189

Re: consequences of changing system date

This thread is being closed for violating the forum rules. Please consider reviewing them.
(in my sig)

Offline

Board footer

Powered by FluxBB