Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
17.7 Legacy Series
»
NTP broken after upgrade
« previous
next »
Print
Pages: [
1
]
Author
Topic: NTP broken after upgrade (Read 7086 times)
gungner
Newbie
Posts: 7
Karma: 0
NTP broken after upgrade
«
on:
August 03, 2017, 09:04:26 am »
Hi, After upgrading to 17.7 the NTP service is broken, please see attachment. It report that another process using the port but I can't find which. Also UnboundDNS is a bit shaky, it restarts from time to time. NTP say's Network is unreachable although the network is fully accessible. Firewall reports pass on all port 123, and it worked flawless in 17.1.
Any ideas what to try, I've tried all what comes to my mind.
cheers, tord
Logged
franco
Administrator
Hero Member
Posts: 17661
Karma: 1611
Re: NTP broken after upgrade
«
Reply #1 on:
August 03, 2017, 09:20:38 am »
Looks like side effects from a different kind of issue: traffic from the firewall itself has trouble connecting to the Internet. I'm not aware of particular Unbound or NTP changes.
Are you using floating rules? Does the firewall log show abnormally dropped packets?
Cheers,
Franco
Logged
gungner
Newbie
Posts: 7
Karma: 0
Re: NTP broken after upgrade
«
Reply #2 on:
August 03, 2017, 03:34:14 pm »
no floating rules, or any dropped packages. It even looks like my WAN address goes out on port 123
Logged
va176thunderbolt
Newbie
Posts: 49
Karma: 4
Nothing is more permanent than a temp solution
Re: NTP broken after upgrade
«
Reply #3 on:
August 03, 2017, 05:43:40 pm »
Not sure if it's related, but I've started getting this after the 17.7 upgrade in my ntp logs:
ntpd[79677]: mlockall(): Cannot allocate memory
Logged
AMD Ryzen 3 1200
GA-A320M-S2H
8GB DDR4
Intel X550-T2 10GB
32GB Industrial SSD
Shuttle SZ270R8
Intel i5-6500
8gb ram
120gb ssd
Intel x540-t2 10gb nic
gungner
Newbie
Posts: 7
Karma: 0
Re: NTP broken after upgrade
«
Reply #4 on:
August 04, 2017, 07:01:52 am »
after endless testing/rebooting and when I was just about to rebuild is started to work even with "ntpd[35280]: mlockall(): Cannot allocate memory". Sorry I can't report what I did since I tried out so many things, now I just keep my fingers crossed.
Update. now I found it. By enabling IPS again it started to fail with the same pattern, NTP stops and Unbound started to get unstable. By disable IPS again, rebooting and all works again. What's wrong with the settings for IPS I don't know
«
Last Edit: August 04, 2017, 07:48:58 am by gungner
»
Logged
gungner
Newbie
Posts: 7
Karma: 0
Re: NTP broken after upgrade
«
Reply #5 on:
August 10, 2017, 09:52:12 am »
In my effort to get IPS working again I've only downloaded only the default rules and disabled them. When Starting. Still, when starting NTP stops and DNS gets instable. I hope for 17.7.1
Logged
franco
Administrator
Hero Member
Posts: 17661
Karma: 1611
Re: NTP broken after upgrade
«
Reply #6 on:
August 15, 2017, 11:12:07 am »
Can you try this patch[1] and reboot?
# opnsense-patch 0b38eff5
Cheers,
Franco
[1]
https://github.com/opnsense/core/commit/0b38eff5
Logged
gungner
Newbie
Posts: 7
Karma: 0
Re: NTP broken after upgrade
«
Reply #7 on:
August 17, 2017, 05:04:38 pm »
I've now applied the patch and tried it again just by Enable & IPS mode, all without any rules enabled (just as the last time I tried). Unfortunate with the same outcome, NTP can't access network and DNS gets unstable. SO from my point of the same problem
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
17.7 Legacy Series
»
NTP broken after upgrade