Issue with PostgreSQL Connection in Metasploit on Parrot for UTM (Mac Silicon)

Hi everyone,

I recently downloaded the Parrot OS virtualized version from the official site for use with UTM on my Mac with an M1 chip. It runs well overall, but I’m experiencing an issue with PostgreSQL not connecting properly with Metasploit and Armitage.

Although the PostgreSQL service appears to be running, when I check the database status in Metasploit (msf >> db_status), I get the message:

[*] postgresql selected, no connection

I haven’t modified any configurations since the download, so I assumed it should work out of the box. Has anyone encountered this before, or does anyone have suggestions on resolving this connection issue?

Thanks in advance!

  • ParrotOS iso in use:
    Parrot-security-6.2_arm64.utm

  • Application used for flashing the iso:
    UTM

  • Logs/Terminal output (use pastebin or similar services):

  • Screenshots:

you first need to set up the database before you can connect to it and use it. run in terminal;

msfconsole
msfdb init
msfconsole

that will install the database and populate it for the first use, and your metasploit will be ready for work.

more help in the docs if you need it;

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.