Architecting, installing and maintaining your SAS environment

Linux SAS install error

Reply
Occasional Contributor
Posts: 13

Linux SAS install error

I am getting the error "The following characters are invalid for the SAS installation data file location:   % * " & ? : > \ | ( )" when pointing out SAS installation data file and installing SAS to a linux machine.

I use a non-root account. I defined a SASHOME inside my home folder. But this error is interesting.

Super User
Posts: 6,946

Re: Linux SAS install error

Where did you store the SID file?

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

Re: Linux SAS install error

Depot is on /home/user/Downloads/SAS Software Depot

sid-files is  in sid_files/ folder which is under Depot.

SASHOME is /home/user/SASHOME.

 

Super User
Posts: 6,946

Re: Linux SAS install error

[ Edited ]

Always remember this: blanks in filenames (especially on servers) are a VERY BAD IDEA.

What looks nice in a Windows PC Explorer window is pure horror to administrate, because you always have to care about proper quoting/unquoting. Using underscores instead is the way to go.

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

Re: Linux SAS install error

This is not my fault. Those windows system admins who packed the rar file are to be blamed. I am a linux guy by the way and hate blanks in file names Smiley Happy

Now my question is turned to this: how to launch SAS? I am a newbie about SAS modules, programs.

Where is it installed? I tried to install it on my home folder, to remedy potential errors.

 

Super User
Posts: 6,946

Re: Linux SAS install error

[ Edited ]

Then I humbly suggest you print my quote in large enough letters and affix that to their monitors Smiley Wink

 

Starting SAS:

to get a simple Base SAS (aka Display Manager) session look in the SASROOT location for a directory called SASFoundation, and in there for a directory named like the version (ie 9.4). In there you will find an executable sas. Starting that from the commandline should get you a running SAS session.

But, since I guess your linux install is a server install, you are most probably better off following the post-install instructions to verify a successful installation.

There should be several processes running that form the core for all server operations, like SAS Metadata Server, Object Spawner, Remote Services, Web Application server (the latter two being Java-based).

In most cases, the installation package contains several client-side (Windows) tools, most important being SAS Management Console and SAS Enterprise Guide. Install those on a client PC and point them to your server on startup.

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

Re: Linux SAS install error

Thanks for the reply

No it was not a server install, I am not sure if my subscription allows the server and I do not need server.

But unavailability of GUIs is a little surprising. I think accessing via web interface is possible.

I think reading post installation instructions is a must, though I am fed up with reading manuals, because

that sas executable fails with an exception stating that attaching to JAVA is not successfull.

The discussion is going toward off-topic, I will open new threads for my new questions.

Regular Contributor
Posts: 170

Re: Linux SAS install error

Did you try launching it with the "-nodms" option so it will launch the command-line version?

Without this option it's going to assume you're trying to launch with a GUI, in which case you need to make sure you some sort of X11 server running and the display can be forwarded to your desktop. Something like Cygwin, MobaXterm, etc.
Occasional Contributor
Posts: 13

Re: Linux SAS install error

Yes -dms option works. I am on the very linux that runs SAS and it has X running. So no X forwarding.

But I guess because there is no GUI, it fails.

Is this terminal like an R terminal? But it seems very basic. Any tab-completions? Lets see.

Regular Contributor
Posts: 170

Re: Linux SAS install error

Looks like th depot directory has spaces in the name. Maybe try replacing with underscores?
Occasional Contributor
Posts: 13

Re: Linux SAS install error

Thanks that solve the problem.

Ask a Question
Discussion stats
  • 10 replies
  • 655 views
  • 1 like
  • 3 in conversation