CABI not starting
search cancel

CABI not starting

book

Article ID: 280737

calendar_today

Updated On:

Products

Spectrum Network Observability

Issue/Introduction

When starting CABI, I am seeing the following:

./startServers.sh
No CA Business Intelligence servers are runnning
Default Postgres database user is: postgres
Default Postgres database port is: 5432
This account is currently not available.
11
22
33
44
55
66
Unable to start Default Postgres database

Environment

Version: Any
Component: CABI/Jasper

Cause

Customer is enforcing the Center for Internet Security (CIS) Benchmarks for Enterprise Linux versions 6-9.  In the RHEL7 benchmark, control 5.5.2 is looking for accounts having a UID lower than 1000, that are set up for interactive access.  These accounts are having their interactive login disabled.  The postgres account (UID=26) is one such account. (Spectrum is 6098 and does not get caught in this 5.5.2 control)

This resulted in the /etc/passwwd entry for the postgres user to be set as follows:

postgres:x:26:26:PostgreSQL Server:/var/lib/pgsql:/usr/sbin/nologin

Resolution

Manually set the /etc/passwwd entry for the postgres user back to the original "/bin/bash" configuration:

postgres:x:26:26::/home/postgres:/bin/bash