LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Red Hat (https://www.linuxquestions.org/questions/red-hat-31/)
-   -   RHEL 7.2 / AWS EC2 - yum-cron missing (https://www.linuxquestions.org/questions/red-hat-31/rhel-7-2-aws-ec2-yum-cron-missing-4175568312/)

sseaney 01-29-2016 09:50 AM

RHEL 7.2 / AWS EC2 - yum-cron missing
 
I have a new AWS (Amazon) instance on RHEL 7.2.

Yum-cron is not included in the distribution and is not available on the RPM servers. The yum-cron config files are installed, but not the service itself.

What an I missing?

Steve

unSpawn 01-31-2016 04:38 PM

'yum install yum-cron; vi /etc/yum/yum-cron.conf; systemctl enable yum-cron; systemctl start yum-cron;'?

sseaney 02-01-2016 03:12 PM

Quote:

Originally Posted by unSpawn (Post 5490831)
'yum install yum-cron; vi /etc/yum/yum-cron.conf; systemctl enable yum-cron; systemctl start yum-cron;'?

It looks like the repository included by AWS for RHEL 7.2 does not include yum-cron. It's really weird.
# yum install yum-cron
Loaded plugins: amazon-id, langpacks, rhui-lb, search-disabled-repos
No package yum-cron available.
Error: Nothing to do
or
# yum search yum-cron
Loaded plugins: amazon-id, langpacks, rhui-lb, search-disabled-repos
Warning: No matches found for: yum-cron
No matches found
The repositories I am connected to are:
# yum repolist
Loaded plugins: amazon-id, langpacks, rhui-lb, search-disabled-repos
repo id repo name status
epel/x86_64 Extra Packages for Enterprise Linux 7 - x86_64 9,362
rhui-REGION-client-config-server-7/x86_64 Red Hat Update Infrastructure 2.0 Client Configuration Server 7 6
rhui-REGION-rhel-server-releases/7Server/x86_64 Red Hat Enterprise Linux Server 7 (RPMs) 10,152
rhui-REGION-rhel-server-rh-common/7Server/x86_64 Red Hat Enterprise Linux Server 7 RH Common (RPMs) 168
rpmforge RHEL 7Server - RPMforge.net - dag 245
repolist: 19,933

I do see the config files in /etc/yum/, but I do not see the service components.

Thanks!
Steve

unSpawn 02-02-2016 12:19 PM

For example rpm.pbone.net shows yum-cron-3.4.3-132.el7.centos.0.1.noarch.rpm . So it does exist in CentOS 7.2, specifically Group "System Environment/Base", (therefore also in RHEL) so maybe try a clean RHEL base.repo?

sseaney 02-03-2016 11:34 PM

Quote:

Originally Posted by unSpawn (Post 5491639)
For example rpm.pbone.net shows yum-cron-3.4.3-132.el7.centos.0.1.noarch.rpm . So it does exist in CentOS 7.2, specifically Group "System Environment/Base", (therefore also in RHEL) so maybe try a clean RHEL base.repo?

AWS has missed something. I just tried standing up another server from scratch and had the same results.

Steve

unSpawn 02-05-2016 12:50 AM

For example rpm.pbone.net shows yum-cron-3.4.3-132.el7.centos.0.1.noarch.rpm . So it does exist in CentOS 7.2, specifically Group "System Environment/Base", (therefore also in RHEL) so maybe try a clean RHEL base.repo?


All times are GMT -5. The time now is 12:25 PM.