We are using Ubuntu Azure VM. We have installed Postgres 16.1 in the VM for wiki.js application. All the things are working properly for few hours. later we are getting the issue in Postgres terminal and Postgres got down,
in Postgres log file as
The steps in below link resolved our issue temporarily.
But again we are getting the same error after few hours. We dont know what is the issue. Please help us to understand the issue.
My Azure VM got hacked because the default PostgreSQL port 5432 was exposed publicly.
Because of that malware file added. Refer this
a crypto mining malware that spreads by exploiting flaws in resources that are exposed to the public. Killing the process was of no use since the malware also adds a cron job to replicate itself so that it can’t be stopped.
Fixed the error by,