Re: CF engine is getting aborted with core dump
Ashish Singh <[email protected]>
| Newsgroups | gmane.comp.sysutils.cfengine.general |
|---|---|
| Message-ID | <CAHfydfpNe6c=g64NhxjD6NG5BgNFKzBUTPv=FYhQutiSafNfJg@mail.gmail.com> |
Hi Nick ,
Thanks for your response !
Yes we are aware of it as its a legacy setup where we are using CFengine
engine and it is very old setup which was migrated to our cloud
infrastructure and version were kept the same to make the application
running as we faced issue with bootstrap and it was working fine with this
version but we will definitely explore that option again but right now we
need to fix this setup to make our agent functional as it is not working .
Regarding your recommendation :
service stop cfengine3for each in $(ls
/var/cfengine/state/cf_lastseen.lmdb*); do mv $each{,$(date
+-%F-%T.bak)}; done
service start cfengine3
i don't see any file with the name cf_lasteen.lmdb . Could you please
look at the screenshot once and help us troubleshoot the issue
[image: image.png]
On Fri, Nov 11, 2022 at 10:00 PM Nick Anderson <[email protected]>
wrote:
> Ashish Singh <[email protected]> writes:
>
> Hellow everyone,
>>
>> Cf engine server stopped working and getting crashed when agent is
>> bootstraping it ….earlier it was working frok more than 1 year suddenly it
>> stops working and getting aborted with core dump .
>>
> Hi Ashish,
>
> First, are you aware that the version of CFEngine you are running is quite
> old? The 3.6 series went out of support back on July 17th 2016. The current
> latest supported version is 3.18.2, released June 29th 2022. 3.15.7 (the
> last in the 3.15 series), 3.18.3 and 3.21.0 (the first in the next LTS
> series) should be released before the end of the year. What are the
> impediments that hold back your upgrades?
>
> To me it looks like you have some corruption in one of the embedded
> databases, probably cf_lastseen.lmdb since it crashes after some peer
> related logging. Newer versions of cfengine have a utility cf-check which
> can help look for an remediate lmdb database issues.Try stopping the
> CFEngine services and moving cf_lastseen.lmdb out of the way and then
> starting the services back up again.
>
> service stop cfengine3for each in $(ls /var/cfengine/state/cf_lastseen.lmdb*); do mv $each{,$(date +-%F-%T.bak)}; done
> service start cfengine3
>
> – Nick Anderson | Doer of Things | (+1) 785-550-1767 |
> https://northern.tech
>
--
You received this message because you are subscribed to the Google Groups "help-cfengine" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To view this discussion on the web visit https://groups.google.com/d/msgid/help-cfengine/CAHfydfpNe6c%3Dg64NhxjD6NG5BgNFKzBUTPv%3DFYhQutiSafNfJg%40mail.gmail.com.
image.png
(image/png, 59.6 KB) - not displayed