Highlighted
Super Contributor.. Super Contributor..
Super Contributor..
956 views

Getting error trying to install Service Manager Service Portal

Jump to solution

I am in the process of install the Service Manager Service Portal on a DEV system.  I'm at the point where I am install the Service Portal (setup.sh install ....).

The install keeps getting an error and stopping.  The error received is:

INFO postgresql: 

INFO postgresql: checkPostgresVersion: 

INFO postgresql: [echo] Postgresql version: sh: psql: command not found 

ERROR postgresql: 

ERROR postgresql: BUILD FAILED 

ERROR postgresql: /opt/hp/propel-setup-2.20.p1.smsp950-20161012-223512/res/postgresql-2.20.p1-rc.0.jar.exploded/actions/build.xml:71: unless=supported.version 

ERROR postgresql: 

ERROR postgresql: Total time: 0 seconds 

java.lang.RuntimeException: Action 'ant:enablePostgres' returns 1 

at com.hp.setup.custom.CustomActionManager.partAction(CustomActionManager.java:66) 

at com.hp.setup.custom.CustomActionManager.executePhase(CustomActionManager.java:48) 

at com.hp.setup.cli.InstallCommand.installParts(InstallCommand.java:143) 

at com.hp.setup.cli.InstallCommand.call(InstallCommand.java:113) 

at com.hp.setup.cli.InstallCommand.call(InstallCommand.java:32) 

at com.hp.setup.cli.Main.main(Main.java:119) 

------ install exits with 1 ------

Does anyone know what this error means and how I might be able to correct it. 

Thanks,

 

0 Likes
1 Solution

Accepted Solutions
Highlighted
Honored Contributor.. Honored Contributor..
Honored Contributor..

Re: Getting error trying to install Service Manager Service Portal

Jump to solution

It is a known problem that is resolved in HPSM Portal 9.51. Download the patch (which is not really a patch, it reinstalls Portal from the beginning) and you should be ok.

Patch No: HPSM_00883

View solution in original post

3 Replies
Highlighted
Honored Contributor.. Honored Contributor..
Honored Contributor..

Re: Getting error trying to install Service Manager Service Portal

Jump to solution

It is a known problem that is resolved in HPSM Portal 9.51. Download the patch (which is not really a patch, it reinstalls Portal from the beginning) and you should be ok.

Patch No: HPSM_00883

View solution in original post

Highlighted
Contributor.. Contributor..
Contributor..

Re: Getting error trying to install Service Manager Service Portal

Jump to solution

This solution, don´t work. the error continue.

INFO postgresql: Buildfile: /opt/hp/propel-setup-2.20.p2.smsp951-20161222-224754/res/postgresql-2.20.p1-rc.0.jar.exploded/actions/build.xml
INFO postgresql:
INFO postgresql: checkPostgresVersion:
INFO postgresql: [echo] Postgresql version: 9.2
INFO postgresql:
INFO postgresql: checkOsVersion:
INFO postgresql: [echo] OS version: 7.2
INFO postgresql:
INFO postgresql: enablePostgres:
INFO postgresql: [exec] sed: no se puede leer /usr/lib/systemd/system/postgresql-9.2.service: No existe el fichero o el directorio
ERROR postgresql: [exec] Result: 2
INFO postgresql: [echo] postgresql-9.2 enabled.
INFO postgresql:
INFO postgresql: BUILD SUCCESSFUL
INFO postgresql: Total time: 3 seconds
INFO * invoking action 'ant:restartPostgres' (phase postinst)
INFO postgresql: Buildfile: /opt/hp/propel-setup-2.20.p2.smsp951-20161222-224754/res/postgresql-2.20.p1-rc.0.jar.exploded/actions/build.xml
INFO postgresql:
INFO postgresql: checkPostgresVersion:
INFO postgresql: [echo] Postgresql version: 9.2
INFO postgresql:
INFO postgresql: checkOsVersion:
INFO postgresql: [echo] OS version: 7.2
INFO postgresql:
INFO postgresql: restartPostgres:
INFO postgresql: [systemctl-restart] Failed to restart postgresql-9.2.service: Unit is not loaded properly: Invalid argument.
INFO postgresql: [systemctl-restart] See system logs and 'systemctl status postgresql-9.2.service' for details.
ERROR postgresql:
ERROR postgresql: BUILD FAILED
ERROR postgresql: /opt/hp/propel-setup-2.20.p2.smsp951-20161222-224754/res/postgresql-2.20.p1-rc.0.jar.exploded/actions/build.xml:118: The following error occurred while executing this line:
ERROR postgresql: /opt/hp/propel-setup-2.20.p2.smsp951-20161222-224754/res/postgresql-2.20.p1-rc.0.jar.exploded/actions/build.xml:27: exec returned: 1
ERROR postgresql:
ERROR postgresql: Total time: 0 seconds
java.lang.RuntimeException: Action 'ant:restartPostgres' returns 1
at com.hp.setup.custom.CustomActionManager.partAction(CustomActionManager.java:66)
at com.hp.setup.custom.CustomActionManager.executePhase(CustomActionManager.java:48)
at com.hp.setup.cli.InstallCommand.installParts(InstallCommand.java:143)
at com.hp.setup.cli.InstallCommand.call(InstallCommand.java:113)
at com.hp.setup.cli.InstallCommand.call(InstallCommand.java:32)
at com.hp.setup.cli.Main.main(Main.java:119)
------ install exits with 1 ------

0 Likes
Highlighted
Honored Contributor.. Honored Contributor..
Honored Contributor..

Re: Getting error trying to install Service Manager Service Portal

Jump to solution

This is not the same error. Something else is going on. Did you try installing the Portal on a fresh OS installation?

One of the errors indicates that a directory doesn't exist. Did you run the script as the root user?

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.