Uploaded image for project: 'Bitbucket Data Center'
  1. Bitbucket Data Center
  2. BSERV-7043

Cannot install 3.6.1 on headless debian

    XMLWordPrintable

Details

    • Bug
    • Resolution: Support Request
    • Highest
    • None
    • 3.6.1
    • Installer - Linux
    • None
    • debian stable, all updates applied
      sun jdk 6 installed
      headless

    Description

      Installing on a headless machine unpacks the JRE, starts the installer and immediately throws:


      root@stash:~# ./atlassian-stash-3.6.1-x32.bin
      Unpacking JRE ...
      Starting Installer ...
      java.lang.UnsatisfiedLinkError: /root/atlassian-stash-3.6.1-x32.bin.5428.dir/jre/lib/i386/libfontmanager.so: libgcc_s.so.1: cannot open shared object file: No such file or directory
      at java.lang.ClassLoader$NativeLibrary.load(Native Method)
      at java.lang.ClassLoader.loadLibrary1(Unknown Source)
      at java.lang.ClassLoader.loadLibrary0(Unknown Source)
      at java.lang.ClassLoader.loadLibrary(Unknown Source)
      at java.lang.Runtime.loadLibrary0(Unknown Source)
      at java.lang.System.loadLibrary(Unknown Source)
      at sun.font.FontManagerNativeLibrary$1.run(Unknown Source)
      at java.security.AccessController.doPrivileged(Native Method)
      at sun.font.FontManagerNativeLibrary.<clinit>(Unknown Source)
      at sun.font.SunFontManager$1.run(Unknown Source)
      at java.security.AccessController.doPrivileged(Native Method)
      at sun.font.SunFontManager.<clinit>(Unknown Source)
      at sun.font.FontDesignMetrics.getMetrics(Unknown Source)
      at sun.swing.SwingUtilities2.getFontMetrics(Unknown Source)
      at javax.swing.JComponent.getFontMetrics(Unknown Source)
      at javax.swing.text.WrappedPlainView.updateMetrics(Unknown Source)
      at javax.swing.text.WrappedPlainView.updateChildren(Unknown Source)
      at javax.swing.text.WrappedPlainView.insertUpdate(Unknown Source)
      at javax.swing.plaf.basic.BasicTextUI$RootView.insertUpdate(Unknown Source)
      at javax.swing.plaf.basic.BasicTextUI$UpdateHandler.insertUpdate(Unknown Source)
      at javax.swing.text.AbstractDocument.fireInsertUpdate(Unknown Source)
      at javax.swing.text.AbstractDocument.handleInsertString(Unknown Source)
      at javax.swing.text.AbstractDocument.insertString(Unknown Source)
      at javax.swing.text.PlainDocument.insertString(Unknown Source)
      at javax.swing.text.DefaultEditorKit.read(Unknown Source)
      at javax.swing.JEditorPane.setText(Unknown Source)
      at javax.swing.JEditorPane.<init>(Unknown Source)
      at com.install4j.runtime.installer.frontend.headless.AbstractHeadlessScreenExecutor.init(Unknown Source)
      at com.install4j.runtime.installer.frontend.headless.ConsoleScreenExecutor.<init>(Unknown Source)
      at com.install4j.runtime.installer.frontend.headless.InstallerConsoleScreenExecutor.<init>(Unknown Source)
      at com.install4j.runtime.installer.Installer.getScreenExecutor(Unknown Source)
      at com.install4j.runtime.installer.Installer.runInProcess(Unknown Source)
      at com.install4j.runtime.installer.Installer.main(Unknown Source)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      at java.lang.reflect.Method.invoke(Unknown Source)
      at com.exe4j.runtime.LauncherEngine.launch(Unknown Source)
      at com.install4j.runtime.launcher.Launcher.main(Unknown Source)
      Could not display the GUI. This application needs access to an X Server.
      *******************************************************************
      You can also run this application in console mode without
      access to an X server by passing the argument -c
      *******************************************************************

      It suggests starting the installer with "-c" which throws the same error. Forwarding X over SSH works and running the installer from an X-forwarded xterm displayed locally gives the following stack trace:


      Unpacking JRE ...
      Starting Installer ...
      java.lang.NoClassDefFoundError: java.awt.Container
      at com.install4j.runtime.installer.frontend.headless.AbstractHeadlessScreenExecutor.init(Unknown Source)
      at com.install4j.runtime.installer.frontend.headless.ConsoleScreenExecutor.<init>(Unknown Source)
      at com.install4j.runtime.installer.frontend.headless.InstallerConsoleScreenExecutor.<init>(Unknown Source)
      at com.install4j.runtime.installer.Installer.getScreenExecutor(Unknown Source)
      at com.install4j.runtime.installer.Installer.runInProcess(Unknown Source)
      at com.install4j.runtime.installer.Installer.main(Unknown Source)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      at java.lang.reflect.Method.invoke(Unknown Source)
      at com.exe4j.runtime.LauncherEngine.launch(Unknown Source)
      at com.install4j.runtime.launcher.Launcher.main(Unknown Source)
      Could not display the GUI. This application needs access to an X Server.
      *******************************************************************
      You can also run this application in console mode without
      access to an X server by passing the argument -c
      *******************************************************************

      A related thread suggested installing dejavu fonts, which are installed.

      Attachments

        Activity

          People

            Unassigned Unassigned
            aaeb970f8f45 qficoliny
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: