I've been looking all around for a solution for this error, could not find it, everything goes fine until
[oracle@server grid]$ sudo ./root.sh
Running Oracle 11g root.sh script...
The following environment variables are set as:
Enter the full pathname of the local bin directory: [/usr/local/bin]:
Copying dbhome to /usr/local/bin ...
Copying oraenv to /usr/local/bin ...
Copying coraenv to /usr/local/bin ...
Creating /etc/oratab file...
Entries will be added to the /etc/oratab file as needed by
Database Configuration Assistant when a database is created
Finished running generic part of root.sh script.
Now product-specific root actions will be performed.
2014-01-27 11:27:36: Checking for super user privileges
2014-01-27 11:27:36: User has super user privileges
2014-01-27 11:27:36: Parsing the host name
Using configuration parameter file: /u01/app/oracle/product/11.2.0/grid/crs/install/crsconfig_params
Creating trace directory
Failed to create or upgrade OLR
Pl clarify if you are performing a database install or grid install - there is a separate forum for grid install issues.
CentOS is not supported/certified OS version, so things may or may not work as expected. Support OS versions are listed in the Install Guide for your specific software at http;//docs.oracle.com
To be honest, I just received a VM ready for installing Oracle, beginners course, since is the most "similar" to RedHad distro, that's was the reason given to me.
I'm not an expert on linux either but I've found my way so far, planning on taking course soon, though.
But I considered doing that, I just downloaded Oracle Linux to study it, since it is supported officially.