• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer navigation

The Geek Diary

  • OS
    • Linux
    • CentOS/RHEL
    • Solaris
    • Oracle Linux
    • VCS
  • Interview Questions
  • Database
    • oracle
    • oracle 12c
    • ASM
    • mysql
    • MariaDB
  • DevOps
    • Docker
    • Shell Scripting
  • Big Data
    • Hadoop
    • Cloudera
    • Hortonworks HDP

OEL 6

“The requested URL returned error: 403 Forbidden” – yum update error

by admin

The Problem CentOS/RHEL/OEL 6 server’s configured to use local yum server for updates are getting following errors at time of yum update. Downloading Packages: (1/5): kernel-2.6.32-754.12.1.el6.x86_64.rpm | 32 MB 00:01 (2/5): kernel-headers-2.6.32-754.12.1.el6.x86_64.rpm | 4.6 MB 00:00 (3/5): kernel-uek-4.1.12-124.26.10.el6uek.x86_64.rpm | 42 MB 00:00 (4/5): kernel-uek-firmware-4.1.12-124.26.10.el6uek.noarch.rpm | 2.5 MB 00:00 http://localyum/yum/OracleLinux/OL6/latest/x86_64/getPackage/oraclelinux-release-el6-1.0-6.el6.noarch.rpm: [Errno 14] PYCURL ERROR 22 – […]

Filed Under: CentOS/RHEL 6, Linux, OEL 6

“Metadata File Does Not Match Checksum” Issue When Yum Installs or Updates Package

by admin

The Problem Scenario 1: The user is unable to perform “yum install oracle-rdbms-server-11gR2-preinstall”. The yum tries to download the latest metadata (“http://public-yum.oracle.com/repo/OracleLinux/OL6/latest/x86_64/repodata/primary.xml.gz” ) and rejects it with the error message “[Errno -1] Metadata file does not match checksum”. Upon this, yum tries the next mirror where it encounters the same error and goes to the […]

Filed Under: Linux, OEL 6

“yum clean all” not clearing yum repository cache in CentOS/RHEL/OEL

by admin

The Problem “Yum clean all” not clearing the yum cache information under /var/cache/yum for orcle Linux server which use Oracle public yum repository or local yum repository. # yum repolist Loaded plugins: refresh-packagekit, security, ulninfo public_ol6_UEK_latest | 1.2 kB 00:00 public_ol6_UEK_latest/primary | 26 MB 00:04 public_ol6_UEK_latest 554/554 public_ol6_latest | 1.4 kB 00:00 public_ol6_latest/primary | 58 […]

Filed Under: CentOS/RHEL 6, CentOS/RHEL 7, Linux, OEL 6, OEL 7

Understanding Ksplice Effective Kernel Version

by admin

This post will explain the meaning behind the output of the “ksplice kernel uname” (Ksplice Enhanced client) or “uptrack-uname” (Ksplice Uptrack client) command and how to interpret Ksplice’s effective kernel version string. The effective kernel version that is reported by Ksplice when running the command “ksplice kernel uname -r” reflects the security position of the […]

Filed Under: Linux, OEL 6, OEL 7

How to Check the Size of the Yum Channels in Oracle Linux

by admin

Question: How to find out how large a yum channel repository is, to know how much data the channel will sync to a local yum repository? To see the actual size of the repository use either the “yum repolist -v” or “yum repoinfo” command. 1. Example for checking the size of latest OL7 yum channel […]

Filed Under: CentOS/RHEL 6, CentOS/RHEL 7, Linux, OEL 6, OEL 7

How to use ‘yum’ to connect ULN on CentOS/RHEL/OEL 6

by admin

The yum(Yellowdog Updater Modified) service is an automatic update tool to update the system each day. You can use both up2date/yum on Oracle Enterprise Linux/ Oracle Linux. Yum uses a configuration file at /etc/yum.conf. Additional configuration files are also read from the directory set by the reposdir option (default is ‘/etc/yum.repos.d’). Yum is an automatic […]

Filed Under: CentOS/RHEL 6, Linux, OEL 6

How to configure CentOS/RHEL 6 system to not used last 3 passwords used

by admin

Question: How to change the password policy on a system so that a user cannot choose any of the last 3 passwords previously used? 1. Make sure that the file /etc/security/opasswd has the default permission (600). # ls -l /etc/security/opasswd -rw——- 1 root root 116 Sep 8 14:52 /etc/security/opasswd 2. Ensure you backup the file […]

Filed Under: CentOS/RHEL 6, Linux, OEL 6

Extend the size of /boot partition on virtualized environment (CentOS/RHEL 6)

by admin

The scope of this post is to explain the steps involved in increasing the /boot filesystem, when no sufficient space available to install new kernel package. Though we have standard methods to reduce the size of /boot i.e. removing unused kernel and image files from boot, as an alternate approach, this post illustrate the steps […]

Filed Under: CentOS/RHEL 6, Linux, OEL 6

How To Disable Ksplice Service on OEL

by admin

This post will assist you to disable ksplice service or when ULN registration time enabled this service unknowingly. 1. Login to URL with ULN credentials https://status-ksplice.oracle.com/status/ -> Allow/Deny Policies -> Select your hostname > then choose all or deny. Once denied, cannot do operations with uptrack or ksplice. For example: [root@client ~]# uptrack-upgrade -n This […]

Filed Under: Linux, OEL 6, OEL 7

Extend volume on non-partitioned disk (XFS) under VMware guest

by admin

Question: How to extend virtual volume ( guest disk ) under OS which runs lvm2 and xfs on target device which does not use partitions? 1. Create a full Guest system backup. 2. Extend the Guest disk from the VMware layer (from Vsphere). 3. Run below command to detect new size on the guest disk. […]

Filed Under: CentOS/RHEL 6, CentOS/RHEL 7, Linux, OEL 6, OEL 7

Next Page »

Primary Sidebar

Recent Posts

  • qsub Command Examples in Linux
  • qsub: command not found
  • qrcp Command Examples in Linux
  • qmrestore Command Examples in Linux

© 2023 · The Geek Diary

  • Archives
  • Contact Us
  • Copyright