Previous Topic Next topic Print topic


UNIX and Linux Installer Issues

Installing on Linux
On Linux, the 32-bit version of Java is required to install and use Visual COBOL for Eclipse. When you start the installation, if the 64-bit version of Java is already installed on your Linux machine, you might not be able to install Visual COBOL. This is a known issue with the Oracle Java installers for Linux which prevent you from installing both the 32-bit and the 64-bit versions of Java on the same machine. To work around this problem:
  • Download the 32-bit Java distribution in a compressed .tar format from the Oracle Web site.
  • Untar the distribution into a location different from the one used for the 64-bit Java version. For example, untar in /usr/local/java32 and not in /usr/local/java.
  • Set JAVA_HOME and LD_LIBRARY_PATH to the 32-bit version of Java so that it is used to install and run Visual COBOL.
License Infrastructure Installer
  • On some Solaris platforms, you can receive the following error message when SafeNet license server needs to be installed or upgraded on your machine:
    tar: /safenet.tar: No such file or directory

    To resolve this issue, wait for the installation to complete and then perform the following:

    1. Navigate to the safenet directory in the COBDIR location.
    2. With superuser permissions execute: ./MFLicenseServerInstall.sh
  • Note: The following information applies when you are installing on Red Hat Enterprise Linux (RHEL) 7.
    Certain configuration changes in RHEL 7 (such as the /etc/inittab file no longer available) required a change in the MF SafeNet license installer for this platform and the way you can manually manage the licensing service.

    By default, the MF SafeNet licensing service is still configured so that it starts automatically when starting your machine. Only on RHEL 7, you must use the systemctl command available with the OS if you need to override the default behaviour – for example, if you do not want run the MF SafeNet licensing service at start-up or if you do not want the service to automatically start when you are configuring trace levels.

    1. Create a file, MFSafeNet.service, in /usr/lib/systemd/system/ with the following contents:
      ----------- start of /usr/lib/systemd/system/MFSafeNet.service -----------
          [Unit]
          Description=Micro Focus SafeNet licensing daemons. 
          Documentation=http://supportline.microfocus.com
      
          [Service]
          Type=forking
          ExecStart=/var/microfocuslicensing/bin/startboth.sh
          ExecStop=/var/microfocuslicensing/bin/stopboth.sh
          Restart=no
      
          [Install]
          WantedBy=multi-user.target
      -----------  end of /usr/lib/systemd/system/MFSafeNet.service  -----------
    2. Use the systemctl command to manage the SafeNet service:
      [ asroot ] systemctl option MFSafeNet

      Where some of the values that option can take are:

      reenable
      Installs the SafeNet service.
      is-enabled
      Checks the status of the SafeNet service. Does not require root privileges.
      start
      Starts the SafeNet service.
      stop
      Stops the SafeNet service.
      restart
      Restarts the SafeNet service.
      disable
      Disables the SafeNet service so it does not start when the machine is booted.
      enable
      Enables the SafeNet Service so it starts when the machine is booted.

      For more information about systemctl, refer to the help available with the RHEL OS.

License Server
You need to configure the computer hostname to ensure the license server will start properly.

To avoid performance issues, "localhost" and the computer hostname must not both be mapped to IP address 127.0.0.1. You should only map "localhost" to IP address 127.0.0.1.

The following is an example of how to specify these entries correctly in the etc/hosts file:

127.0.0.1 localhost.localdomain localhost
IP machinelonghostname machineshorthostname

where IP is the unique IP address of the computer in xx.xx.xx.xx format.

Previous Topic Next topic Print topic