Re: NTP Issue

marko via leaf-user <[email protected]> Thu, 24 Aug 2023 13:19:18 +1000
Newsgroups gmane.linux.leaf.user
Organization Mechtron Systems
Message-ID <1770672.VLH7GnMWUR@chambourcin>
Hi Robert,

that is crashing the c runtime library, which is unusual for a system that 
works elsewhere on the same hardware.  

there are two things I would do here for trouble shooting
1. check the packages have not been corrupted by testing with an md5sum or 
similar, or just rsyncing good packages from one system to the faulty system.
2. load ntpd last to ensure maximum time for loading.

looking at your working and broken lines, there is a change in order of the 
libc and ntpd loading. 

I have moved to this one line per module style of syntax in leaf.cfg  
I find it easier to work with and also clearer when fixing broken dependencies.  

LRP="$LRP dhcpd"
LRP="$LRP rsync"
LRP="$LRP bbnameif"
LRP="$LRP easyrsa"
LRP="$LRP libcap ntpd"
LRP="$LRP tc"

good luck
marko


On Thursday, 24 August 2023 12:35:25 AM AEST Robert K Coffman Jr. -Info From 
Data Corp. wrote:
>    I'm having another issue with NTP on 7.2.2  (2023-05-28)
> 
>    I noted before I had to add libcap.lrp to leaf.cfg to allow leaf to
>    run.  On my second system I upgraded, ntp crashes at boot:
> 
>    /var/log/kern.log:Aug 23 13:54:55 sweitzer kernel: [   15.422275]
>    traps: ntpd[2734] general protection fault ip:7f619e41f1b4
>    sp:7f619e430a08 error:0 in libgcc_s.so.1[7f619e412000+11000]
> 
>    No log lines are generated from the ntp program.
> 
>    If I start ntp after boot, it starts up and runs fine.
> 
>    I have two systems, both SMP, running the same Leaf release on VMWare
>    6.7U3:
> 
>    Linux sweitzer 5.15.93-x86_64 #1 SMP Sun May 28 11:31:15 CEST 2023
>    x86_64 GNU/Linux
> 
>    Broken:  Intel(R) Core(TM) i5-2500 CPU @ 3.30GHz, MemTotal:
>    747180 kB, LRP="root license local dhcpcd keyboard shorwall dnsmasq
>    dropbear mhttpd webconf dbclient ezipupd libcap ntpd hdsupp openvpn
>    easyrsa tc rsync ethtool"
> 
>    Working: Intel(R) Core(TM) i5-3470 CPU @ 3.20GHz, MemTotal:
>    489900 kB, LRP="root license local dhcpcd keyboard shorwall dnsmasq
>    dropbear mhttpd webconf dbclient ezipupd ntpd libcap hdsupp openvpn
>    easyrsa tc rsync"
> 
>    Looking for any troubleshooting tips.
> 
>    - Robert
> 
> ------------------------------------------------------------------------
> leaf-user mailing list: [email protected]
> https://lists.sourceforge.net/lists/listinfo/leaf-user
> Support Request -- http://leaf-project.org/






------------------------------------------------------------------------
leaf-user mailing list: [email protected]
https://lists.sourceforge.net/lists/listinfo/leaf-user
Support Request -- http://leaf-project.org/