Code Monkey home page Code Monkey logo

Comments (8)

whotakekajibu avatar whotakekajibu commented on July 17, 2024

i came cross the same issue

from oracle-11g.

IdelCoder avatar IdelCoder commented on July 17, 2024

docker run --privileged --name oracle11g -p 1521:1521 -v <install_dir>:/install jaspeen/oracle-11g
Here, <install_dir> should only contain the directory database which is unzipped from installation packages.

from oracle-11g.

panter-dsd avatar panter-dsd commented on July 17, 2024

I have the same issue. <install_dir> contains only dir database which contains unzipped files (from LINUX.X64_193000_db_home.zip)

docker run --rm -ti --privileged --name oracle11g -p 1521:1521 -v /media/panter/external/tmp:/install jaspeen/oracle-11g         
Database is not installed. Installing...
Installing Oracle Database 11g
bash: /install/database/runInstaller: Permission denied

from oracle-11g.

IdelCoder avatar IdelCoder commented on July 17, 2024

@panter-dsd I recommend you to clone the source code and do modification according to the pull request. Then you can build an image by yourself. This works for me.

from oracle-11g.

panter-dsd avatar panter-dsd commented on July 17, 2024

@IdelCoder I've tried your fork but I've had to make one more modification:

diff --git a/assets/install.sh b/assets/install.sh
index 2823a68..302bb57 100755
--- a/assets/install.sh
+++ b/assets/install.sh
@@ -12,6 +12,7 @@ fi
 
 echo_yellow "Installing Oracle Database 11g"
 
+chown -R oracle /install/database
 su oracle -c "/install/database/runInstaller -silent -ignorePrereq -waitforcompletion -responseFile /assets/db_install.rsp"

But I got the error after installer had been started:

[FATAL] [INS-10105] The given response file /assets/db_install.rsp is not valid.
   CAUSE: Syntactically incorrect response file. Either unexpected variables are specified or expected variables are not specified in the response file.
   ACTION: Refer the latest product specific response file template
   SUMMARY:
       - cvc-complex-type.2.4.a: Invalid content was found starting with element 'oracle.install.db.config.starterdb.gridcontrol.gridControlServiceURL'. One of '{oracle.install.option, oracle.install.db.ConfigureAsContainerDB, INVENTORY_LOCATION, UNIX_GROUP_NAME, oracle.install.db.InstallEdition, ORACLE_HOME, OSDBA_GROUP, OSOPER_GROUP, OSBACKUPDBA_GROUP, OSDGDBA_GROUP, OSKMDBA_GROUP, OSRACDBA_GROUP, CLUSTER_NODES, oracle.install.db.rac.configurationType, oracle.install.db.rac.serverpoolName, oracle.install.db.rac.serverpoolCardinality, oracle.install.db.isRACOneInstall, oracle.install.db.DBA_GROUP, oracle.install.db.BACKUPDBA_GROUP, oracle.install.db.DGDBA_GROUP, oracle.install.db.KMDBA_GROUP, oracle.install.db.OSDBA_GROUP, oracle.install.db.OSOPER_GROUP, oracle.install.db.OSBACKUPDBA_GROUP, oracle.install.db.OSDGDBA_GROUP, oracle.install.db.OSKMDBA_GROUP, oracle.install.db.OSRACDBA_GROUP, oracle.install.IsBuiltInAccount, oracle.install.IsVirtualAccount, oracle.install.OracleHomeUserName, oracle.install.OracleHomeUserPassword, oracle.install.db.rootconfig.executeRootScript, oracle.install.db.rootconfig.configMethod, oracle.install.db.rootconfig.sudoPath, oracle.install.db.rootconfig.sudoUserName, oracle.install.db.config.starterdb.SID, oracle.install.db.config.PDBName, oracle.install.db.config.pdbName, oracle.install.db.config.starterdb.memoryLimit, oracle.install.db.config.starterdb.password.SYS, oracle.install.db.config.starterdb.password.SYSTEM, oracle.install.db.config.starterdb.password.PDBADMIN, oracle.install.db.config.starterdb.managementOption, oracle.install.db.config.starterdb.omsHost, oracle.install.db.config.starterdb.omsPort, oracle.install.db.config.starterdb.emAdminUser, oracle.install.db.config.starterdb.emAdminPassword, oracle.install.db.config.starterdb.useWalletForPasswords, oracle.install.db.config.starterdb.walletLocation, oracle.install.db.config.starterdb.walletPassword, oracle.install.db.config.starterdb.enableRecovery, SECURITY_UPDATES_VIA_MYORACLESUPPORT, DECLINE_SECURITY_UPDATES, MYORACLESUPPORT_USERNAME, MYORACLESUPPORT_PASSWORD, PROXY_PORT, PROXY_USER, oracle.installer.autoupdates.downloadUpdatesLoc}' is expected.

from oracle-11g.

IdelCoder avatar IdelCoder commented on July 17, 2024

@panter-dsd I changed the code as you did. But it still goes properly. Maybe the problem is oracle installation package. My testing oracle is 11.2.0.3.

from oracle-11g.

gdisk avatar gdisk commented on July 17, 2024

make sure that the file runInstaller in /install/database/ has executable right,use ll /install/database/

from oracle-11g.

Shilpy-gautam avatar Shilpy-gautam commented on July 17, 2024

@panter-dsd @IdelCoder Did you get solution for this fatal error?

from oracle-11g.

Related Issues (16)

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.