NeXpose, msf and the postgresql error fix

Started by nXXo, March 11, 2014, 11:43:01 AM

Previous topic - Next topic

nXXo

If you use nexpose and msf in same with backbox you can have a error message in nexpose or msf its normal The reason is both Metasploit and Nexpose uses two separate PostreSQL databases and if one DB starts at port 5432 the other will fail. The solution is edit the system postgreSQL configuration file at /etc/postgresql/9.1/main/postgresql.conf. Look for the line:
port = 5432
and change it to anything else other than this default port number. For example:
port = 54321

Then go to the <Metasploit installation directory>/opt/bacbox/config/database.yml and change the PostgreSQL port there to the one you configured in the postgresql.conf file.

See you  ;D