biemond / docker-database-puppet

Oracle Database 12.1.0.1 Standard Edition Docker image with puppet 3.7 on CentOS 6
19 stars 19 forks source link

[FATAL] [INS-35464] The installer does not support installing the Standard Edition of Oracle Database #4

Closed wwarlock closed 9 years ago

wwarlock commented 9 years ago

At first the log. The questions are below.

...
Notice: /Stage[main]/Oradb_12c/Oradb::Installdb[12.1.0.1_Linux-x86-64]/Db_directory_structure[oracle structure 12.1.0.2]/ensure: defined 'ensure' as ' resent'
Notice: /Stage[main]/Oradb_12c/Oradb::Installdb[12.1.0.1_Linux-x86-64]/Exec[extract /var/tmp/install/linuxamd64_12c_database_1of2.zip]/returns: execut d successfully
Notice: /Stage[main]/Oradb_12c/Oradb::Installdb[12.1.0.1_Linux-x86-64]/Exec[extract /var/tmp/install/linuxamd64_12c_database_2of2.zip]/returns: execut d successfully
Notice: /Stage[main]/Oradb_12c/Oradb::Installdb[12.1.0.1_Linux-x86-64]/Oradb::Utils::Dborainst[database orainst 12.1.0.2]/File[/etc/oraInst.loc]/ensur : created
Notice: /Stage[main]/Oradb_12c/Oradb::Installdb[12.1.0.1_Linux-x86-64]/File[/var/tmp/install/db_install_12.1.0.2.rsp]/ensure: created
Notice: /Stage[main]/Oradb_12c/Oradb::Installdb[12.1.0.1_Linux-x86-64]/Exec[install oracle database 12.1.0.1_Linux-x86-64]/returns: Starting Oracle Un versal Installer...
Notice: /Stage[main]/Oradb_12c/Oradb::Installdb[12.1.0.1_Linux-x86-64]/Exec[install oracle database 12.1.0.1_Linux-x86-64]/returns:
Notice: /Stage[main]/Oradb_12c/Oradb::Installdb[12.1.0.1_Linux-x86-64]/Exec[install oracle database 12.1.0.1_Linux-x86-64]/returns: Checking Temp spac : must be greater than 500 MB.   Actual 33405 MB    Passed
Notice: /Stage[main]/Oradb_12c/Oradb::Installdb[12.1.0.1_Linux-x86-64]/Exec[install oracle database 12.1.0.1_Linux-x86-64]/returns: Checking swap spac : must be greater than 150 MB.   Actual 1429 MB    Passed
Notice: /Stage[main]/Oradb_12c/Oradb::Installdb[12.1.0.1_Linux-x86-64]/Exec[install oracle database 12.1.0.1_Linux-x86-64]/returns: Preparing to launc  Oracle Universal Installer from /tmp/OraInstall2015-07-30_09-27-07AM. Please wait ...[FATAL] [INS-35464] The installer does not support installing th  Standard Edition of Oracle Database.
Notice: /Stage[main]/Oradb_12c/Oradb::Installdb[12.1.0.1_Linux-x86-64]/Exec[install oracle database 12.1.0.1_Linux-x86-64]/returns:    ACTION: Specify a valid choice for the Oracle Database Edition.
Error: /bin/sh -c 'unset DISPLAY;/var/tmp/install/linuxamd64_12c_database/database/runInstaller -silent -waitforcompletion -ignoreSysPrereqs -ignorePr req -responseFile /var/tmp/install/db_install_12.1.0.2.rsp' returned 254 instead of one of [6,0]
Error: /Stage[main]/Oradb_12c/Oradb::Installdb[12.1.0.1_Linux-x86-64]/Exec[install oracle database 12.1.0.1_Linux-x86-64]/returns: change from notrun
o 6 0 failed: /bin/sh -c 'unset DISPLAY;/var/tmp/install/linuxamd64_12c_database/database/runInstaller -silent -waitforcompletion -ignoreSysPrereqs -i norePrereq -responseFile /var/tmp/install/db_install_12.1.0.2.rsp' returned 254 instead of one of [6,0]
Notice: /Stage[main]/Oradb_12c/Oradb::Installdb[12.1.0.1_Linux-x86-64]/Exec[run root.sh script 12.1.0.1_Linux-x86-64]: Dependency Exec[install oracle
atabase 12.1.0.1_Linux-x86-64] has failures: true
Warning: /Stage[main]/Oradb_12c/Oradb::Installdb[12.1.0.1_Linux-x86-64]/Exec[run root.sh script 12.1.0.1_Linux-x86-64]: Skipping because of failed dep ndencies
Notice: /Stage[main]/Oradb_12c/Oradb::Installdb[12.1.0.1_Linux-x86-64]/Exec[remove oracle db extract folder 12.1.0.1_Linux-x86-64]: Dependency Exec[in tall oracle database 12.1.0.1_Linux-x86-64] has failures: true
Warning: /Stage[main]/Oradb_12c/Oradb::Installdb[12.1.0.1_Linux-x86-64]/Exec[remove oracle db extract folder 12.1.0.1_Linux-x86-64]: Skipping because
f failed dependencies
Notice: /Stage[main]/Oradb_12c/Oradb::Installdb[12.1.0.1_Linux-x86-64]/File[/oracle/product/12.1/db]: Dependency Exec[install oracle database 12.1.0.1 Linux-x86-64] has failures: true
Warning: /Stage[main]/Oradb_12c/Oradb::Installdb[12.1.0.1_Linux-x86-64]/File[/oracle/product/12.1/db]: Skipping because of failed dependencies
Notice: /Stage[main]/Oradb_12c/Oradb::Net[config net]/File[/var/tmp/install/netca_12.1.rsp]: Dependency Exec[install oracle database 12.1.0.1_Linux-x8 -64] has failures: true
Warning: /Stage[main]/Oradb_12c/Oradb::Net[config net]/File[/var/tmp/install/netca_12.1.rsp]: Skipping because of failed dependencies
Notice: /Stage[main]/Oradb_12c/Oradb::Net[config net]/Exec[install oracle net config net]: Dependency Exec[install oracle database 12.1.0.1_Linux-x86- 4] has failures: true
Warning: /Stage[main]/Oradb_12c/Oradb::Net[config net]/Exec[install oracle net config net]: Skipping because of failed dependencies
Notice: /Stage[main]/Oradb_12c/Oradb::Listener[start listener]/Db_listener[start listener]: Dependency Exec[install oracle database 12.1.0.1_Linux-x86 64] has failures: true
Warning: /Stage[main]/Oradb_12c/Oradb::Listener[start listener]/Db_listener[start listener]: Skipping because of failed dependencies
Notice: /Stage[main]/Oradb_12c/Oradb::Database[oraDb]/File[/var/tmp/install/database_oraDb.rsp]: Dependency Exec[install oracle database 12.1.0.1_Linu -x86-64] has failures: true
Warning: /Stage[main]/Oradb_12c/Oradb::Database[oraDb]/File[/var/tmp/install/database_oraDb.rsp]: Skipping because of failed dependencies
Notice: /Stage[main]/Oradb_12c/Oradb::Database[oraDb]/Exec[oracle database oraDb]: Dependency Exec[install oracle database 12.1.0.1_Linux-x86-64] has
ailures: true
Warning: /Stage[main]/Oradb_12c/Oradb::Database[oraDb]/Exec[oracle database oraDb]: Skipping because of failed dependencies
Notice: /Stage[main]/Oradb_12c/Oradb::Dbactions[start oraDb]/Db_control[instance control start oraDb]: Dependency Exec[install oracle database 12.1.0. _Linux-x86-64] has failures: true
Warning: /Stage[main]/Oradb_12c/Oradb::Dbactions[start oraDb]/Db_control[instance control start oraDb]: Skipping because of failed dependencies
Notice: /Stage[main]/Oradb_12c/Oradb::Autostartdatabase[autostart oracle]/Exec[set dbora soarepos:/oracle/product/12.1/db]: Dependency Exec[install or cle database 12.1.0.1_Linux-x86-64] has failures: true
Warning: /Stage[main]/Oradb_12c/Oradb::Autostartdatabase[autostart oracle]/Exec[set dbora soarepos:/oracle/product/12.1/db]: Skipping because of faile  dependencies
Info: Creating state file /var/lib/puppet/state/state.yaml
Notice: Finished catalog run in 338.29 seconds
The command '/bin/sh -c puppet apply /etc/puppet/site.pp --verbose --detailed-exitcodes || [ $? -eq 2 ]' returned a non-zero code: 1

So, the first question, I've looked at site.pp and didn't found how to switch to Enterprise. I need the Enterprise Edition.

The second question. how to resolve dependencies? Am I missed some repo in specification?

biemond commented 9 years ago

You can take a look at the oradb readme https://github.com/biemond/biemond-oradb This should be the one database_type => 'EE',

and I see I made a mistake or it was a pull request in the version of installdb

oradb::installdb{ '12.1.0.1_Linux-x86-64': version => '12.1.0.1', <------ and not 12.2.0.2

wwarlock commented 9 years ago

But what if the correct version is 12.1.0.2 ? Should I replace the all "12.1.0.1" to "12.1.0.2" Or should I download the "12.1.0.1" version from the Oracle site instead?

biemond commented 9 years ago

12.1.0.1 allows SE standard edition , I think 12.1.0.2 is only available for EE Enterprise edition.

so use the 12.1.0.1 download or change database_type to 'EE'

wwarlock commented 9 years ago

I understood about database_type and changed it already, but I don't understand about the version. If I have the "12.1.0.2" distro, should I specify that version in the site.pp?

biemond commented 9 years ago

yeah you can do this but is now only used in the title of the puppet defines

wwarlock commented 9 years ago

Ok, thanks