Skip to content

Running quickstart.sh in WSL2 ends with errors #57

@Ali-MRDN47

Description

@Ali-MRDN47

Hi there,
I'm trying to run the project on my windows 10 machine using wsl2 with ubuntu distribution.
I'm using wsl2 terminal to run the script quickstart.sh. I've already downloaded and copied jre-8u321-linux-x64.tar.gz into the folder files and adjusted the settings.env file as follow:

FILES_DIR=files
ORACLE_SID=XE
ORACLE_PDB=XEPDB1
ORACLE_PWD=Oracle21
APEX_ADMIN_EMAIL=mrdn-47@gmx.net
APEX_ADMIN_PWD=Oracle__21
APEX_PUBLIC_USER_PWD=Oracle21_1
APEX_LISTENER_PWD=Oracle21_2
APEX_REST_PUBLIC_USER_PWD=Oracle21_3
ORDS_PUBLIC_USER_PWD=Oracle21_4
INSTALL_FILE_APEX=apex-latest.zip
INSTALL_FILE_ORDS=ords-latest.zip
INSTALL_FILE_JAVA=jre-8u321-linux-x64.tar.gz
DOCKER_ORDS_PORT=50080
DOCKER_EM_PORT=55500
DOCKER_DB_PORT=51521
DB_VERSION=18.4.0
DB_EDITION=xe
DOCKER_NETWORK_NAME=das_network
ALLOW_DB_PATCHING=N
OML4R_SUPPORT=N
REST_ENABLED_SQL=Y
RTU_ENABLED=N
SQLDEVWEB=Y
DATABASEAPI=Y
XE_USE_LOCAL_COPY=N

I got the following error at the end of the execution after installing a lot of stuffs:

The Oracle base remains unchanged with value /opt/oracle
#########################
DATABASE IS READY TO USE!
#########################

Executing user defined scripts
/opt/oracle/runUserScripts.sh: running /opt/oracle/scripts/startup/01-run.sh
##### Install dependencies if required #####
tar (child): /tmp/files/java17: Cannot open: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now
tar (child): /tmp/files/java17: Cannot open: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now
##### Extracting files if required ####
##### Starting ORDS #####
The Oracle base remains unchanged with value /opt/oracle
/opt/oracle/scripts/startup/package/runOrds.sh: line 15: java: command not found
/opt/oracle/scripts/startup/package/runOrds.sh: line 17: java: command not found

/opt/oracle/runUserScripts.sh: ignoring /opt/oracle/scripts/startup/package

DONE: Executing user defined scripts

The following output is now a tail of the alert.log:
XEPDB1(3):Resize operation completed for file# 10, fname /opt/oracle/oradata/XE/XEPDB1/sysaux01.dbf, old size 573440K, new size 593920K
2022-03-01T13:20:43.946332+00:00
Thread 1 cannot allocate new log, sequence 6
Private strand flush not complete
  Current log# 2 seq# 5 mem# 0: /opt/oracle/oradata/XE/redo02.log
2022-03-01T13:20:46.953894+00:00
Thread 1 advanced to log sequence 6 (LGWR switch),  current SCN: 2736350
  Current log# 3 seq# 6 mem# 0: /opt/oracle/oradata/XE/redo03.log
2022-03-01T13:20:52.597313+00:00
XEPDB1(3):Resize operation completed for file# 11, fname /opt/oracle/oradata/XE/XEPDB1/undotbs01.dbf, old size 194560K, new size 199680K
2022-03-01T13:25:11.336862+00:00
Resize operation completed for file# 4, fname /opt/oracle/oradata/XE/undotbs01.dbf, old size 117760K, new size 122880K
2022-03-01T13:30:20.970638+00:00
XEPDB1(3):Resize operation completed for file# 10, fname /opt/oracle/oradata/XE/XEPDB1/sysaux01.dbf, old size 593920K, new size 614400K

what I can understand is, that Java istn't installed in on the container.
Here are the files:
01-build.log
02-run.log
)

Can anyone tell me, what's the problem is?

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions