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 ...
                    • Migration of ServiceDesk Plus from Windows to Linux Server

                      The following instructions will help you migrate the ServiceDesk Plus from Windows to Linux Server 1. Take a trimmed backup using the commands below, cmd> cd [ServiceDesk-Home]\bin cmd> backupdata.bat --trimmed The backup will now be created under ...
                    • 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: ...