Error while installing Oracle 19c on Redhat 8.1 - oracle

I was trying to install Oracle 19c on my Redhat 8.1 server, but i get the following error when i launch the installation
[INS-08101] Unexpected error while executing the action at state: 'supportedOSCheck'
Is it even supported ? If no, is there any workaround i can do to launch the installation ?
Thank you

I finally found a workaround to the Installation of Oracle 19c on Redhat 8.1. Before installing, i set the following environment variable, then i launch the install.
export CV_ASSUME_DISTID=OEL7.6

There are currently no versions of Oracle certified for RHEL8 or OEL8. 20c will probably be the first one, later this year. As I understand it from posting on other Oracle Communities sites, it is not expected that any of the 12c family (12cR1, 12cR2, 18c, 19c) will ever be certified on RHEL8 or OEL8, but Oracle hasn't really given an official position yet.
https://community.oracle.com/thread/4308915?parent=MOSC_EXTERNAL&sourceId=MOSC&id=4308915
https://community.oracle.com/thread/4310638?parent=MOSC_EXTERNAL&sourceId=MOSC&id=4310638
Here's an article that claims to know how to get it to install, but I have not verified it personally. The author notes that the configuration is not supported by Oracle and should not be used for anything important - only for testing.
https://oracle-base.com/articles/19c/oracle-db-19c-installation-on-oracle-linux-8

Met INS-08101 when I installed Oracle database 19c on Oracle Linux 8 update 2.
Temporarily
At runtime, we can export the variable.
get VERSION_ID
$ cat /etc/os-release | grep VERSION_ID | awk -F"\"" '{print $2}'
$ export CV_ASSUME_DISTID=OEL8.2
Permanently
Or we can set the variable in the CVU configuration file.
vi $ORACLE_HOME/cv/admin/cvu_config
CV_ASSUME_DISTID=OEL8.2

Related

Oracle Database installation on Ubuntu 18.04

I am new to ubuntu and oracle, and I couldn't install oracle 18c on ubuntu! If anyone can help me with a clear solution for a newbie!! Thank you!
enter image description here
Oracle is not designed to run on Ubuntu. There are a few different branches of the Linux family tree, and ubuntu is an entireley different branch than the one oracle was designed for. You will find hacks on the interntet to get it installed, but that's all they are - hacks. And if you do get it installed there is never any assurance that everything will work as it should.
The ususal approach for running oracle on an Ubuntu machine is to install Oracle Virtual Box, using that to create a VM that runs a certified OS, like Oracle Linux. Then install your oracle db on that.
I have a few blog articles on it, here.
There is a hack with docker to use Oracle database on Ubuntu. Simply download/pull the container available at
https://hub.docker.com/r/gvenzl/oracle-xe
Then run it as
docker container run -d -p 1521:1521 -e ORACLE_PASSWORD=oracle --name oracle21 gvenzl/oracle-xe
and then connect to it from Ubuntu via some SQL editor e.g., Oracle SQL developer.

Heroku pg:pull pg_dump extension/library version mismatch

I've just upgraded my Heroku app's PostgreSQL to version 12.
I'm currently having an issue with Heroku's pg:pull, where the extension/library from the server's pg_dump is apparently an older version:
pg_restore: error: could not execute query: ERROR: incompatible library "/usr/local/lib/postgresql/btree_gin.so": version mismatch
DETAIL: Server is version 10, library is version 12.
Command was: CREATE EXTENSION IF NOT EXISTS btree_gin WITH SCHEMA public;
The command I run is: heroku pg:pull ${SERVER_DB} ${DEV_DB} -a ${APP}
I have attempted ALTER EXTENSION btree_gin UPDATE; but it wasn't any help.
Any ideas?
I didn't realize that this error was concerning my local machine's PostgreSQL server version—not the server on Heroku.
Doing brew postgresql-upgrade-database would resolve this by upgrading the server version.
I ended up just deleting my existing local database and reinstalling PostgreSQL instead because running brew postgresql-upgrade-database involves copying entire tables; I didn't have enough space in local storage.

Postgres not installing properly on my windows

I downloaded Postgres 12.2 a couple of days ago, when installing it could not install fully at a point it said database cluster installation failed. I have tried all I could but to no avail. I really need help so I can continue on my project. A screenshot of the error can be seen
.
Check in enviroment variables if you don't have incorrect
value for COMSPEC ending with trailing semicolon, instead
C:\Windows\system32\cmd.exe
C:\Windows\system32\cmd.exe;

Unable to execute cr9idata.pl

Oracle Database Home patches installed successfully
Executing cr9idata.pl
Executing: perl /u01/db/VIS/12.1.0/nls/data/old/cr9idata.pl
Unable to execute cr9idata.pl
RW-50010: Error: - script has returned an error: 2
RW-50004: Error code received when running external process. Check log file for details.
Running Database Install Driver for VIS instance
I executed command in terminal with root account:
[root#ntcs ~]# perl /u01/db/VIS/12.1.0/nls/data/old/cr9idata.pl
Directory /u01/db/VIS/12.1.0/nls/data/9idata already exist. Overwriting...
Copying files to /u01/db/VIS/12.1.0/nls/data/9idata...
Copy finished.
Please reset environment variable ORA_NLS10 to /u01/db/VIS/12.1.0/nls/data/9idata!
Thanks advanced for helping !
After serveral day debugging. I found the reason is my oracle user error.
I installed perl into /home/oracle/perl5...then make oracle user error.
I cannot su oracle from root user.
when i install perl for oracle user then .bashrc of oracle user auto add two routine line:
eval perl -I ~/perl5/lib/perl5 -Mlocal::lib
export MANPATH=$HOME/perl5/man:$MANPATH
I just remove above two lines above then i can su oracle from root user.
Conclusion:
When you install Oracle EBS 12.2.0 on CentOS 7.3. rapidwiz tool will su to oracle user automatically to install DB. But our oracle error cannot be su to so make error. But it show the symtom very strange so it is difficult to debug.
Now i install Oracle EBS 12.2 sucessfully !
I am very happy to share this to anyone meet this error.
I am installing EBS 12 at the moment.
Looking a bit deeper into the logs for the cr9idata.pl script, I saw that this error is caused by a missing Perl module. The Perl version that is installed with Oracle includes this library, so setting the path manually works in that case.
If you (like me) have installed Perl from YUM, install this module: perl-File-CheckTree

Install Oracle 10.2 64bit on CentOS 5 64bit

I'm installing Oracle on 64 bit CentOS in silent mode. After the installation, it says:
WARNING:The following configuration
scripts
/opt/oracle/product/10.2.0/root.sh
need to be executed as root for
configuring the system.
But, when i execute root.sh as root, there're some errors. I found in the script it uses variables instead of plain command:
if [ ! -d /var/tmp/.oracle ]
then
**$MKDIR** -p /var/tmp/.oracle;
fi
**$CHMOD** 01777 /var/tmp/.oracle
**$CHOWN** root /var/tmp/.oracle
and these variables are not defined. I don't know why it uses variables instead of the command itself.
You are aware that oracle is not certified/supported on centos?

Resources