{"action":"created","issue":{"url":"https://api.github.com/repos/oracle/docker-images/issues/359","repository_url":"https://api.github.com/repos/oracle/docker-images","labels_url":"https://api.github.com/repos/oracle/docker-images/issues/359/labels{/name}","comments_url":"https://api.github.com/repos/oracle/docker-images/issues/359/comments","events_url":"https://api.github.com/repos/oracle/docker-images/issues/359/events","html_url":"https://github.com/oracle/docker-images/issues/359","id":223143546,"number":359,"title":"Oracle database 12.2.0.1-ee Docker container does not start","user":{"login":"dvohra","id":3654431,"avatar_url":"https://avatars2.githubusercontent.com/u/3654431?v=3","gravatar_id":"","url":"https://api.github.com/users/dvohra","html_url":"https://github.com/dvohra","followers_url":"https://api.github.com/users/dvohra/followers","following_url":"https://api.github.com/users/dvohra/following{/other_user}","gists_url":"https://api.github.com/users/dvohra/gists{/gist_id}","starred_url":"https://api.github.com/users/dvohra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dvohra/subscriptions","organizations_url":"https://api.github.com/users/dvohra/orgs","repos_url":"https://api.github.com/users/dvohra/repos","events_url":"https://api.github.com/users/dvohra/events{/privacy}","received_events_url":"https://api.github.com/users/dvohra/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2017-04-20T17:36:56Z","updated_at":"2017-04-21T11:30:57Z","closed_at":null,"body":"Compiled image with https://github.com/oracle/docker-images/tree/master/OracleDatabase, but the database does not start. \r\n\r\nOS is RHEL 7.3 on AWS\r\nInstance Type c3.8xlarge\r\nStorage 1000 GB\r\nDocker version is 17.03.1-ee-3 Build 3fcee33\r\n\r\n\r\n`docker run` command generates the following output including error message.\r\n\r\n```\r\n[ec2-user@ip-172-30-2-25 ~]$ sudo docker run --name orclcdb  \\\r\n> -p 1521:1521 -p 5500:5500 \\\r\n> -e ORACLE_SID=ORCLCDB \\\r\n> -e ORACLE_PDB=ORCLPDB1 \\\r\n> -e ORACLE_PWD=oracle \\\r\n> oracle/database:12.2.0.1-ee\r\n33a3a5e469a8: Pull complete \r\n212988691fe8: Pull complete \r\n4542c5e3ea46: Pull complete \r\n985c5fc42dff: Pull complete \r\nde0d00c03d2d: Pull complete \r\n9ca44aa383aa: Pull complete \r\nDigest: sha256:6fef7c2a38aef2a8e447ebdd405c9964edec7945001f3692792fae7df810d3d1\r\n\r\nORACLE AUTO GENERATED PASSWORD FOR SYS, SYSTEM AND PDBAMIN: wlQln0MqTz0=1\r\n\r\nLSNRCTL for Linux: Version 12.2.0.1.0 - Production on 20-APR-2017 16:30:54\r\n\r\nCopyright (c) 1991, 2016, Oracle.  All rights reserved.\r\n\r\nStarting /opt/oracle/product/12.2.0.1/dbhome_1/bin/tnslsnr: please wait...\r\n\r\nTNSLSNR for Linux: Version 12.2.0.1.0 - Production\r\nSystem parameter file is /opt/oracle/product/12.2.0.1/dbhome_1/network/admin/listener.ora\r\nLog messages written to /opt/oracle/diag/tnslsnr/4726052f9147/listener/alert/log.xml\r\nListening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1)))\r\nListening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=0.0.0.0)(PORT=1521)))\r\n\r\nConnecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1)))\r\nSTATUS of the LISTENER\r\n------------------------\r\nAlias                     LISTENER\r\nVersion                   TNSLSNR for Linux: Version 12.2.0.1.0 - Production\r\nStart Date                20-APR-2017 16:30:54\r\nUptime                    0 days 0 hr. 0 min. 0 sec\r\nTrace Level               off\r\nSecurity                  ON: Local OS Authentication\r\nSNMP                      OFF\r\nListener Parameter File   /opt/oracle/product/12.2.0.1/dbhome_1/network/admin/listener.ora\r\nListener Log File         /opt/oracle/diag/tnslsnr/4726052f9147/listener/alert/log.xml\r\nListening Endpoints Summary...\r\n  (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1)))\r\n  (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=0.0.0.0)(PORT=1521)))\r\nThe listener supports no services\r\nThe command completed successfully\r\n[WARNING] [DBT-10102] The listener configuration is not selected for the database. EM DB Express URL will not be accessible.\r\n   CAUSE: The database should be registered with a listener in order to access the EM DB Express URL.\r\n   ACTION: Select a listener to be registered or created with the database.\r\nCopying database files\r\n1% complete\r\n2% complete\r\nDBCA Operation failed.\r\nLook at the log file \"/opt/oracle/cfgtoollogs/dbca/ORCLCDB/ORCLCDB.log\" for further details.\r\n[ 2017-04-20 16:30:59.409 UTC ] Copying database files\r\nDBCA_PROGRESS : 1%\r\n[ 2017-04-20 16:30:59.665 UTC ] ORA-12547: TNS:lost contact\r\n\r\nDBCA_PROGRESS : 2%\r\n[ 2017-04-20 16:30:59.868 UTC ] Error while cataloging RMAN Backups\r\n[ 2017-04-20 16:30:59.957 UTC ] DBCA_PROGRESS : DBCA Operation failed.\r\n\r\nSQL*Plus: Release 12.2.0.1.0 Production on Thu Apr 20 16:31:00 2017\r\n\r\nCopyright (c) 1982, 2016, Oracle.  All rights reserved.\r\n\r\nERROR:\r\nORA-12547: TNS:lost contact\r\n\r\n\r\nEnter user-name: SP2-0306: Invalid option.\r\nUsage: CONN[ECT] [{logon|/|proxy} [AS {SYSDBA|SYSOPER|SYSASM|SYSBACKUP|SYSDG|SYSKM|SYSRAC}] [edition=value]]\r\nwhere <logon> ::= <username>[/<password>][@<connect_identifier>]\r\n      <proxy> ::= <proxyuser>[<username>][/<password>][@<connect_identifier>]\r\nEnter user-name: SP2-0306: Invalid option.\r\nUsage: CONN[ECT] [{logon|/|proxy} [AS {SYSDBA|SYSOPER|SYSASM|SYSBACKUP|SYSDG|SYSKM|SYSRAC}] [edition=value]]\r\nwhere <logon> ::= <username>[/<password>][@<connect_identifier>]\r\n      <proxy> ::= <proxyuser>[<username>][/<password>][@<connect_identifier>]\r\nSP2-0157: unable to CONNECT to ORACLE after 3 attempts, exiting SQL*Plus\r\nmv: cannot stat '/opt/oracle/product/12.2.0.1/dbhome_1/dbs/spfileORCLCDB.ora': No such file or directory\r\nmv: cannot stat '/opt/oracle/product/12.2.0.1/dbhome_1/dbs/orapwORCLCDB': No such file or directory\r\n#########################\r\nDATABASE IS READY TO USE!\r\n#########################\r\ntail: cannot open '/opt/oracle/diag/rdbms/*/*/trace/alert*.log' for reading: No such file or directory\r\ntail: no files remaining\r\n\r\n```\r\n\r\n`/opt/oracle/cfgtoollogs/dbca/ORCLCDB/ORCLCDB.log` is as follows:\r\n\r\n```\r\n\r\n[ 2017-04-20 16:30:59.409 UTC ] Copying database files\r\nDBCA_PROGRESS : 1%\r\n[ 2017-04-20 16:30:59.665 UTC ] ORA-12547: TNS:lost contact\r\n\r\nDBCA_PROGRESS : 2%\r\n[ 2017-04-20 16:30:59.868 UTC ] Error while cataloging RMAN Backups\r\n[ 2017-04-20 16:30:59.957 UTC ] DBCA_PROGRESS : DBCA Operation failed.\r\n~ \r\n```\r\n`docker info` output:\r\n\r\n```\r\n[ec2-user@ip-172-30-2-25 ~]$ sudo docker info\r\nContainers: 4\r\n Running: 0\r\n Paused: 0\r\n Stopped: 4\r\nImages: 4\r\nServer Version: 17.03.1-ee-3\r\nStorage Driver: overlay\r\n Backing Filesystem: xfs\r\n Supports d_type: true\r\nLogging Driver: json-file\r\nCgroup Driver: cgroupfs\r\nPlugins: \r\n Volume: local\r\n Network: bridge host macvlan null overlay\r\nSwarm: inactive\r\nRuntimes: runc\r\nDefault Runtime: runc\r\nInit Binary: docker-init\r\ncontainerd version: 4ab9917febca54791c5f071a9d1f404867857fcc\r\nrunc version: 54296cf40ad8143b62dbcaa1d90e520a2136ddfe\r\ninit version: 949e6fa\r\nSecurity Options:\r\n seccomp\r\n  Profile: default\r\nKernel Version: 3.10.0-514.el7.x86_64\r\nOperating System: Red Hat Enterprise Linux Server 7.3 (Maipo)\r\nOSType: linux\r\nArchitecture: x86_64\r\nCPUs: 32\r\nTotal Memory: 58.56 GiB\r\nName: ip-172-30-2-25.ec2.internal\r\nID: 7UWG:G34M:4V7Z:CJZR:CR52:624T:KNIF:DZ75:4UTW:ARCF:MEOZ:PEMC\r\nDocker Root Dir: /var/lib/docker\r\nDebug Mode (client): false\r\nDebug Mode (server): false\r\nUsername: dvohra\r\nRegistry: https://index.docker.io/v1/\r\nExperimental: false\r\nInsecure Registries:\r\n 127.0.0.0/8\r\nLive Restore Enabled: false\r\n[ec2-user@ip-172-30-2-25 ~]$ \r\n```\r\n\r\n\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/oracle/docker-images/issues/comments/296167202","html_url":"https://github.com/oracle/docker-images/issues/359#issuecomment-296167202","issue_url":"https://api.github.com/repos/oracle/docker-images/issues/359","id":296167202,"user":{"login":"dvohra","id":3654431,"avatar_url":"https://avatars2.githubusercontent.com/u/3654431?v=3","gravatar_id":"","url":"https://api.github.com/users/dvohra","html_url":"https://github.com/dvohra","followers_url":"https://api.github.com/users/dvohra/followers","following_url":"https://api.github.com/users/dvohra/following{/other_user}","gists_url":"https://api.github.com/users/dvohra/gists{/gist_id}","starred_url":"https://api.github.com/users/dvohra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dvohra/subscriptions","organizations_url":"https://api.github.com/users/dvohra/orgs","repos_url":"https://api.github.com/users/dvohra/repos","events_url":"https://api.github.com/users/dvohra/events{/privacy}","received_events_url":"https://api.github.com/users/dvohra/received_events","type":"User","site_admin":false},"created_at":"2017-04-21T11:30:57Z","updated_at":"2017-04-21T11:30:57Z","body":"The highest version supported on EC2 is Oracle Enterprise Linux 6.8. Would it be fine? Or Oracle  Linux 7 is required?"}}
{"actor":{"display_login":"dvohra"}}