Re: CF engine is getting aborted with core dump

"'Nick Anderson' via help-cfengine" <[email protected]>
Newsgroups gmane.comp.sysutils.cfengine.general
Message-ID <[email protected]>
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 cfengine3
| for 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/87edu9cv3c.fsf%40precision-5570.home.cmdln.org.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.