There are scenarios where only the PostgreSQL (postgres) service needs to be started or stopped in CABI/JasperReports.
CABI/JasperReports 7.9.x
Start only the PostgreSQL service (it starts with the Postgres account):
su postgres -c '"/opt/CA/SharedComponents/CA Business Intelligence/postgresql/bin/pg_ctl" start -D "/opt/CA/SharedComponents/CA Business Intelligence/postgresql/data" -l "/opt/CA/SharedComponents/CA Business Intelligence/postgresql/logs/logfile1"'
Stop only the PostgreSQL service (it stops with the Postgres account):
su postgres -c '"/opt/CA/SharedComponents/CA Business Intelligence/postgresql/bin/pg_ctl" stop -D "/opt/CA/SharedComponents/CA Business Intelligence/postgresql/data"'
See my demonstration below:
You can also run startServer.sh/stopServers.sh with postgres parameter:
cd /opt/CA/SharedComponents/CA Business Intelligence/
See my demonstration below: