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

Compare with Current View Page History

« Previous Version 12 Next »

If you have extract a JobScheduler installer

  • 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
    you get a directory jobscheduler.x.x.x.xxxx.

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

It is strongly recommended that you 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 call 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