Restore issue in Linux - No X11 Display variable was set error

Restore issue in Linux - No X11 Display variable was set error

If the user is getting an error like "No X11 Display variable was set, but this program performed an operation which requires it" as shown in the below screenshot, while restoring in Linux,




It is because, the restore wasn't executed with <backup_file_path> argument after restoreData.sh -c, leading to the restore being attempted to get backup file path in GUI in a headless machine leading to the issue.

Note: This issue occurs in a headless machine. 

>> So, execute the command, restoreData.sh -c <backup_file_path> 

For instance, 

sh restoreData.sh -c D:\SCP_Builds\SCP_11026\backup\backup_postgres_11026_fullbackup_11_26_2022_13_05\backup_postgres_11026_fullbackup_11_26_2022_13_05_part_1.data




                  New to ADSelfService Plus?

                    • Related Articles

                    • Startup issue in Linux after fresh installation_Error code 10001

                      In certain scenario, the application cannot be started just after the fresh install. Below are the error traces, [06:24:57:427]|[10-11-2021]|[pglog]|[INFO]|[18]: -sh: 1: /root/ManageEngine/ServiceDeskPlus-MSP/pgsql/bin/pg_ctl: Permission denied| ...
                    • 10.5 Linux Upgrade failure and solutions

                      Traces in logs : 1. java.lang.Exception: InitPgsqlScript exited with value :: 1 at com.adventnet.persistence.PostgresPreProcessor.executeInitPgsqlScript(PostgresPreProcessor.java:1733) 2. PGSQL Permission related errors. 3. SDP MSP installed as root ...
                    • Linux - Startup issue

                      System Halted error message during startup (Fresh installation)  Error Trace : [16:36:59:243]|[04-15-2021]|[com.adventnet.db.adapter.postgres.DefaultPostgresDBInitializer]|[INFO]|[1]: ErrorStream ::: /opt/MSP/ServiceDeskPlus-MSP/pgsql/bin/psql: error ...
                    • Syntax for SDP MSP migration to Linux

                      While migrating to different database you can use backupdataold.bat. Here backup will be in .data format and this can be restored in across DB platform. Note: Backup from taken from a particular build can be restored only on the same build. Example: ...
                    • Known issue in generating reports in Linux installation

                      Error: Sorry an error has occurred. It appears to be an issue related to the fonts. JDK recommends installing the font on the Linux machine. In general, OpenJDK installation packages do not include any font files by default. But automatically use ...