The Time Sync module does not seem to be working any more. Not sure if the latest version 1.40 broke it or a previous version. When adding timeserver and details then clicking sync and apply the details are 1) not saved 2) no syncing takes place. Checking /etc/webmin/time shows that config file is not updated and compared to other servers, there is no sync.pl file.
Logged In: YES
user_id=129364
Originator: NO
Doh .. sorry, I broke that feature by mistake in the 1.400 release of Webmin when I re-did the UI for that module.
The quick fix is to edit time/index.cgi under the Webmin root directory (usually /usr/libexec/webmin or /usr/share/webmin), and change line 179 to :
print &ui_form_end([ [ "action", $text{'index_sync'} ] ]);
Logged In: YES
user_id=1163302
Originator: NO
This problem seems to have been addressed in 1.4.10. The updates to the root crontab on solaris 5.8 are correct and in the Time server sync tab, choosing 'sync and apply' does what it should. Setting the time in the Set time tab does what it should. There remains a small problem for at least one portion, at least that I can see.
Server Sun E-250 with Solaris 5.8 with xntpd running, webmin 1-4.10 upgraded 2008-04-16.
If I change the time to an incorrect time (say 5 mins ahead or behind actual time) the automatic sync (cron job - timesync.pl) does not modify the time. I have tested several times, and will continue to test on the two other non-production systems I have available, one with solaris 5.8 and one with solaris 5.10, both E-250 hardware.
Webmin Version 1.4-10 does not appear to support hardware clock for this server. Without downgrading to find out, I believe that 1.3x did support hardware clock on this system.
Thanks for the time and efforts.
Cheers
Logged In: YES
user_id=129364
Originator: NO
One possible cause of the time not being synced if more than 5 mins out of date is the ntpdate command's reluctance to make large time changes.
As for hardware time, what is the command for getting and setting this on Solaris? Currently Webmin only knows how to do it on Linux..