ERROR: You must not be logged in as root to run this tool.

Symptoms

During the installation of Oracle database software getting this error even when running through root user.

Cause

Oracle installation need to be run as a sudo user not with root user.

Solution

Create user with sudo permissions and install Oracle using that user.

In CentOS, use below commands to create a user with sudo permissions

adduser oginstall
passwd oginstall
usermod -aG wheel oginstall

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s