I have an OpenSuSE 11.1 web server. For some reason the time will not stay with what I set it to.
I go into Personal Settings and adjust the date/time and no matter what it keeps defaulting back to december of 2007.
This is a virtual machine sitting on VMware ESXi 3.5. I noticed that the time in the BIOS was also off by the same date. I adjusted it there and still the time is incorrect within the OS.
As soon as I boot into the OS, it displays december of 2007. I check the BIOS again and it reverts back.
I understand that I should probably check vmware forums…but if you have any suggestions I would greatly appreciate it.
I think I would visit YaST / System / Time and Date and make sure you did not have “Hardware Clock set to UTC” checked. I would make sure I had the correct time zone selected for my area. You can select the change button and make sure you have selected “Synchronize with NTP server” selected. You know I don’t do this all the time and the lowest openSUSE version I have is 11.2, but I remember entering the name “pool.ntp.org” and a correct name for my area was then located for me and set. I have enable the ntp server in the runlevel section for 3 and 5. Anyway, I get the right time set automatically and I guess I am a local network ntp time repeater.
that means it is no longer receiving security updates/patches…
you should NOT expose that server to the internet…instead, you need
to move to a fully patched, in support openSUSE 11.2 or 11.3 as soon
as possible…
–
DenverD
CAVEAT: http://is.gd/bpoMD
[NNTP posted w/openSUSE 11.3, KDE4.5.5, Thunderbird3.0.11, nVidia
173.14.28 3D, Athlon 64 3000+]
“It is far easier to read, understand and follow the instructions than
to undo the problems caused by not.” DD 23 Jan 11
I would love to be on a newer version. But the thing is that the web application that I am using requires a function that has been discontinued in newer versions of PHP.
11.1 is the latest version that I can use.
Does anyone know any alternatives? The issue I had with 11.2 was with a "Function set_magic_quotes_runtime() is deprecated " error within my PHP application. According to what I was told, set_magic_quotes_runtime() no longer available.
> Does anyone know any alternatives? The issue I had with 11.2 was with a
> "Function set_magic_quotes_runtime() is deprecated " error within my PHP
> application. According to what I was told, set_magic_quotes_runtime() no
> longer available.
You should ask this on a different thread, perhaps a different subforum, too.
And, if there is no solution, you should consider migrating to SLES or
Evergreen.
–
Cheers / Saludos,
Carlos E. R.
(from 11.2 x86_64 “Emerald” at Telcontar)
That’s an interesting date and time, is it of significance? And could you have a CMOS battery issue?
Virtual machines seem to always have the wrong time, usually I just adjust the time.
When openSUSE reboots it sets the hardware clock to the system time.
If NTP is not working for you which IMHO, is a bug in 11.1 then you can adjust the time and use a root crontab to adjust the time.
manual time adjustment,
As a root crontab entry
### using sntp to set the clock every other hour on the 1/2 hour
30 0-23/2 * * * /usr/sbin/sntp -r now.cis.okstate.edu ntp.your.org asynchronos.iiss.at clock.via.net 0.us.pool.ntp.org
man 1 crontab
man 5 crontab
man sntp
If you make the sntp a bash script then you can add the date function before and after to check changes. Verify sntp works,
> Virtual machines seem to always have the wrong time,
Not in my case. VMware has tools to sync the host and the guest, depending
on config. It wastes resources if you use an ntp daemon in the guest to
sync a virtual clock to the world: it is faster to just mimic the real,
host, clock.
–
Cheers / Saludos,
Carlos E. R.
(from 11.2 x86_64 “Emerald” at Telcontar)
On 2011-02-24 05:36, jthiatt08 wrote:
>
> Add clock=pit to the kernel stanza in the menu.lst file of your guest
> VM.
>
> Example
> kernel /boot/vmlinuz root=/dev/sda3 clock=pit
>
> You will need to reboot the guest VM after you make the change.