Some ports are occupied when the UltraVR is being started. If those ports are occupied by other applications or the format of port numbers is incorrect, the UltraVR cannot be started. You must re-configure ports of the UltraVR.
Prerequisites
- A cross-platform remote access tool, such as PuTTY, has been obtained.
- If the UltraVR management server runs Linux, the password of user root or DRManager has been obtained.
Context
- If the UltraVR fails to be started, the number of occupied ports and incorrect ports will be displayed. You must re-configure the ports that are displayed.
- For details about port functions, see the description in the port.ini file. The port.ini file is stored in the following paths: /opt/UltraVR/Runtime/bin/config/conf
- The configuration requirements of a port number are as follows:
- The value must be digits and unique (a port number cannot be configured at multiple fields).
- Value range: 1024 to 65535 (Linux) and 1024 to 65535 (database port gauss.port)
For example, when the UltraVR Server fails to be started, a message is displayed indicating that the linux.trap.listening.port=10161 port is occupied and the linux.http.to.https.redirect.port=80ab port is with an incorrect format.
Procedure
- Use PuTTY to log in to the UltraVR management server as user root.
- Run the TMOUT=0 command to prevent PuTTY from exiting due to session timeout.
After you run this command, the system continues to run when no operation is performed, resulting a risk. For security purposes, you are advised to run exit to exit the system after completing your operations.
- Run cd /opt/UltraVR/Runtime/bin/config/conf to enter the path for saving the port configuration file.
- Run the vi port.ini command to open the port.ini port configuration file.
- Press i to go to the edit mode and edit the port.ini file.
- Re-configure the port number as prompted or based on the port number configuration requirements. For example, the port numbers to be changed are linux.trap.listening.port=10162 and linux.http.to.https.redirect.port=8080.
- After you have edited the port configuration file, press Esc and enter :wq! to save the changes and close the port.ini file.
- Run cd /opt/UltraVR/Runtime/bin to enter the script save path.
- Run the sh startSystem.sh command to start the UltraVR.
- If the system is successfully restarted, no further operation is required.
- If the system fails to be restarted, continue to configure the port.ini file till the UltraVR is successfully restarted.
Copyright © Huawei Technologies Co., Ltd.