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:

> 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

Yeah, it happens. But, there is a lot of great stuff in CFEngine in the
last 8 years (Augments and Custom Promise Types to name a couple) and
you should definitely upgrade.

> Regarding your recommendation : 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

Oh, I guess `cf_lastseen.lmdb' isn't in state. It's in `WORKDIR', at
least in 3.6.x.

,----
| [root@hub cfengine]#  find /var/cfengine/ -name "cf_lastseen*"
| /var/cfengine/cf_lastseen.lmdb-lock
| /var/cfengine/cf_lastseen.lmdb.lock
| /var/cfengine/cf_lastseen.lmdb
`----

So, perhaps ...

,----
| service stop cfengine3
| for each in $(ls /var/cfengine/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/87iljhbna6.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.