2 Answers
- Newest
- Most votes
- Most comments
1
The Linux requirements https://docs.aws.amazon.com/mgn/latest/ug/installation-requirements.html#linux-requirements include that the kernel-devel
package is installed, that its version number is a match to the kernel version number, and also that the directory containing kernel-devel/linux-headers
is not a symbolic link - in Ubuntu this will be found under /usr/src
.
Are all of these conditions met on the system you are trying to install onto?
0
I am facing the same issue while setting up MGN agent on one of my Ubuntu 22.04 instance running on MS Azure. I am trying to find the solution but yet to finish the task.
answered 7 months ago
Relevant content
- asked 2 years ago
- asked a month ago
- AWS OFFICIALUpdated 6 months ago
- AWS OFFICIALUpdated 4 months ago
- AWS OFFICIALUpdated a year ago
I have validated the linux requirements and don't see any issue. But still failing
Below are the logs
user@ip-XXXX:~/downloads$ sudo python3 aws-replication-installer-init.py The installation of the AWS Replication Agent has started. AWS Region Name: us-east-1 Identifying volumes for replication. Choose the disks you want to replicate. Your disks are: /dev/nvme2n1,/dev/nvme0n1 To replicate some of the disks, type the path of the disks, separated with a comma (for example, /dev/sda, /dev/sdb). To replicate all disks, press Enter: Identified volume for replication: /dev/nvme0n1 of size 100 GiB Identified volume for replication: /dev/nvme2n1 of size 30 GiB All volumes for replication were successfully identified. Downloading the AWS Replication Agent onto the source server... Finished. Installing the AWS Replication Agent onto the source server... Error: Your Linux kernel version is not supported. Installation failed. Learn more about installation issues in our documentation at https://docs.aws.amazon.com/drs/latest/userguide/Troubleshooting-Agent-Issues.html user@ip-XXXX:
user@ip-XXXX:/downloads$ uname -r 5.19.0-1025-aws user@ip-XXXX:/downloads$ apt-cache search linux-headers | grep -i aws linux-headers-5.15.0-1004-aws - Linux kernel headers for version 5.15.0 on 64 bit x86 SMP linux-headers-aws - Linux kernel headers for Amazon Web Services (AWS) systems. linux-headers-5.15.0-1035-aws - Linux kernel headers for version 5.15.0 on 64 bit x86 SMP linux-headers-5.15.0-1036-aws - Linux kernel headers for version 5.15.0 on 64 bit x86 SMP linux-headers-5.15.0-1037-aws - Linux kernel headers for version 5.15.0 on 64 bit x86 SMP linux-headers-5.19.0-1024-aws - Linux kernel headers for version 5.19.0 on 64 bit x86 SMP linux-headers-5.19.0-1025-aws - Linux kernel headers for version 5.19.0 on 64 bit x86 SMP linux-headers-5.19.0-1026-aws - Linux kernel headers for version 5.19.0 on 64 bit x86 SMP linux-headers-aws-edge - Linux kernel headers for Amazon Web Services (AWS) systems. linux-headers-aws-lts-22.04 - Linux kernel headers for Amazon Web Services (AWS) systems. linux-headers-5.15.0-1020-aws - Linux kernel headers for version 5.15.0 on 64 bit x86 SMP user@ip-XXXX:~/downloads$
user@ip-XXXX:/downloads$ ls -l /usr/src total 40 drwxr-xr-x 25 root root 4096 May 30 15:08 linux-aws-5.19-headers-5.19.0-1024 drwxr-xr-x 25 root root 4096 May 18 06:57 linux-aws-5.19-headers-5.19.0-1025 drwxr-xr-x 24 root root 4096 Apr 21 2022 linux-aws-headers-5.15.0-1004 drwxr-xr-x 24 root root 4096 Sep 22 2022 linux-aws-headers-5.15.0-1020 drwxr-xr-x 25 root root 4096 May 30 15:10 linux-aws-headers-5.15.0-1036 drwxr-xr-x 7 root root 4096 Apr 21 2022 linux-headers-5.15.0-1004-aws drwxr-xr-x 7 root root 4096 Sep 22 2022 linux-headers-5.15.0-1020-aws drwxr-xr-x 7 root root 4096 May 30 15:10 linux-headers-5.15.0-1036-aws drwxr-xr-x 7 root root 4096 May 30 15:08 linux-headers-5.19.0-1024-aws drwxr-xr-x 7 root root 4096 May 18 06:57 linux-headers-5.19.0-1025-aws user@ip-XXXX:/downloads
On the face of it your system looks good, none of the exceptions in the Linux section of https://docs.aws.amazon.com/mgn/latest/ug/Supported-Operating-Systems.html look like they apply, and the error you are getting is not present in https://repost.aws/knowledge-center/mgn-linux-fix-replication-agent-install
The only possible thing is in the release notes https://docs.aws.amazon.com/mgn/latest/ug/mgn-release-notes.html which have mention of support for Kernels 5.8-5.14 in December 2021, and support for Kernel 5.15 in January 2022 but nothing more since then, nor anything mentioning 5.19 which you're running.