Smarts NCM: Application Server (AS) install fails with fatal error; Error: PREREQ_CHECK_ERR=ERROR: Port tcp 5435 on 127.0.0.1 is required by PostgreSQL, but it is in use by another process.
search cancel

Smarts NCM: Application Server (AS) install fails with fatal error; Error: PREREQ_CHECK_ERR=ERROR: Port tcp 5435 on 127.0.0.1 is required by PostgreSQL, but it is in use by another process.

book

Article ID: 330998

calendar_today

Updated On:

Products

VMware Smart Assurance

Issue/Introduction

Symptoms:


Application Server installation fails with error:

PREREQ_CHECK_ERR=ERROR: Port tcp 5435 on 127.0.0.1 is required by PostgreSQL, but it is in use by another process.

The install fails and the follow error exists in the Smarts NCM debug.log file :

PREREQ_CHECK_ERR=ERROR: Port tcp 5435 on 127.0.0.1 is required by PostgreSQL, but it is in use by another process.

Environment

VMware Smart Assurance - NCM

Cause

Port tcp 5435 is required by Smarts NCM Application server but in use by another process

Resolution

Programs such as netstat, ps aux on linux or the Task Managers on Windows can help determine what program is using the port.

Linux:
netstat -aonp | grep <port>
For example:

netstat -aonp | grep 5435

Windows:
netstat -aon | findstr <port>
For example:
netstat -aon | findstr "5435"

Stopping the process that was running on port 5435 will enable the install to complete with no errors