GithubHelp home page GithubHelp logo

oehrlis / docker Goto Github PK

View Code? Open in Web Editor NEW
51.0 51.0 41.0 1.64 MB

Source for Oracle Directory Server Docker configurations, images, and Dockerfiles. These are unofficial Oracle Docker build scripts. If you're looking for them, take a look at the GitHub project oracle/docker-images. The following build scripts are maintained by

Home Page: http://www.oradba.ch

License: Apache License 2.0

Shell 19.33% Dockerfile 79.49% HTML 1.18%
docker oracle-directory oud trivadis

docker's People

Contributors

oehrlis avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

docker's Issues

Patch WLS during OUDSM build fail

WLS Patch does fail

 - Install FMW patch (p29814665_122130_Generic.zip) -------------------
INFO:    Try to download p29814665_122130_Generic.zip from http://orarepo
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 49.3M  100 49.3M    0     0   121M      0 --:--:-- --:--:-- --:--:--  121M
 - unzip /opt/stage/p29814665_122130_Generic.zip to /tmp/download
Oracle Interim Patch Installer version 13.9.4.2.0
Copyright (c) 2019, Oracle Corporation.  All rights reserved.


Oracle Home       : /u00/app/oracle/product/fmw12.2.1.3.0
Central Inventory : /u00/app/oraInventory
   from           : /u00/app/oracle/product/fmw12.2.1.3.0/oraInst.loc
OPatch version    : 13.9.4.2.0
OUI version       : 13.9.4.0.0
Log file location : /u00/app/oracle/product/fmw12.2.1.3.0/cfgtoollogs/opatch/opatch2019-09-26_20-10-33PM_1.log


OPatch detects the Middleware Home as "/u00/app/oracle/product/fmw12.2.1.3.0"

Verifying environment and performing prerequisite checks...
UtilSession failed: NApply was not able to get the list of patches to apply.
Log file location: /u00/app/oracle/product/fmw12.2.1.3.0/cfgtoollogs/opatch/opatch2019-09-26_20-10-33PM_1.log

OPatch failed with error code 73

Problem with starting Oracle DB 11.2.0.4

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.

Documentation - Add Link to Blog

So I've done a significant amount of work with this archive to make it fit into my organization and spent a long time trying to work through how this archive was working.

And then I ran across http://www.oradba.ch/2017/12/oracle-unified-directory-on-docker/

Seriously, this should be linked at the top of your documentation as it's got several clues in it as to how the archive is put together and how to manage the downloads and software and such.

BTW: Thanks for your work on this.

Check for upgrade

Currently it is not checked if a OUD instance has to be started in upgrade mode eg. start-ds -f

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.