Forum Stats

  • 3,769,800 Users
  • 2,253,023 Discussions
  • 7,875,209 Comments

Discussions

APEX 5.1.3 installation in Oracle Cloud Infrastructure with os-user: opc?

3614706
3614706 Member Posts: 1
edited May 7, 2018 7:56AM in Database Cloud Service

Dear all,

I want to install APEX 5.1.3 in my Oracle Cloud Infrastructure.

I deployed a DB System with Oracle Standard Edition 12.2.0.1.180116.

I created in the container the APEX tablespace.

I can connect as opc via SSH.

I set the environment:

export ORACLE_HOME=/app/oracle/product/12.1.0/dbhome_1

export ORACLE_SID=CDATA

export PATH=$PATH:/u01/app/oracle/product/12.2.0.1/dbhome_1/bin

export PERL5LIB=/u01/app/oracle/product/12.2.0.1/dbhome_1/perl/lib/5.22.0:/u01/app/oracle/product/12.2.0.1/dbhome_1/perl/lib/5.22.0/x86_64-linux-thread-multi

export PATH=$PATH:/u01/app/oracle/product/12.2.0.1/dbhome_1/perl/bin

When I run the command to install APEX 5.1.3

sqlplus sys/*** as sysdba @apexins.sql APEX APEX TEMP /i/

I get the following error:

Can't locate File/Basename.pm:   /u01/app/oracle/product/12.2.0.1/dbhome_1/perl/lib/5.22.0/File/Basename.pm: (null) at /u01/app/oracle/product/12.2.0.1/dbhome_1/rdbms/admin/catcon.pl line 112.

When I check the file with ls -la then I get as opc

-rwxr-x--- 1 oracle oinstall 11194 May 12  2016 /u01/app/oracle/product/12.2.0.1/dbhome_1/perl/lib/5.22.0/File/Basename.pm

So I cannot read from that file.

Now my question:

How can I install APEX 5.1.3 anyway?

Do I have access to the oracle os-user?

Answers

  • Alex_D-Oracle
    Alex_D-Oracle Member Posts: 51 Employee
    edited May 7, 2018 7:56AM

    Hello,

    Before the installation, you should switch to the "oracle" user from the "opc" user with su command:

    <span class="pln">$ sudo su </span><span class="pun">-</span><span class="pln"> oracle</span>

    Regards

This discussion has been closed.