Forum Stats

  • 3,784,351 Users
  • 2,254,928 Discussions
  • 7,880,790 Comments

Discussions

Update: I was wrong about /etc/init.d/oracle-xe-18c bad code hangs configuration

John A
John A Member Posts: 8

I am hanging my head in shame at inferring the code was bad. Yes orabase is an executable but it's use in the variable assignment was not absolute - it was executed to give a path.

The listener hanging was due the networking setup on my virtual Ora Linux Virtualbox. I had to run the code manually to verify.

So sorry if I offended any of the developers of the code

------------------------------------------------------------------------------

Oracle Linux 7 u 8

Current download of 18c eeXE

Pre-install Done

Database software install Done

At the step of "/etc/init.d/oracle-xe-18c configure" the script hangs at "Configuring Oracle Listener"

The code is trying to create a directory where a binary file exists. "orabase" is a binary executable file:

    echo "Configuring Oracle Listener."

    ORABASE=`$ORACLE_HOME/bin/orabase`

    NETCA_LOG_DIR="$ORABASE/cfgtoollogs/netca"

    if [ ! -d "$NETCA_LOG_DIR" ]

    then

       $SU -s /bin/bash $ORACLE_OWNER -c "$MKDIR_CMD -p $NETCA_LOG_DIR"

    fi

    NETCA_LOG="$NETCA_LOG_DIR/netca_configure_out.log"

Answers