Menu

#4813 System Time - Time Server Sync broken

1.810
open
nobody
None
5
2016-09-07
2016-08-31
No

If I go to Webmin > Hardware > System Time > Time server sync, enter a server such as "uk.pool.ntp.org" and select "Synchronize on schedule" with a default schedule then click "Sync and Apply" the settings aren't saved and nothing happens. There's a delay of several seconds so perhaps something is timing out.

This is on Ubuntu 16.04.1 LTS. I had it working before on Ubuntu 14.04 but I can't remember how, sorry. I want to change the schedule to hourly so I don't lock myself out of 2fa. I checked with apt-get that ntp and ntpdate are installed. The timedatectl command does work from the command line.

By the way, I think the menu category should be "System" not "Hardware" especially since I'm running on a VPS and I've changed that in Webmin Configuration > Reassign Modules.

Related

Bugs: #4813

Discussion

  • Jamie Cameron

    Jamie Cameron - 2016-09-01

    Does any error get logged to /var/webmin/miniserv.error when you click the Sync button?

     
    • Phil McKerracher

      Hard to tell because there are 10,000 messages in the log (in just a couple
      of days) and timestamps are rare. Here are the messages that happened at
      about the same time:

      Failed to initialize SSL connection

      untie attempted while 1 inner references still exist at
      /usr/share/webmin/ajaxterm/index.cgi line 44.

      untie attempted while 1 inner references still exist at
      /usr/share/webmin/ajaxterm/index.cgi line 86.

      Failed to initialize SSL connection

      Unescaped left brace in regex is deprecated, passed through in regex; marked
      by <-- HERE in
      m/(ui_print_header|ui_print_unbuffered_header)([^,]+,[^,]*(\$text{ <-- HERE
      '([^']+)'|\$text{"([^"]+)"|\&text('([^']+)'|\&text("([^"]+)")/ at
      /usr/share/webmin/webmin-search-lib.pl line 288.

      Unescaped left brace in regex is deprecated, passed through in regex; marked
      by <-- HERE in
      m/(ui_print_header|ui_print_unbuffered_header)([^,]+,[^,]*(\$text{'([^']+)'
      |\$text{ <-- HERE "([^"]+)"|\&text('([^']+)'|\&text("([^"]+)")/ at
      /usr/share/webmin/webmin-search-lib.pl line 288.

      Unescaped left brace in regex is deprecated, passed through in regex; marked
      by <-- HERE in m/(^|\s|mail_page_)header(\s*(\$text{ <-- HERE
      '([^']+)'|\$text{"([^"]+)"|\&text('([^']+)'|\&text("([^"]+)")/ at
      /usr/share/webmin/webmin-search-lib.pl line 294.

      Unescaped left brace in regex is deprecated, passed through in regex; marked
      by <-- HERE in m/(^|\s|mail_page_)header(\s*(\$text{'([^']+)'|\$text{ <--
      HERE "([^"]+)"|\&text('([^']+)'|\&text("([^"]+)")/ at
      /usr/share/webmin/webmin-search-lib.pl line 294.

      untie attempted while 1 inner references still exist at
      /usr/share/webmin/ajaxterm/index.cgi line 44.

      untie attempted while 1 inner references still exist at
      /usr/share/webmin/ajaxterm/index.cgi line 86.

      Failed to initialize SSL connection

      [01/Sep/2016:22:51:51 +0100] [86.147.107.18] Document follows : This web
      server is running in SSL mode. Try the URL https://mail.beeches.it:11100/
      instead.

      Failed to initialize SSL connection

      Failed to initialize SSL connection

      Failed to initialize SSL connection

      Failed to initialize SSL connection

      Failed to initialize SSL connection

      Failed to initialize SSL connection

      Failed to initialize SSL connection

      Failed to initialize SSL connection

      Failed to initialize SSL connection

      Failed to initialize SSL connection

      [01/Sep/2016:23:02:23 +0100] [86.147.107.18] Document follows : This web
      server is running in SSL mode. Try the URL https://mail.beeches.it:11100/
      instead.

      From: Jamie Cameron [mailto:jcameron@users.sf.net]
      Sent: 01 September 2016 5:26
      To: [webadmin:bugs] 4813@bugs.webadmin.p.re.sf.net
      Subject: [webadmin:bugs] #4813 System Time - Time Server Sync broken

      Does any error get logged to /var/webmin/miniserv.error when you click the
      Sync button?


      [bugs:#4813] https://sourceforge.net/p/webadmin/bugs/4813/ System Time -
      Time Server Sync broken

      Status: open
      Group: 1.810
      Created: Wed Aug 31, 2016 04:24 PM UTC by Phil McKerracher
      Last Updated: Wed Aug 31, 2016 04:24 PM UTC
      Owner: nobody

      If I go to Webmin > Hardware > System Time > Time server sync, enter a
      server such as "uk.pool.ntp.org" and select "Synchronize on schedule" with a
      default schedule then click "Sync and Apply" the settings aren't saved and
      nothing happens. There's a delay of several seconds so perhaps something is
      timing out.

      This is on Ubuntu 16.04.1 LTS. I had it working before on Ubuntu 14.04 but I
      can't remember how, sorry. I want to change the schedule to hourly so I
      don't lock myself out of 2fa. I checked with apt-get that ntp and ntpdate
      are installed. The timedatectl command does work from the command line.

      By the way, I think the menu category should be "System" not "Hardware"
      especially since I'm running on a VPS and I've changed that in Webmin
      Configuration > Reassign Modules.


      Sent from sourceforge.net because you indicated interest in
      https://sourceforge.net/p/webadmin/bugs/4813/

      To unsubscribe from further messages, please visit
      https://sourceforge.net/auth/subscriptions/

       

      Related

      Bugs: #4813

    • Phil McKerracher

      By the way, I get the same problem with the DKIM setting screen - it seemed
      to accept the settings the first time I used it but now it ignores all
      changes.

      --
      Phil McKerracher
      +44 7565 803841
      http://www.beechesit.uk www.beechesit.uk

      From: Jamie Cameron [mailto:jcameron@users.sf.net]
      Sent: 01 September 2016 5:26
      To: [webadmin:bugs] 4813@bugs.webadmin.p.re.sf.net
      Subject: [webadmin:bugs] #4813 System Time - Time Server Sync broken

      Does any error get logged to /var/webmin/miniserv.error when you click the
      Sync button?


      [bugs:#4813] https://sourceforge.net/p/webadmin/bugs/4813/ System Time -
      Time Server Sync broken

      Status: open
      Group: 1.810
      Created: Wed Aug 31, 2016 04:24 PM UTC by Phil McKerracher
      Last Updated: Wed Aug 31, 2016 04:24 PM UTC
      Owner: nobody

      If I go to Webmin > Hardware > System Time > Time server sync, enter a
      server such as "uk.pool.ntp.org" and select "Synchronize on schedule" with a
      default schedule then click "Sync and Apply" the settings aren't saved and
      nothing happens. There's a delay of several seconds so perhaps something is
      timing out.

      This is on Ubuntu 16.04.1 LTS. I had it working before on Ubuntu 14.04 but I
      can't remember how, sorry. I want to change the schedule to hourly so I
      don't lock myself out of 2fa. I checked with apt-get that ntp and ntpdate
      are installed. The timedatectl command does work from the command line.

      By the way, I think the menu category should be "System" not "Hardware"
      especially since I'm running on a VPS and I've changed that in Webmin
      Configuration > Reassign Modules.


      Sent from sourceforge.net because you indicated interest in
      https://sourceforge.net/p/webadmin/bugs/4813/

      To unsubscribe from further messages, please visit
      https://sourceforge.net/auth/subscriptions/

       

      Related

      Bugs: #4813

      • Jamie Cameron

        Jamie Cameron - 2016-09-03

        I wonder if maybe your browser is caching the old content of the form?

        On 01/Sep/2016 15:31 Phil McKerracher philmck@users.sf.net wrote ..

        By the way, I get the same problem with the DKIM setting screen - it seemed to accept the settings the first time I used it but now it ignores all changes.

        -- Phil McKerracher +44 7565 803841 http://www.beechesit.uk www.beechesit.uk

        From: Jamie Cameron [mailto:jcameron@users.sf.net] Sent: 01 September 2016 5:26 To: [webadmin:bugs] 4813@bugs.webadmin.p.re.sf.net Subject: [webadmin:bugs] #4813 System Time - Time Server Sync broken

        Does any error get logged to /var/webmin/miniserv.error when you click the Sync button?

        [bugs:#4813] https://sourceforge.net/p/webadmin/bugs/4813/ System Time - Time Server Sync broken

        Status: open Group: 1.810 Created: Wed Aug 31, 2016 04:24 PM UTC by Phil McKerracher Last Updated: Wed Aug 31, 2016 04:24 PM UTC Owner: nobody

        If I go to Webmin > Hardware > System Time > Time server sync, enter a server such as "uk.pool.ntp.org" and select "Synchronize on schedule" with a default schedule then click "Sync and Apply" the settings aren't saved and nothing happens. There's a delay of several seconds so perhaps something is timing out.

        This is on Ubuntu 16.04.1 LTS. I had it working before on Ubuntu 14.04 but I can't remember how, sorry. I want to change the schedule to hourly so I don't lock myself out of 2fa. I checked with apt-get that ntp and ntpdate are installed. The timedatectl command does work from the command line.

        By the way, I think the menu category should be "System" not "Hardware" especially since I'm running on a VPS and I've changed that in Webmin Configuration > Reassign Modules.

        Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/webadmin/bugs/4813/

        To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/

        [bugs:#4813] System Time - Time Server Sync broken

        Status: open Group: 1.810 Created: Wed Aug 31, 2016 04:24 PM UTC by Phil McKerracher Last Updated: Thu Sep 01, 2016 04:26 AM UTC Owner: nobody

        If I go to Webmin > Hardware > System Time > Time server sync, enter a server such as "uk.pool.ntp.org" and select "Synchronize on schedule" with a default schedule then click "Sync and Apply" the settings aren't saved and nothing happens. There's a delay of several seconds so perhaps something is timing out.

        This is on Ubuntu 16.04.1 LTS. I had it working before on Ubuntu 14.04 but I can't remember how, sorry. I want to change the schedule to hourly so I don't lock myself out of 2fa. I checked with apt-get that ntp and ntpdate are installed. The timedatectl command does work from the command line.

        By the way, I think the menu category should be "System" not "Hardware" especially since I'm running on a VPS and I've changed that in Webmin Configuration > Reassign Modules.

        Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/webadmin/bugs/4813/

        To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/

         

        Related

        Bugs: #4813

  • Phil McKerracher

    No it's not that, I checked using incognito mode and a different browser.

    Both problems (NTP and DKIM settings) are dead easy to reproduce though (I've checked, in case I broke things somehow) - just fire up Ubuntu 16.04 in a VM with default config, run the virtualmin install.sh and post-install config then go to the setting screens in question.

    I see the ntp package is deprecated now in Ubuntu, which might have something to do with it.

    I've managed to get DKIM working manually by following the Ubuntu tutorial but the setting screen still thinks it's disabled.

    At the moment I'm still firefighting all the other things that have been broken by the new OS (mainly apps not working with PHP 7) but I'll investigate a bit more when I can and make some suggestions. The standard postfix config in particular is quite vulnerable out of the box without postscreen and postsrs and some cipher tuning - this time I'm documenting my changes.

     
  • Jamie Cameron

    Jamie Cameron - 2016-09-05

    One thing you should try is switching the Webmin theme back from the new Authentic theme to the previous default. This can be done at Webmin -> Change Language and Theme, by selecting "Virtualmin framed theme"

     
    • Phil McKerracher

      Good idea - and it worked for the NTP setting. I'm not sure why the theme
      changes the functionality but at least there's a workaround. So should I
      raise a new bug on Authentic theme?

      It didn't make any difference for the DKIM setting so I guess I should raise
      a separate bug for that.

      --
      Phil McKerracher
      +44 7565 803841
      http://www.beechesit.uk www.beechesit.uk

      From: Jamie Cameron [mailto:jcameron@users.sf.net]
      Sent: 05 September 2016 18:43
      To: [webadmin:bugs] 4813@bugs.webadmin.p.re.sf.net
      Subject: [webadmin:bugs] #4813 System Time - Time Server Sync broken

      One thing you should try is switching the Webmin theme back from the new
      Authentic theme to the previous default. This can be done at Webmin ->
      Change Language and Theme, by selecting "Virtualmin framed theme"


      [bugs:#4813] https://sourceforge.net/p/webadmin/bugs/4813/ System Time -
      Time Server Sync broken

      Status: open
      Group: 1.810
      Created: Wed Aug 31, 2016 04:24 PM UTC by Phil McKerracher
      Last Updated: Sat Sep 03, 2016 08:30 PM UTC
      Owner: nobody

      If I go to Webmin > Hardware > System Time > Time server sync, enter a
      server such as "uk.pool.ntp.org" and select "Synchronize on schedule" with a
      default schedule then click "Sync and Apply" the settings aren't saved and
      nothing happens. There's a delay of several seconds so perhaps something is
      timing out.

      This is on Ubuntu 16.04.1 LTS. I had it working before on Ubuntu 14.04 but I
      can't remember how, sorry. I want to change the schedule to hourly so I
      don't lock myself out of 2fa. I checked with apt-get that ntp and ntpdate
      are installed. The timedatectl command does work from the command line.

      By the way, I think the menu category should be "System" not "Hardware"
      especially since I'm running on a VPS and I've changed that in Webmin
      Configuration > Reassign Modules.


      Sent from sourceforge.net because you indicated interest in
      https://sourceforge.net/p/webadmin/bugs/4813/

      To unsubscribe from further messages, please visit
      https://sourceforge.net/auth/subscriptions/

       

      Related

      Bugs: #4813

  • Jamie Cameron

    Jamie Cameron - 2016-09-07
     

Log in to post a comment.