Install DRS replication agent failed on oracle linux(uek) vm

0

Afternoon all,

had a problem when install DRS replication agent

#cat /etc/os-release

NAME="Oracle Linux Server"

VERSION="8.9"

ID="ol" ID_LIKE="fedora"

VARIANT="Server" VARIANT_ID="server"

VERSION_ID="8.9"

PRETTY_NAME="Oracle Linux Server 8.9"

uek kernel version : 5.4.17-2136.329.3.1

# rpm -qa |grep kernel

kernel-uek-5.4.17-2136.329.3.1.el8uek.x86_64

kernel-uek-devel-5.4.17-2136.329.3.1.el8uek.x86_64

the installation log shows:

running: ['yum', '-y', '--disableexcludes=main', 'install', 'kernel-devel-5.4.17-2136.329.3.1.el8uek.x86_64', 'kernel-headers-5.4.17-2136.329.3.1.el8uek.x86_64'] retcode: 1

Kernel development or header package for 5.4.17-2136.329.3.1.el8uek.x86_64 did not install.

Last metadata expiration check: 1:22:45 ago on T------------ PM CST. No match for argument: kernel-devel-5.4.17-2136.329.3.1.el8uek.x86_64

No match for argument: kernel-headers-5.4.17-2136.329.3.1.el8uek.x86_64

Error: Unable to find a match: kernel-devel-5.4.17-2136.329.3.1.el8uek.x86_64 kernel-headers-5.4.17-2136.329.3.1.el8uek.x86_64

  1. kernel-headers rpms cannot be found in oracle yum repo or anywhere else

  2. kernel-uek-devel-5.4.17-2136.329.3.1.el8uek.x86_64 is already installed and there's no rpm called kernel-devel-5.4.17-2136.329.3.1.el8uek.x86_64

what should I do next? thanks

2 Answers
0

Can you try installing the headers and try again? Commands as follows as per https://docs.aws.amazon.com/drs/latest/userguide/installation-requiremets.html#general-requirements

sudo yum install kernel-uek-devel-`uname -r`

Try the troubleshooting tips at https://docs.aws.amazon.com/drs/latest/userguide/Troubleshooting-Agent-Issues.html#Error-Installtion-Failed

AWS
EXPERT
Mike_L
answered 14 days ago
  • Hi Mike, thanks a lot

    the summary of dnf install resaults:

    kernel-uek-devel-5.4.17-2136.329.3.1.el8uek.x86_64 already installed

    kernel-devel-5.4.17-2136.329.3.1.el8uek.x86_64 No match for argument

    kernel-uek-headers-5.4.17-2136.329.3.1.el8uek.x86_64 No match for argument

    kernel-headers-5.4.17-2136.329.3.1.el8uek.x86_64 No match for argument

    The kernel-header does not exist on the Oracle repository website either; it seems that the kernel-header package is obsolete, the kernel-devel only has uek version for my kernel version. ? (oralce linux 8.9 uek6)

  • Hi, looks like you may already have the necessary packages.

0

Hi, yup I think so, but still fail to install . and I don't want to mess with DB server any further. thanks a lot

answered 12 days ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions