Skip to main content
ExLibris
  • Subscribe by RSS
  • Ex Libris Knowledge Center

    RHEL 7 (CentOS 7) - Rosetta do not start after server reboot / startup

    • Product: Rosetta
    • Product Version: 5.1+

     

    Symptoms

    With RHEL 7 (CentOS 7), Rosetta do not start after server reboot / startup.
    Running 'systemctl status exlibris.service' might shows "systemd" failed:

    >> systemctl status exlibris.service

    exlibris.service - LSB: Startup ExLibris products + oracle
    Loaded: loaded (/etc/rc.d/init.d/exlibris; bad; vendor preset: disabled)
    Active: failed (Result: exit-code) since ...
    Docs: man:systemd-sysv-generator(8)
    Process: 55522 ExecStart=/etc/rc.d/init.d/exlibris start (code=exited,status=203/EXEC)

    Cause

    Startup mechanism in RHEL/CentOS 7 was changed, causing current '/etc/rc.d/init.d/exlibris' startup script to fail.

    Resolution

    1. SSH as 'root' user.

    2. Backup '/etc/rc.d/init.d/exlibris'.

    3. Replace '/etc/rc.d/init.d/exlibris' content with the following:

    #!/bin/bash
    #
    # Exlibris Starts ExLibris products
    #
    #
    ### BEGIN INIT INFO
    # chkconfig: 2345 98 10
    # description: Startup ExLibris products + oracle
    # Provides: $exlibris
    # Required-Start: $local_fs $network $remote_fs
    ### END INIT INFO

    i=0
    while [ $i -lt 10 ]
    do
        if [ -d /exlibris/startup/ ] ; then
            cd /exlibris/startup/
            break
        else
            echo "waiting for mount"
            sleep 10
        fi
        i=$[$i+1]
    done

    if [ ! -d /exlibris/startup/ ] ; then
        echo "/exlibris/startup not found"
        exit 1
    fi
    cd /exlibris/startup
    case "$1" in
    'start')
        ./start_stop start
        && touch /var/lock/subsys/exlibris
        # Start the Microfocus development license manager
        if ; then
            /etc/mflmrcscript
        fi
        ;;
    'stop')
        if [ -f fast_shutdown ] ; then
            csh -f fast_shutdown
        else
            ./start_stop stop
        fi
        if ; then
            /opt/microfocus/mflmf/lmfgetpv k
        fi
        rm -f /var/lock/subsys/exlibris
    ;;
    esac

     

    4. Stop then start Rosetta startup service:

    systemctl stop exlibris.service
    systemctl start exlibris.service

    5. Repeat steps 1 - 4 for any other affected application server in the environment.

     


    • Article last edited: 3-Feb-2021
    • Was this article helpful?