Hi,
I'm a junior programmer. This is my first post here, please excuse me if that's not the correct place
For days now I've been trying to install Oracle DB 12c R2 on Ubuntu 18.04. I'm at my wits' end. The software itself installs fine and a Listener can be started but I can't start Oracle nor create a database. After several attempts:
- The GUI installer (DBCA) freezes at 2% at "Copying database files.."
- Under CLI I can start sqlplus / as sysdba but it freezes after STARTUP NOMOUNT; command (nothing happens, SQL prompt doesn't come back, the cursor just moves to next line and blinks forever).
I ran perf top -p on the process, after a few minutes I was left with:
100,00% [kernel] [k] shmem_write_end
Do you have any suggestions? What can I try / which logs should I check?
My settings:
.bashrc
# Oracle Settings
export TMP=tmp
export TMPDIR=$TMP
export ORACLE_HOSTNAME=hyperbook-N650DU
export ORACLE_UNQNAME=mgdb5
export ORACLE_BASE=/oracle
export ORACLE_HOME=$ORACLE_BASE/product/12/db_1
export ORACLE_SID=mgdb5
export PATH=usr/sbin:$PATH
export PATH=$ORACLE_HOME/bin:$PATH
export LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib
export CLASSPATH=$ORACLE_HOME/jlib:$ORACLE_HOME/rdbms/jlib
/etc/sysctl.conf
# for oracle 12C
fs.file-max = 6815744
kernel.sem = 250 32000 100 128
kernel.shmmni = 4096
kernel.shmall = 2042851
kernel.shmmax = 8367517696
kernel.panic_on_oops = 1
net.core.rmem_default = 262144
net.core.rmem_max = 4194304
net.core.wmem_default = 262144
net.core.wmem_max = 1048576
net.ipv4.conf.all.rp_filter = 2
net.ipv4.conf.default.rp_filter = 2
fs.aio-max-nr = 1048576
net.ipv4.ip_local_port_range = 9000 65500
pfile
db_name='mgdb5'
memory_target=1G
processes = 150
audit_file_dest='<ORACLE_BASE>/admin/mgdb5/adump'
audit_trail ='db'
db_block_size=8192
db_domain=''
db_recovery_file_dest_size=2G
diagnostic_dest='<ORACLE_BASE>'
dispatchers='(PROTOCOL=TCP) (SERVICE=MGDB5XDB)'
open_cursors=300
remote_login_passwordfile='EXCLUSIVE'
undo_tablespace='UNDOTBS1'
# You may want to ensure that control files are created on separate physical
# devices
control_files = (ora_control1, ora_control2)
compatible ='11.2.0'
oracle user has no sudo rights, bu full access to $ORACLE_BASE
Hardware: Clevo N650DU notebook, i7700, 16 GB RAM.
Many thanks in advance to anyone who would help me.