Skip to content

Error building Oracle XE 18c docker image in Oracle Linux 7.8 #1604

Closed
@jesusmorenodiaz

Description

@jesusmorenodiaz

Please help, I have to resolve this...

Reported last year, abandoned using docker with 18c XE and now starting again...
#1279 (comment)

Other guys having same error...
#1279 (comment)
fuzziebrain/docker-oracle-xe#15

[SEVERE] The su command is not configured properly or the oracle user does not have the required privileges to install the Oracle database. If you are running in a Docker environment, ensure to set the environment variable ORACLE_DOCKER_INSTALL=true and try again.
error: %pre(oracle-database-xe-18c-1.0-1.x86_64) scriptlet failed, exit status 1
Error in PREIN scriptlet in rpm package oracle-database-xe-18c-1.0-1.x86_64
Verifying : file-5.11-36.el7.x86_64 1/2
Verifying : oracle-database-xe-18c-1.0-1.x86_64 2/2

[root@tecnica24 dockerfiles]# uname -a
Linux tecnica24.local 4.14.35-1902.5.2.2.el7uek.x86_64 #2 SMP Fri Sep 20 00:39:39 GMT 2019 x86_64 x86_64 x86_64 GNU/Linux

Running UEK5

Also applied...
"Before installing oracle, you need to comment session include system-auth line in /etc/pam.d/su file of your linux image"

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions