Docker Community Forums

Share and learn in the Docker community.

Could not run Oracle 11g container


(Jaydipta) #1

Hi I am trying to create an Oracle 11g container. Which is giving follwing error. I am following git hub command from
https://github.com/oracle/docker-images/tree/master/OracleDatabase. Docker run command -

docker run --name ora11g
–shm-size=1g
-p 1522:1521 -p 8082:8080
-v /docker-container/volumes/ora11g:/u01/app/oracle/oradata
oracle/database:11.2.0.2-xe

I am getting error -

Connected to:
Oracle Database 11g Express Edition Release 11.2.0.2.0 - 64bit Production

SQL> BEGIN DBMS_XDB.SETLISTENERLOCALACCESS(FALSE); END;

  *

ERROR at line 1:
ORA-06550: line 1, column 7:
PLS-00201: identifier ‘DBMS_XDB.SETLISTENERLOCALACCESS’ must be declared
ORA-06550: line 1, column 7:
PL/SQL: Statement ignored

SQL> Disconnected from Oracle Database 11g Express Edition Release 11.2.0.2.0 - 64bit Production
#########################
DATABASE IS READY TO USE!
#########################
starting up 4 shared server(s) …
ORACLE_BASE from environment = /u01/app/oracle
Mon Oct 10 11:15:42 2016
ALTER DATABASE MOUNT
ORA-00210: cannot open the specified control file
ORA-00202: control file: '/u01/app/oracle/oradata/XE/control.dbf’
ORA-27037: unable to obtain file status
Linux-x86_64 Error: 13: Permission denied
Additional information: 3
ORA-205 signalled during: ALTER DATABASE MOUNT…


(Gagarp) #2

I am getting same error. Pls suggest how this is resolved.?