You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 13 Current »

Having extracted the JobScheduler installer you will receive the following files:

  • scheduler_linux.x.x.x.xxxx.tar.gz
  • scheduler_linux_update.x.x.x.xxxx.tar.gz
  • scheduler_linux_agent.x.x.x.xxxx.tar.gz
  • in addition, directory jobscheduler.x.x.x.xxxx will be created

This directory contains the script setup.sh that executes the installer scheduler_linux32(_update|_agent).jar.

  • It is strongly recommended that you are not logged in as root.
  • The installer opens normally a GUI so that an X-server is required.
    • If an X-server is not installed or you have X11 or font problems then you can start the installer without GUI (see below).

At first the script tries to execute the installer with sudo.

  sudo -E java -jar scheduler_linux32.jar

It is possible that an error occurs, e.g.

  ...
  Exception in thread "main" java.lang.NoClassDefFoundError: sun.awt.X11GraphicsEnvironment (initialization failure)
  ...
  Caused by: java.lang.InternalError: Can't connect to X11 window server using ':0' as the value of the DISPLAY variable.
  ...

whenever an error occurs, the script will ask if you want to use su instead, because you have a different environment using su.

  Do you want to use 'su' instead of 'sudo'? (y or n)

Confirm this question with y to use su.

  su root -c "java -jar scheduler_linux32.jar"

If you still get an error, you can call the script with the current user (without sudo or su).

  ./setup.sh -u

In this case you should install all files to the current user home directory (the installer proposes /opt/... for some files).

Finally you have the option to start the installer with an XML file as parameter so that the installer does not open a GUI.

An XML template file (scheduler_(install|update|agent).xml) is contained in the jobscheduler.x.x.x.xxxx directory.

Edit this file and call

  ./setup.sh scheduler_install.xml

or

  ./setup.sh -u scheduler_install.xml
  • No labels