Architecting, installing and maintaining your SAS environment

Display environment variable has not been set, please set it and run this application again

Accepted Solution Solved
Reply
New Contributor
Posts: 2
Accepted Solution

Display environment variable has not been set, please set it and run this application again

Hi,

when i am trying to start SAS DEPLOYMENT MANAGER using ./sasadm.sh in linux i am getting the below error

 

"Error: Your DISPLAY environmental variable has not been set.
Please set it and run this application again."

 

and then when i am trying to start to deployment wizard using ./deploywiz.sh in linux i am getting the below error

 

"Error: Missing /sas/sas94/SASDeploymentManager/9.4/products/deploywiz__94280__prt__xx__sp0__1/../../setup.dat."

 

could someone please help me.?

 

 


Accepted Solutions
Solution
a month ago
SAS Employee
Posts: 318

Re: Display environment variable has not been set, please set it and run this application again

Posted in reply to KurtBremser

@srilax@KurtBremser,

 

That's true, but if you do not have an X11 server, you can start SAS Deployment Manager in text mode:

 

./sasdm.sh -console

View solution in original post


All Replies
Super User
Posts: 8,055

Re: Display environment variable has not been set, please set it and run this application again

The deployment manager expects a X-capable graphical environment, which it detects through the DISPLAY environment variable. This usually looks like

localhost:10.0

instead of the localhost, it can/might contain a IP address.

So you should either install from a graphical console for the Linux server, or if you want to do it remotely, set up a X server on your PC and run the setup through that.

 

AFAIK, the SDW is always started by running setup.sh from the root of the SAS depot.

---------------------------------------------------------------------------------------------
Maxims of Maximally Efficient SAS Programmers
Solution
a month ago
SAS Employee
Posts: 318

Re: Display environment variable has not been set, please set it and run this application again

Posted in reply to KurtBremser

@srilax@KurtBremser,

 

That's true, but if you do not have an X11 server, you can start SAS Deployment Manager in text mode:

 

./sasdm.sh -console
Super User
Posts: 8,055

Re: Display environment variable has not been set, please set it and run this application again

[ Edited ]

alexal wrote:

@srilax@KurtBremser,

 

That's true, but if you do not have an X11 server, you can start SAS Deployment Manager in text mode:

 

./sasdm.sh -console

Has sasdm.sh been added rather recently, or is it Linux-specific? My AIX depot only contains the setup.sh.

---------------------------------------------------------------------------------------------
Maxims of Maximally Efficient SAS Programmers
New Contributor
Posts: 2

Re: Display environment variable has not been set, please set it and run this application again

@alexal

Thankyou for suggessting textmode. It worked.

☑ This topic is solved.

Need further help from the community? Please ask a new question.

Discussion stats
  • 4 replies
  • 199 views
  • 1 like
  • 3 in conversation