PostgreSQL uses port 5432 by default. However, ZENworks uses 54327 port for PostgreSQL. You can change the port on which the database runs.
In the zenworks_database.conf file, specify the new port number on which the server listens to.
The zenworks_database.conf file is located in %ZENSERVER_HOME%\conf on Windows and in /etc/opt/microfocus/zenworks on Linux.
In the zdm.xml and zenaudit.xml files on all the Primary Servers, specify the new port number in the following entry:
<entry key="Port">54327</entry>
By default, the entry lists the default port number, 54327.
The zdm.xml and zenaudit.xml files are located in %ZENSERVER_HOME%\conf\datamodel on Windows and in /etc/opt/microfocus/zenworks/datamodel on Linux.
Restart the database service, ZENServer, and ZENLoader services on all Primary servers:
On Windows:
From the Windows desktop Start menu, click Settings > Control Panel.
Double-click Administrative Tools > Services.
Restart the following services: Micro Focus ZENworks Embedded Datastore, Novell ZENworks Loader Service, and Micro Focus ZENworks Server.
On Linux: At the console prompt, enter the following commands in the order given:
On SLES 12:
systemctl stop microfocus-zenserver.service
systemctl stop microfocus-zenloader.service
systemctl restart zenpostgresql
systemctl start microfocus-zenserver.service
systemctl start microfocus-zenloader.service
Run microfocus-zenworks-configure -c GenerateOSPProperties