Issue Description:
After upgrading your Linux operating system (e.g., from Ubuntu 18.04 LTS to Ubuntu 20.04 LTS), Access Server may fail to start, and the following error appears in the server logs:
ImportError: module load failed: bad magic number in 'pyovpn'
This error occurs because Access Server is still using the repository from the previous Linux OS version (e.g., Ubuntu 18.04 LTS), which is incompatible with your new OS version.
Solution:
To resolve this issue, update the Access Server repository to match your new Linux OS version. For example, if you upgraded to Ubuntu 20.04 LTS, follow these steps:
- Open a terminal and execute the following command:
sudo su
bash <(curl -fsS https://packages.openvpn.net/as/install.sh) --yes- This script will:
- Detect your current Linux OS version.
- Install the appropriate repository.
- Start Access Server automatically.
- This script will:
- Perform this update during a maintenance window or outside working hours to avoid disruptions.
If you have additional questions, please submit a ticket.
Comments
0 comments
Please sign in to leave a comment.