This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Error in OO Linux installation

We have this error in a Suse Linux installation. 

suse12:/opt # bash installer-oo-designer-linux64-2021.02.bin
decompressing...
invoking installer...
Exception in thread "main" java.lang.UnsatisfiedLinkError: Could not load SWT library. Reasons:
no swt-pi-gtk-4234 in java.library.path
no swt-pi-gtk in java.library.path
Can't load library: /root/.swt/lib/linux/x86_64/libswt-pi-gtk-4234.so
Can't load library: /root/.swt/lib/linux/x86_64/libswt-pi-gtk.so
/root/.swt/lib/linux/x86_64/libswt-pi-gtk-4234.so: libgtk-x11-2.0.so.0: cannot open shared object file: No such file or directory

at org.eclipse.swt.internal.Library.loadLibrary(Unknown Source)
at org.eclipse.swt.internal.Library.loadLibrary(Unknown Source)
at org.eclipse.swt.internal.gtk.OS.<clinit>(Unknown Source)
at org.eclipse.swt.internal.Converter.wcsToMbcs(Unknown Source)
at org.eclipse.swt.internal.Converter.wcsToMbcs(Unknown Source)
at org.eclipse.swt.widgets.Display.<clinit>(Unknown Source)
at com.microfocus.itom.wizard.core.WizardDialogImpl.<init>(WizardDialogImpl.java:24)
at com.microfocus.itom.wizard.WizardDialog.create(WizardDialog.java:69)
at com.hpe.webstudio.wizard.InstallerWizard.showWizard(InstallerWizard.java:252)
at com.hpe.webstudio.wizard.InstallerWizard.<init>(InstallerWizard.java:118)
at com.hpe.webstudio.wizard.OoInstallerWizard.main(OoInstallerWizard.java:14)
/opt

How we can resolve this issue. Also if we execute by the silent.properties file it works but fails and show this error:

attempting to read silent properties from: /opt/silent.properties ... found
installation log initialized, see log file at: /usr/microfocus/oo/installer.log
Unable to move /usr/microfocus/oo/central/bin/linux64/sql to /usr/microfocus/oo/central/bin/linux64
Deploy Central: failure Unable to move /usr/microfocus/oo/central/bin/linux64/sql to /usr/microfocus/oo/central/bin/linux64
Deploy Central: failure Unable to move /usr/microfocus/oo/central/bin/linux64/sql to /usr/microfocus/oo/central/bin/linux64
/opt

  • Verified Answer

    +1

    Hello JoseDeLeon,

    I have actually encountered those same errors (both) within my lab environment when attempting to install OO 2022.05.

    The first error is being encountered when performing a non-silent installation of OO requires graphics.

    In my case, I was installing on Oracle Linux 8.6 and I installed gtk2.x86_64.  Once that was installed, I was able to continue the non-silent installation.  You can find the corresponding rpm for your environment.

    Please note that you will need to be a graphic console or use an X-emulator to forward to a Windows system.

    As for the 'Unable to move' errors.  I was confused by that one initially.  Later, I was informed that the installation assumes that this is a clean installation.  If there was a failed partial installation, it is required to uninstall it and clean up the corresponding directories, etc.  Then it will move beyond that point.  I found this to be correct.

    I hope that this helps.

    Regards,

    Mark

  • 0 in reply to 

    Hi, we use silent install and configure all so now we get this error

    decompressing...
    invoking installer...
    attempting to read silent properties from: /tmp/ooinstaller.C3v0Do/silent.properties ... no luck
    attempting to read silent properties from: /opt/silent.properties ... found
    installation log initialized, see log file at: /opt/microfocus/oo/installer.log
    unable to create database, reason: ERROR: zero-length delimited identifier at or near """"
    Position: 17
    org.postgresql.util.PSQLException: ERROR: zero-length delimited identifier at or near """"
    Position: 17
    at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2532) ~[postgresql-42.2.14.jar:42.2.14]
    at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:2267) ~[postgresql-42.2.14.jar:42.2.14]
    at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:312) ~[postgresql-42.2.14.jar:42.2.14]
    at org.postgresql.jdbc.PgStatement.executeInternal(PgStatement.java:448) ~[postgresql-42.2.14.jar:42.2.14]
    at org.postgresql.jdbc.PgStatement.execute(PgStatement.java:369) ~[postgresql-42.2.14.jar:42.2.14]
    at org.postgresql.jdbc.PgStatement.executeWithFlags(PgStatement.java:310) ~[postgresql-42.2.14.jar:42.2.14]
    at org.postgresql.jdbc.PgStatement.executeCachedSql(PgStatement.java:296) ~[postgresql-42.2.14.jar:42.2.14]
    at org.postgresql.jdbc.PgStatement.executeWithFlags(PgStatement.java:273) ~[postgresql-42.2.14.jar:42.2.14]
    at org.postgresql.jdbc.PgStatement.execute(PgStatement.java:268) ~[postgresql-42.2.14.jar:42.2.14]
    at com.hp.oo.wizard.tasks.DbTask.executeDdl(DbTask.java:195) ~[installation-wizard-commons-2021.02.1.4.jar:?]
    at com.hp.oo.wizard.tasks.CreateDbTask.doExecute(CreateDbTask.java:44) [installation-wizard-commons-2021.02.1.4.jar:?]
    at com.hp.oo.wizard.tasks.AbstractTask.execute(AbstractTask.java:36) [installation-wizard-commons-2021.02.1.4.jar:?]
    at com.hp.oo.wizard.utils.InstallerUtils.executeAllTasks(InstallerUtils.java:34) [installation-wizard-commons-2021.02.1.4.jar:?]
    at com.hp.oo.wizard.InstallerWizard.runSilent(InstallerWizard.java:231) [installation-wizard-commons-2021.02.1.4.jar:?]
    at com.hp.oo.wizard.InstallerWizard.<init>(InstallerWizard.java:142) [installation-wizard-commons-2021.02.1.4.jar:?]
    at com.hp.oo.wizard.OoInstallerWizard.main(OoInstallerWizard.java:14) [oo-installation-wizard-2021.02.1.4.jar:?]
    Create database: failure unable to create database, reason: ERROR: zero-length delimited identifier at or near """"
    Position: 17 org.postgresql.util.PSQLException: ERROR: zero-length delimited identifier at or near """"
    Position: 17
    Create database: failure unable to create database, reason: ERROR: zero-length delimited identifier at or near """"
    Position: 17 org.postgresql.util.PSQLException: ERROR: zero-length delimited identifier at or near """"
    Position: 17
    /opt

    This already stop the installation so we need to uninstall? and try again, how we can resolve the error.

  • 0 in reply to 

    Hello JoseDeLeon,

    To answer your first question, anytime the installation fails, you will need to run the uninstallation again to clean things up before attempting the installation again.

    As for the second question, I do not know what the issue is with this specific error.

    I would suggest that you review the database entries within your silent.properties file as well as look at your PostgreSQL log files.

    The error is being returned by PostgreSQL, so something should be within the PostgreSQL logs to provide more insight.

    On Linux, the PostgreSQL log files are located in the $PGDATA/log directory.  By default, this would be the /var/lib/pgsql/<version>/data/log directory.

    I hope that this helps.

    Regards,

    Mark

  • 0 in reply to 

    Hi Mark_Butler,

    Thanks for the information. We uninstall the central component and then install with other username and then continues. This happen because the first installation fails. So we need to uninstall and change or delete the username to run again with the silent.properties file.

    Best regards,