View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0001001 | Kali Linux | Kali Package Bug | public | 2014-01-28 18:06 | 2025-07-14 09:36 |
| Reporter | jholister | Assigned To | brandont | ||
| Priority | normal | Severity | major | Reproducibility | always |
| Status | closed | Resolution | won't fix | ||
| Platform | Virtualbox | OS | Windows | OS Version | 8.1 |
| Product Version | 1.0.6 | ||||
| Summary | 0001001: Postgresql misconfiguration at boot - Metasploit unable to load databases on VM image. | ||||
| Description | After downloading and installing the VM image, when you run metasploit, you are greeted with an error stating you cannot connect to database. | ||||
| Steps To Reproduce | How to reproduce issue:
| ||||
| Additional Information | After running service postgresql start, ss -ant will reveal that postgresql is operating on port 5433 instead of 5432. This appears to cause the failure. /opt/metasploit/apps/pro/ui/config/database.yml show: /etc/postgresql/9.1/main/postgresql.conf: | ||||
| Attached Files | |||||
|
I got a fix for this issue from the guys at rapid 7 |
|
|
Hi jholister. It looks like you were able to fix this issue. Just curious, do you know why Postgres was originally listening on port 5433 instead of 5432? Metasploit (on Kali) uses the default Postgres port (5432) and expects the system installed Postgres to be listening on that port. Do you have any other software (e.g. Nexpose) with a custom version of Postgres installed? |
|
|
When I installed the "Kali Linux 1.0.6 32 bitVMWare" from: |
|
|
Ok, I've verified my initial issue. It is absolutely reproducable every time I try as listed above. |
|
|
and to answer your question directly: |
|
|
Also of note, this is for the 32bit vm specifically, I'm not sure the same issue occurs on the 64bit vm. |
|
To enable Postgresql in MSF do this onceservice postgresql start |
|
|
This bug is no longer relevant. |
|
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2014-01-28 18:06 | jholister | New Issue | |
| 2014-01-28 18:06 | jholister | File Added: Troubleshoot Kali.JPG | |
| 2014-01-28 19:53 | jholister | File Added: kali troubleshoot 2.JPG | |
| 2014-01-31 09:06 | jholister | Note Added: 0001478 | |
| 2014-02-03 18:42 | brandont | Note Added: 0001486 | |
| 2014-02-03 18:42 | brandont | Assigned To | => brandont |
| 2014-02-03 18:42 | brandont | Status | new => assigned |
| 2014-02-03 23:15 | jholister | Note Added: 0001487 | |
| 2014-02-04 04:46 | jholister | Note Added: 0001488 | |
| 2014-02-04 04:46 | jholister | File Added: initial.JPG | |
| 2014-02-04 04:47 | jholister | File Added: ssant.JPG | |
| 2014-02-04 04:47 | jholister | File Added: postgresconf.JPG | |
| 2014-02-04 04:51 | jholister | Note Added: 0001489 | |
| 2014-02-04 04:52 | jholister | Note Added: 0001490 | |
| 2014-02-10 16:11 | jaimechiquita111 | Note Added: 0001512 | |
| 2015-08-31 12:42 | rhertzog | Note Added: 0003860 | |
| 2015-08-31 12:42 | rhertzog | Status | assigned => closed |
| 2015-08-31 12:42 | rhertzog | Resolution | open => won't fix |
| 2025-07-14 09:36 | g0tmi1k | Priority | high => normal |