Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
18.1 Legacy Series
»
ntpd not starting / system time wrong
« previous
next »
Print
Pages: [
1
]
Author
Topic: ntpd not starting / system time wrong (Read 5117 times)
memic
Newbie
Posts: 4
Karma: 0
ntpd not starting / system time wrong
«
on:
July 11, 2018, 07:36:40 pm »
Hi,
im on:
OPNsense 18.1.10-amd64
FreeBSD 11.1-RELEASE-p10
OpenSSL 1.0.2o 27 Mar 2018
Starting ntpd manually gives me:
# /usr/local/sbin/ntpd -n no -g -c /var/etc/ntpd.conf -p /var/run/ntpd.pid
7 Mar 09:59:38 ntpd[55858]: ntpd 4.2.8p11@1.3728-o Fri Apr 6 00:59:02 UTC 2018 (1): Starting
7 Mar 09:59:38 ntpd[55858]: Command line: /usr/local/sbin/ntpd -n no -g -c /var/etc/ntpd.conf -p /var/run/ntpd.pid
7 Mar 09:59:38 ntpd[55858]: proto: precision = 0.533 usec (-21)
7 Mar 09:59:38 ntpd[55858]: getconfig: Couldn't open </etc/ntp.conf>: No such file or directory
7 Mar 09:59:38 ntpd[55858]: Listen and drop on 0 v6wildcard [::]:123
7 Mar 09:59:38 ntpd[55858]: Listen and drop on 1 v4wildcard 0.0.0.0:123
7 Mar 09:59:38 ntpd[55858]: Listen normally on 2 igb0 [fe80::20d:b9ff:fe4c:c244%1]:123
7 Mar 09:59:38 ntpd[55858]: Listen normally on 3 igb0 172.16.10.1:123
7 Mar 09:59:38 ntpd[55858]: Listen normally on 4 igb1 [fe80::20d:b9ff:fe4c:c245%2]:123
7 Mar 09:59:38 ntpd[55858]: Listen normally on 5 igb1 192.168.2.2:123
7 Mar 09:59:38 ntpd[55858]: Listen normally on 6 igb1 [2003:a:123a:fb00:20d:b9ff:fe4c:c245]:123
7 Mar 09:59:38 ntpd[55858]: Listen normally on 7 igb2 172.16.11.1:123
7 Mar 09:59:38 ntpd[55858]: Listen normally on 8 igb2 [fe80::20d:b9ff:fe4c:c246%3]:123
7 Mar 09:59:38 ntpd[55858]: Listen normally on 9 lo0 [::1]:123
7 Mar 09:59:38 ntpd[55858]: Listen normally on 10 lo0 [fe80::1%4]:123
7 Mar 09:59:38 ntpd[55858]: Listen normally on 11 lo0 127.0.0.1:123
7 Mar 09:59:38 ntpd[55858]: Listen normally on 12 ovpns1 [fe80::20d:b9ff:fe4c:c244%8]:123
7 Mar 09:59:38 ntpd[55858]: Listen normally on 13 ovpns1 172.16.13.1:123
7 Mar 09:59:38 ntpd[55858]: Listen normally on 14 igb0_vlan1 [fe80::20d:b9ff:fe4c:c244%9]:123
7 Mar 09:59:38 ntpd[55858]: Listen normally on 15 igb0_vlan2 [fe80::20d:b9ff:fe4c:c244%10]:123
7 Mar 09:59:38 ntpd[55858]: Listening on routing socket on fd #36 for interface updates
7 Mar 09:59:38 ntpd[55858]: mlockall(): Cannot allocate memory
7 Mar 09:59:39 ntpd[55858]: ntpd exiting on signal 15 (Terminated)
System time is wrong, year 2017, so my vpn connections wont work.
Any ideas howto solve this?
Regards,
memic
Logged
bartjsmit
Hero Member
Posts: 2005
Karma: 193
Re: ntpd not starting / system time wrong
«
Reply #1 on:
July 11, 2018, 08:36:03 pm »
Post a screenshot of Services: Network Time: General to show settings?
Your time needs to be close to the current time, so set it approximately in the console e.g.
# date 181107183500
Bart...
Logged
franco
Administrator
Hero Member
Posts: 17605
Karma: 1603
Re: ntpd not starting / system time wrong
«
Reply #2 on:
July 11, 2018, 10:17:59 pm »
Crashes may happen with PPS / GPS configs?
Cheers,
Franco
Logged
memic
Newbie
Posts: 4
Karma: 0
Re: ntpd not starting / system time wrong
«
Reply #3 on:
July 12, 2018, 09:38:01 am »
i dont have any pps/gps config.
https://screenshots.firefox.com/0VBnJ05l9466PaLk/172.16.10.1
Logged
mimugmail
Hero Member
Posts: 6764
Karma: 494
Re: ntpd not starting / system time wrong
«
Reply #4 on:
July 12, 2018, 10:02:49 am »
On Interfaces you could set the LAN .. and as suggested by bart and in IRC, set the time manually by hand for one time.
Logged
WWW:
www.routerperformance.net
Support plans:
https://www.max-it.de/en/it-services/opnsense/
Commercial Plugins (German):
https://opnsense.max-it.de/
memic
Newbie
Posts: 4
Karma: 0
Re: ntpd not starting / system time wrong
«
Reply #5 on:
July 12, 2018, 10:58:34 am »
ok did it, but no change, still the same.
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
18.1 Legacy Series
»
ntpd not starting / system time wrong