Problem with starting Oracle DB 11.2.0.4
Opened this issue · 0 comments
kamilos-dev commented
Hello,
i used a docker file from here: https://github.com/oehrlis/docker/blob/master/OracleDatabase/11.2.0.4/11.2.0.4.0.Dockerfile
Command docker build -t oracle/database:11.2.0.4 .
executed successfully. Image oracle/database
created.
When I try a docker-compose up -d tdb112s
(default values - from your repo, no changes) there are errors:
tdb112s | - Set common functions and variables ---------------------------------
tdb112s | ---------------------------------------------------------------
tdb112s | - move directories with persistent data in /u00/app/oracle to docker volume (/u01)
tdb112s | - - re-create softlink for /u00/app/oracle/admin
tdb112s | '/u00/app/oracle/admin' -> '/u01/admin'
tdb112s | - - re-create softlink for /u00/app/oracle/diag
tdb112s | '/u00/app/oracle/diag' -> '/u01/diag'
tdb112s | - - re-create softlink for /u00/app/oracle/etc
tdb112s | '/u00/app/oracle/etc' -> '/u01/etc'
tdb112s | - - re-create softlink for /u00/app/oracle/network
tdb112s | '/u00/app/oracle/network' -> '/u01/network'
tdb112s | ----------------------------------------------------------------
tdb112s | - Set common functions and variables ---------------------------------
tdb112s | ------------------------------------------------------------------------
tdb112s | - Oracle Database Server auto generated password:
tdb112s | - ----> User : SYS, SYSTEM AND PDBADMIN
tdb112s | - ----> Password : CfC7FNBkhi3A
tdb112s | ------------------------------------------------------------------------
tdb112s | - Create database instance TDB112S using:
tdb112s | - ORACLE_DBNAME : TDB112S
tdb112s | - ORACLE_DB_UNIQUE_NAME : TDB112S
tdb112s | - ORACLE_SID : TDB112S
tdb112s | - HOST : tdb112s
tdb112s | - ORACLE_HOME : /u00/app/oracle/product/11.2.0.4
tdb112s | - ORACLE_RELEASE :
tdb112s | - ORACLE_VERSION :
tdb112s | - ORACLE_BASE : /u00/app/oracle
tdb112s | - ORACLE_DATA : /u01
tdb112s | - ORACLE_ARCH : /u01
tdb112s | - CONTAINER : false
tdb112s | - INSTANCE_INIT : /u00/app/oracle/admin/TDB112S/scripts
tdb112s | - RESPONSE FOLDER : /opt/oradba/rsp
tdb112s | - RESPONSE : dbca.rsp.tmpl
tdb112s | - TEMPLATE : dbca.dbc.tmpl
tdb112s | - ORADBA_TEMPLATE_PREFIX:
tdb112s | - DB RESPONSE : /u00/app/oracle/admin/TDB112S/etc/dbcaTDB112S.rsp
tdb112s | - DB TEMPLATE : /u00/app/oracle/admin/TDB112S/etc/dbcaTDB112S.dbc
tdb112s | - ORACLE_CHARACTERSET : AL32UTF8
tdb112s | - DB_MASTER :
tdb112s | INFO: Create TDB112S using dbca
tdb112s | - ORACLE PASSWORD FOR SYS, SYSTEM AND PDBADMIN: CfC7FNBkhi3A
tdb112s | cp: cannot stat '/opt/oradba/rsp/dbca.dbc.tmpl': No such file or directory
tdb112s | sed: can't read /u00/app/oracle/admin/TDB112S/etc/dbcaTDB112S.dbc: No such file or directory
tdb112s | sed: can't read /u00/app/oracle/admin/TDB112S/etc/dbcaTDB112S.dbc: No such file or directory
tdb112s | sed: can't read /u00/app/oracle/admin/TDB112S/etc/dbcaTDB112S.dbc: No such file or directory
tdb112s | sed: can't read /u00/app/oracle/admin/TDB112S/etc/dbcaTDB112S.dbc: No such file or directory
tdb112s | sed: can't read /u00/app/oracle/admin/TDB112S/etc/dbcaTDB112S.dbc: No such file or directory
tdb112s | sed: can't read /u00/app/oracle/admin/TDB112S/etc/dbcaTDB112S.dbc: No such file or directory
tdb112s | sed: can't read /u00/app/oracle/admin/TDB112S/etc/dbcaTDB112S.dbc: No such file or directory
tdb112s | cp: cannot stat '/opt/oradba/rsp/dbca.rsp.tmpl': No such file or directory
tdb112s | sed: can't read /u00/app/oracle/admin/TDB112S/etc/dbcaTDB112S.rsp: No such file or directory
tdb112s | sed: can't read /u00/app/oracle/admin/TDB112S/etc/dbcaTDB112S.rsp: No such file or directory
tdb112s | sed: can't read /u00/app/oracle/admin/TDB112S/etc/dbcaTDB112S.rsp: No such file or directory
tdb112s | sed: can't read /u00/app/oracle/admin/TDB112S/etc/dbcaTDB112S.rsp: No such file or directory
tdb112s | sed: can't read /u00/app/oracle/admin/TDB112S/etc/dbcaTDB112S.rsp: No such file or directory
tdb112s | sed: can't read /u00/app/oracle/admin/TDB112S/etc/dbcaTDB112S.dbc: No such file or directory
tdb112s | sed: can't read /u00/app/oracle/admin/TDB112S/etc/dbcaTDB112S.rsp: No such file or directory
tdb112s | sed: can't read /u00/app/oracle/admin/TDB112S/etc/dbcaTDB112S.rsp: No such file or directory
tdb112s | sed: can't read /u00/app/oracle/admin/TDB112S/etc/dbcaTDB112S.rsp: No such file or directory
tdb112s | sed: can't read /u00/app/oracle/admin/TDB112S/etc/dbcaTDB112S.rsp: No such file or directory
tdb112s | sed: can't read /u00/app/oracle/admin/TDB112S/etc/dbcaTDB112S.rsp: No such file or directory
tdb112s | sed: can't read /u00/app/oracle/admin/TDB112S/etc/dbcaTDB112S.rsp: No such file or directory
tdb112s | Response file `/u00/app/oracle/admin/TDB112S/etc/dbcaTDB112S.rsp` does not exist.
tdb112s | sed: can't read /u00/app/oracle/admin/TDB112S/etc/dbcaTDB112S.rsp: No such file or directory
tdb112s | INFO: TNS name entry TDB112S does exists.
tdb112s | /u00/app/oracle/product/11.2.0.4/bin/sqlplus: error while loading shared libraries: libclntsh.so.11.1: cannot open shared object file: No such file or directory
tdb112s | INFO: Create DB environment for TDB112S ---------------------
tdb112s | - Set common functions and variables ---------------------------------
tdb112s | INFO: Start to create DB environment for SID on tdb112s at Thu Oct 6 17:02:10 UTC 2022
tdb112s | INFO: TDB112S already exists in oratab /etc/oratab
tdb112s | INFO: source TVD-BasEnv
tdb112s |
tdb112s | WARNING: 1003006 => basenv.tvdp : BEbevSetDependantEnv : Added new ORACLE_HOME to orahometab
tdb112s | /u00/app/oracle/product/11.2.0.4;20;rdbms_ee;AUTO;rdbms00;OraDb11g_home1;rdbms00
tdb112s | verify if that is correct!
tdb112s |
tdb112s | WARNING: 1003007 => basenv.tvdp : BEbevSetDependantEnv : Added new ORACLE_SID to sidtab
tdb112s | TDB112S;/u00/app/oracle/product/11.2.0.4;30;I;N;N;
tdb112s | verify if that is correct!
tdb112s | sqlplus: error while loading shared libraries: libclntsh.so.11.1: cannot open shared object file: No such file or directory
tdb112s |
tdb112s | WARNING: 4003014 => set_nls_lang.tvdp : BEoevSetSidEnv : NLS_LANG has not been set, use the [SID] section in $BE_HOME/etc/sid.<SID>.conf
tdb112s |
tdb112s | WARNING: 4003005 => set_nls_lang.tvdp : BEoevSetSidEnv : BE_ORA_DB_NAME has not been set, add it in $BE_HOME/etc/sid.<SID>.conf
tdb112s |
tdb112s | WARNING: 4003007 => set_nls_lang.tvdp : BEoevSetSidEnv : BE_ORA_DBID has not been set, add it in $BE_HOME/etc/sid.<SID>.conf
tdb112s | ls: cannot access /u0?/oradata: No such file or directory
tdb112s | ls: cannot access /u0?/fast_recovery_area: No such file or directory
tdb112s | mkdir: cannot create directory '/TDB112S': Permission denied
tdb112s | dirname: missing operand
tdb112s | Try 'dirname --help' for more information.
tdb112s | mkdir: cannot create directory '/backup': Permission denied
tdb112s | INFO: TNS name entry TDB112S does exists.
tdb112s | INFO: Finish creating the DB environment on tdb112s at Thu Oct 6 17:02:11 UTC 2022
tdb112s | INFO: Update TDB112S in oratab /etc/oratab
tdb112s | sed: couldn't open temporary file /etc/sedkl6O8s: Permission denied
tdb112s | INFO: source TVD-BasEnv
tdb112s | sqlplus: error while loading shared libraries: libclntsh.so.11.1: cannot open shared object file: No such file or directory
tdb112s |
tdb112s | WARNING: 4003014 => set_nls_lang.tvdp : BEoevSetSidEnv : NLS_LANG has not been set, use the [SID] section in $BE_HOME/etc/sid.<SID>.conf
tdb112s |
tdb112s | WARNING: 4003005 => set_nls_lang.tvdp : BEoevSetSidEnv : BE_ORA_DB_NAME has not been set, add it in $BE_HOME/etc/sid.<SID>.conf
tdb112s |
tdb112s | WARNING: 4003007 => set_nls_lang.tvdp : BEoevSetSidEnv : BE_ORA_DBID has not been set, add it in $BE_HOME/etc/sid.<SID>.conf
tdb112s | ----------------------------------------------------------------
tdb112s | - - move files with persistent data to docker volume (/u01)
tdb112s | /u00/app/oracle
tdb112s | ---------------------------------------------------------------
tdb112s | ---------------------------------------------------------------
tdb112s | - create softlinks for config files
tdb112s | - create softlinks for ${ORACLE_HOME}/dbs files
tdb112s | - using read/write Oracle home. Create softlinks in ${ORACLE_HOME}/dbs.
tdb112s | - create softlinks for network configuration in ${ORACLE_HOME}/network/admin
tdb112s | '/u00/app/oracle/product/11.2.0.4/network/admin/sqlnet.ora' -> '/u00/app/oracle/network/admin/sqlnet.ora'
tdb112s | '/u00/app/oracle/product/11.2.0.4/network/admin/listener.ora' -> '/u00/app/oracle/network/admin/listener.ora'
tdb112s | '/u00/app/oracle/product/11.2.0.4/network/admin/ldap.ora' -> '/u00/app/oracle/network/admin/ldap.ora'
tdb112s | '/u00/app/oracle/product/11.2.0.4/network/admin/tnsnames.ora' -> '/u00/app/oracle/network/admin/tnsnames.ora'
tdb112s | - create softlinks for toolbox configuration in ${ORACLE_LOCAL}/dba/etc/
tdb112s | '/u00/app/oracle/local/dba/etc/basenv.conf' -> '/u01/etc/basenv.conf'
tdb112s | '/u00/app/oracle/local/dba/etc/orahometab' -> '/u01/etc/orahometab'
tdb112s | '/u00/app/oracle/local/dba/etc/sidtab' -> '/u01/etc/sidtab'
tdb112s | '/u00/app/oracle/local/dba/etc/sid.TDB112S.conf' -> '/u01/etc/sid.TDB112S.conf'
tdb112s | '/u00/app/oracle/local/dba/etc/sid._DEFAULT_.conf' -> '/u01/etc/sid._DEFAULT_.conf'
tdb112s | /u00/app/oracle
tdb112s | ---------------------------------------------------------------
tdb112s | The Oracle base remains unchanged with value /u00/app/oracle
tdb112s | /u00/app/oracle/product/11.2.0.4/bin/sqlplus: error while loading shared libraries: libclntsh.so.11.1: cannot open shared object file: No such file or directory
tdb112s | ---------------------------------------------------------------
tdb112s | - DATABASE SETUP FOR TDB112S WAS NOT SUCCESSFUL:
tdb112s | - Please check output for further info!
tdb112s | ---------------------------------------------------------------
tdb112s | ---------------------------------------------------------------
tdb112s | - Tail output of alert log from TDB112S:
tdb112s | ---------------------------------------------------------------
tdb112s | - The following output is now a tail of the alert.log:
tdb112s | tail: cannot open '/u00/app/oracle/diag/rdbms/*/*/trace/alert*.log' for reading: No such file or directory
tdb112s | tail: no files remaining
Could you please help me with this?
Best regards.