MaksymBilenko / docker-oracle-12c

:whale: Docker image with Oracle Database 12c on board
Apache License 2.0
679 stars 285 forks source link

ORA-12547: TNS:lost contact #158

Open gmananton opened 2 years ago

gmananton commented 2 years ago

The issue occurs when running on M1 Max chip

 ⠿ Container oracle_oracledb_1  Created                                                                                                                                                                        0.0s
Attaching to oracledb_1
oracledb_1  | found files in /u01/app/oracle/oradata Using them instead of initial database
oracledb_1  | ERROR:
oracledb_1  | ORA-12547: TNS:lost contact
ecamaj commented 1 year ago

Yes, I'm trying to figure this one too... @gmananton if you find anything that helped resolve this, please post here. <3

ecamaj commented 1 year ago

oh, now I see this is an old issue... did you manage to solve this? Or anything that enabled you to run and connect to oracle db on Apple silicon?

Yaar48 commented 1 year ago

I had a devil of a time with compiling binaries for Oracle 12c on RHEEL 8.6. Now TNS listener is working and Sqlplus launches but none of my accounts authenticate.

cytown commented 1 year ago

Same issue but in Intel platform, startup log:

found files in /u01/app/oracle/oradata Using them instead of initial database
ERROR:
ORA-12547: TNS:lost contact
ERROR:
ORA-12547: TNS:lost contact
Starting web management console
ERROR:
ORA-12547: TNS:lost contact
SP2-0306: Invalid option.
Usage: CONN[ECT] [{logon|/|proxy} [AS {SYSDBA|SYSOPER|SYSASM|SYSBACKUP|SYSDG|SYSKM|SYSRAC}] [edition=value]]
where <logon> ::= <username>[/<password>][@<connect_identifier>]
      <proxy> ::= <proxyuser>[<username>][/<password>][@<connect_identifier>]
[IMPORT] Not a first start, SKIPPING Import from Volume '/docker-entrypoint-initdb.d'
[IMPORT] If you want to enable import at any state - add 'IMPORT_FROM_VOLUME=true' variable
Database ready to use. Enjoy! ;)
0x457 commented 8 months ago

Same issue when recreate container with local volumed oradata ,but I oracle18 is ok