Issue in installing hotfix

Reply
Occasional Contributor
Posts: 10

Issue in installing hotfix

We are trying to install the hotfix viaunix, but we are getting following error while implementing it. Did any one have idea to get it resolved. The issue is with the display varaible which is causing hotfix GUI to fail. We have tried various options but still it is not getting resolved.

HotFixMain - Starting IT hot fix GUI failed

java.lang.InternalError: Can't connect to X11 window server using '10.23.17.104:0.0' as the value of the DISPLAY variable.

        at sun.awt.X11GraphicsEnvironment.initDisplay(Native Method)

        at sun.awt.X11GraphicsEnvironment.access$100(X11GraphicsEnvironment.java:52)

        at sun.awt.X11GraphicsEnvironment$1.run(X11GraphicsEnvironment.java:155)

        at java.security.AccessController.doPrivileged(Native Method)

        at sun.awt.X11GraphicsEnvironment.<clinit>(X11GraphicsEnvironment.java:131)

        at java.lang.Class.forName0(Native Method)

        at java.lang.Class.forName(Class.java:169)

        at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:68)

        at sun.awt.X11.XToolkit.<clinit>(XToolkit.java:89)

        at java.lang.Class.forName0(Native Method)

        at java.lang.Class.forName(Class.java:169)

        at java.awt.Toolkit$2.run(Toolkit.java:834)

        at java.security.AccessController.doPrivileged(Native Method)

        at java.awt.Toolkit.getDefaultToolkit(Toolkit.java:826)

        at javax.swing.UIManager.initialize(UIManager.java:1411)

        at javax.swing.UIManager.maybeInitialize(UIManager.java:1394)

        at javax.swing.UIManager.getDefaults(UIManager.java:633)

        at javax.swing.UIManager.getColor(UIManager.java:675)

        at com.sun.java.swing.plaf.motif.MotifBorders$BevelBorder.<init>(MotifBorders.java:43)

        at com.sun.java.swing.plaf.motif.MotifLookAndFeel.initComponentDefaults(MotifLookAndFeel.java:193)

        at javax.swing.plaf.basic.BasicLookAndFeel.getDefaults(BasicLookAndFeel.java:130)

        at javax.swing.UIManager.setLookAndFeel(UIManager.java:514)

        at javax.swing.UIManager.setLookAndFeel(UIManager.java:558)

        at com.sas.tools.installs.it.HotFixMain.showGui(HotFixMain.java:399)

        at com.sas.tools.installs.it.HotFixMain.run(HotFixMain.java:249)

        at com.sas.tools.installs.it.HotFixMain.main(HotFixMain.java:157)

Super User
Posts: 7,863

Re: Issue in installing hotfix

Is 10.23.17.104 the correct IP number of the machine that you work on (ie where the X11 window server resides)?

If yes, you may have an Xauth problem.

How do you connect to your SAS server? Are you on a graphical console on the machine itself or do you do your admin remotely? Do you start the clients (xterm etc) via telnet or do you start dtsession or similar from a commandline?

---------------------------------------------------------------------------------------------
Maxims of Maximally Efficient SAS Programmers
Occasional Contributor
Posts: 10

Re: Issue in installing hotfix

Posted in reply to KurtBremser

We connect to SAS servers via putty session, no graphical console is used.

Super User
Posts: 7,863

Re: Issue in installing hotfix

SAS deployment manager is a graphic GUI and needs a X11 server to display on and get input from.

Get an X11 server (eg Xmanager) running on your PC, enable X11 tunneling in your putty and your sshd on the server, and you should be fine.

---------------------------------------------------------------------------------------------
Maxims of Maximally Efficient SAS Programmers
PROC Star
Posts: 426

Re: Issue in installing hotfix

Posted in reply to KurtBremser

Using the SAS Deployment Manager via X will be simpler, but there is also a console mode available by invoking sasdm.sh with the -console command line option.  For more info have a look in the SAS Deployment Wizard and SAS Deployment Manager 9.3: User’s Guide at the sections Command Line Options for Hot Fixes (page 27) and Using a Text-Based Interface (UNIX and z/OS only) (page 44). To quote some of the documentation:

If you do not wish to rely on an X11 server for UNIX or z/OS, you can use the SAS Deployment

Manager in console mode, allowing you to use a headless system to install hot fixes. Console

mode cannot be used on your middle tier. If you use console mode, each dialog used in the

deployment of your SAS software is represented in text.

Occasional Contributor
Posts: 10

Re: Issue in installing hotfix

Posted in reply to PaulHomes

I was trying to run SAS Deployment Manager in console mode itself. I used command ./sasdm.sh -console -pagesize 20 -pagewidth 50, this starts the deployment manager. But after I mentioned the path of the hotfix, after that when the code runs hot fix package installer, Hot Fix Application Failure message comes and in the logs above mentioned error is seen.

PROC Star
Posts: 426

Re: Issue in installing hotfix

In that case you might be best to contact SAS Technical Support (or install some X Server software on your Windows machine).

Out of interest, which operating system version, SAS version, and hotfix is this? Also which tier are you installing the hotfix on?

Contributor
Posts: 30

Re: Issue in installing hotfix

http://support.sas.com/kb/7/313.html

Are you able to run the xclock command and which user are you logged in as? Make sure you logged in with the same account that was used for the installation, i.e. sasinst.

Ask a Question
Discussion stats
  • 7 replies
  • 612 views
  • 0 likes
  • 4 in conversation