My Oracle Support Banner

Installation Failure With Red Hat and Sudo User Settings (Doc ID 2748847.1)

Last updated on FEBRUARY 07, 2024

Applies to:

Oracle Communications Session Monitor - Version 4.4 and later
Information in this document applies to any platform.

Symptoms

Installation of OCSM RPM fails on Red Hat Enterprise Linux 7.9

After installing MySQL 5.7.10 as per installation document, I tried to install ocom rpm but fails as below.

Sorry, user root is not allowed to execute '/bin/mysql --defaults-extra-file=/root/.my.cnf -e SHOW DATABASES' as root on xxxxx.com
---------------------------------------------------------
Cannot access to mysql (however it is running)
If you changed configuration or password for root user
please, set right the configuration in file /root/.my.cnf
OCSM installation is cancelled.
---------------------------------------------------------

Changes

 RPM installation attempts on Red Hat Linux.

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Changes
Cause
Solution


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.