cronjob for restarting Jedox fails

This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

  • cronjob for restarting Jedox fails

    Hey guys,
    I am having a problem :)
    I am on a centos 6.4 machine, running jedox 5 SR2.

    I want cron to restart Jedox every night but it doesnt work.

    Now I have the following:

    crontab:
    05 11 * * * /opt/Backup/jedox_restart.sh > /opt/Backup/Log/jedox_restart.log 2>&1

    jedox_restart.sh:
    export PATH=/usr/sbin:/sbin:$PATH

    /opt/jedox/ps/stopserver.sh

    /opt/jedox/ps/startserver.sh

    jedox_restart.log says:
    Stopping httpd: [ OK ]
    Stopping Jedox Web 5.0 core 64bit service (core)...done
    Stopping Jedox ETL 5.0 tomcat service (tomcat)...MinimumMemory 256 MB
    MaximumMemory 1024 MB
    PermGen_MaximumMemory 256 MB
    -XX:MinHeapFreeRatio=10 -XX:MaxHeapFreeRatio=20
    Stopping Jedox ETL 5.0 tomcat service (tomcat)...done
    Stopping Jedox OLAP-Server 5.0 64bit MT service (olap)...done
    Starting Jedox OLAP-Server 5.0 64bit MT service (olap)..........done
    Starting Jedox ETL 5.0 tomcat service (tomcat)...
    MinimumMemory 256 MB
    MaximumMemory 1024 MB
    PermGen_MaximumMemory 256 MB
    -XX:MinHeapFreeRatio=10 -XX:MaxHeapFreeRatio=20
    Starting Jedox ETL 5.0 tomcat service (tomcat)...failed!
    An error occurred! Aborting...

    Can you help me out here?