Oracle 19c installation issue

So, I'm trying to install Oracle 19c on an on-premise Oracle Linux 8.5 server, everything is fine until I want to try to run the ./runInstaller.

When I try to run the installer it gives me the user not in the sudoer list error. Fine, I add the user to the wheel group & use visudo to give it all perms but when I try to run it again it gives me the ERROR: Can not run this as root user now I have been in that loop for a while, I don't know what to do or if I'm missing something.

Thanks in advance.

Edit: The issue was that the preinstall directory where the installer was belonged to root, forgot to change ownership of the folder to the oracle user.

Posted Apr 26, 2022, 7:21 PM UTC · edited

27
user_n0mad•

Are you running the script as root?

1
9HeroOP•

I've tried both as root and oracle. If I try doing it as root it tells me I can't run it.

1
user_n0mad•

Did you add oracle to the sudoers?

1
9HeroOP•

Yeah I did but somehow that makes it root and can't run the command. It's like I'm going in circles.

1
user_n0mad•

Well I'd say talk to Oracle then. Sounds like a shit script.

2