Forum Stats

  • 3,838,013 Users
  • 2,262,319 Discussions
  • 7,900,475 Comments

Discussions

Install Oracle XE 21c on rhel 8.4

I'm trying to install Oracle XE 21c on RHEL 8.4. When I run the configure I get the following message:

[[email protected] louis]# /etc/init.d/oracle-xe-21c configure

/etc/init.d/oracle-xe-21c: line 508: /opt/oracle/product/21c/dbhomeXE/bin/orabase: No such file or directory

Specify a password to be used for database accounts. Oracle recommends that the password entered should be at least 8 characters in length, contain at least 1 uppercase character, 1 lower case character and 1 digit [0-9]. Note that the same password will be used for SYS, SYSTEM and PDBADMIN accounts:

Confirm the password:

Configuring Oracle Listener.

/etc/init.d/oracle-xe-21c: line 275: /opt/oracle/product/21c/dbhomeXE/bin/orabase: No such file or directory

/bin/mkdir: cannot create directory ‘/cfgtoollogs’: Permission denied

bash: /cfgtoollogs/netca/netca_configure_out.log: No such file or directory

chmod: cannot access '/cfgtoollogs/netca/netca_configure_out.log': No such file or directory

bash: /cfgtoollogs/netca/netca_configure_out.log: No such file or directory

Listener configuration failed. Check log '/cfgtoollogs/netca/netca_configure_out.log' for more details.

I tried running it as "sudo /etc/init.d/oracle-xe-21c configure"

and

[[email protected] louis]# /etc/init.d/oracle-xe-21c configure

/etc/init.d/oracle-xe-21c: line 508: /opt/oracle/product/21c/dbhomeXE/bin/orabase: No such file or directory

Specify a password to be used for database accounts. Oracle recommends that the password entered should be at least 8 characters in length, contain at least 1 uppercase character, 1 lower case character and 1 digit [0-9]. Note that the same password will be used for SYS, SYSTEM and PDBADMIN accounts:

Confirm the password:

Configuring Oracle Listener.

/etc/init.d/oracle-xe-21c: line 275: /opt/oracle/product/21c/dbhomeXE/bin/orabase: No such file or directory

/bin/mkdir: cannot create directory ‘/cfgtoollogs’: Permission denied

bash: /cfgtoollogs/netca/netca_configure_out.log: No such file or directory

chmod: cannot access '/cfgtoollogs/netca/netca_configure_out.log': No such file or directory

bash: /cfgtoollogs/netca/netca_configure_out.log: No such file or directory

Listener configuration failed. Check log '/cfgtoollogs/netca/netca_configure_out.log' for more details.

Why is this happening?


thanks

Comments

  • User_5ZB95
    User_5ZB95 Member Posts: 1 Green Ribbon

    /bin/mkdir: cannot create directory ‘/opt/oracle/cfgtoollogs’: Permission denied

    bash: /opt/oracle/cfgtoollogs/netca/netca_configure_out.log: No such file or directory

    chmod: cannot access '/opt/oracle/cfgtoollogs/netca/netca_configure_out.log': No such file or directory

    bash: /opt/oracle/cfgtoollogs/netca/netca_configure_out.log: No such file or directory

    Listener configuration failed. Check log '/opt/oracle/cfgtoollogs/netca/netca_configure_out.log' for more details.