I am trying to configure Oracle XE but am facing the below issue:
root@venky-Lenovo-G510:~# /etc/init.d/oracle-xe-18c configure
/bin/df: unrecognized option '--direct' Try '/bin/df --help' for more information. Specify a password to be used for database accounts. Oracle recommends that the password entered should be at least 8 characters in length, contain at least 1 uppercase character, 1 lower
case character and 1 digit [0-9]. Note that the same password will be
used for SYS, SYSTEM and PDBADMIN accounts: Confirm the password: Configuring Oracle Listener. Listener configuration succeeded. Configuring Oracle Database XE. ****[FATAL] [DBT-50000] Unable to check for available memory.****
Database configuration failed. Check logs under '/opt/oracle/cfgtoollogs/dbca'.
root@venky-Lenovo-G510:~#
Is this anything related to /bin/df: unrecognized option '--direct'
?
Or something else ?
Thanks
Thanks to alexsander-perusso's answer above, the correct answer for oracle-xe-18c on Ubuntu 16.04 is to edit
/etc/init.d/oracle-xe-18c
by addingon the line directly below
echo "Configuring Oracle Database $ORACLE_SID."
after$PDB_NAME
.Here is what the line looks like after the edit:
Reference: http://www.eygle.com/archives/2018/11/oracle_18c_19c_dbt_50000.html
I was following the instructions here: https://tec600.wordpress.com/2017/06/29/oracle-installation-on-ubuntu-16-04/ with changes for 18c XE
Results after the above changes: