PTV xServer: license expire / network problem
Latest License update task:
Update PTV2 license to nightly and stable (https://app.clickup.com/t/86c70c0h5)
There is a file "/opt/xroute/xroute-x64-1.38.0.1/license.ptv" we need to replace this license with the new one.
on the current-old there is a part in the license where are defined ip addresses.
# NOTE: always end with no-net
hostList=172.31.0.86,192.168.1.100,192.168.31.194,172.31.1.53,172.31.0.104,no-net
If we don't have one of this in hostname -I server will not start.
I make script to fix-fake this check. I created script for every restart to add one of this ip's.
For this script I created service for startup. xserver-ipadd.service
/opt/startup# cat startup_script.sh
#!/bin/bash
# This is your startup script content
# Other commands you want to run
sudo ip addres add dev ens4 172.31.1.53
How to update license
- Upload new license.ptv and License.txt to PTVxServer
- copy/move it to
/opt/xroute/xroute-x64-1.38.0.1/opt/xroute/xroute-x64-1.38.0.1_nightly
- Rename old license e.g.
license-2023.ptv & License-2023.txtand name new license tolicense.ptvand text file tolicense.txt- At least in live (
/opt/xroute/xroute-x64-1.38.0.1) we have updated permissions to root:root
- At least in live (
- Restart xroute server
sudo ./xroute.sh start
sudo ./xroute.sh stop
sudo ./xroute.sh status
- In AO side, do distance calculation and check that it works
- AO Backendsrv go to PTV Status Monitor to check new calculations and check License from Configuration ➝ License ➝
license.ptv- PTV 1.0
10.170.0.52:50030Stable10.170.0.52:60030Nightly
- PTV 2.0
10.170.0.52:50050Stable10.170.0.52:60050Nightly
- PTV 1.0
PTV xServer2 License update:
When you have new license: * go to :
/opt/ptvxserver2-testing/xserver-2.31.0
- add license:
- upload it or create new file
- check it after
cat 1715079736799.l4j
Restart service:
sudo systemctl restart xserver-test_nightly.service
For network problem. xserver-ipadd.service