Architecting, installing and maintaining your SAS environment

The authentication server is not SETUID ROOT

Accepted Solution Solved
Reply
New Contributor
Posts: 4
Accepted Solution

The authentication server is not SETUID ROOT

Hi,

validating the SAS Server from MC i received the error:

The authentication server is not SETUID ROOT.

I run the setuid.sh utility and restarted the services many times.

I just checked the elssrv sasauth sasperm setuid bit. No error in sasauth-debug.log, sasauth-access.log, sasauth-error.log.

Any suggestions?

Thaks,

Luca


Accepted Solutions
Solution
‎07-13-2017 06:53 PM
SAS Employee
Posts: 284

Re: The authentication server is not SETUID ROOT

[ Edited ]

@lanna,

 

Thanks for your response. Please do the following:

 

1) Run /<SASConfig>/Lev<X>/ObjectSpawner/ObjectSpawner.sh stop
2) Edit /<SASConfig>/Lev<X>/ObjectSpawner/ObjectSpawner.sh and add the code shown below right after SCRIPT=`basename $0`:

if [ -n "$TKPATH" ]; then
unset TKPATH
fi

if [ -n "$TK_PATHLIST" ]; then
unset TK_PATHLIST
fi


3) Run /<SASConfig>/Lev<X>/ObjectSpawner/ObjectSpawner.sh start

View solution in original post


All Replies
SAS Employee
Posts: 284

Re: The authentication server is not SETUID ROOT

@lanna,

 

This is multi-tier environment or everything has been installed on a single machine? Please start the workspace server directly from Linux console:

 

/<SASConfig>/Lev<X>/SASApp/WorkspaceServer/WorkspaceServer.sh -nodms

 

and send to me an output from the following SAS program:

 

%put %sysget(TKPATH);
%put %sysget(TK_PATHLIST);

 

New Contributor
Posts: 4

Re: The authentication server is not SETUID ROOT

Hi,

thanks for your time. Yes it is all on same machine.

The command output are:

 

%put %sysget(TKPATH);

WARNING: The argument to macro function %SYSGET is not defined as a system variable.

%put %sysget(TK_PATHLIST);

/data/software/SASFoundation/9.4/sasexe:/data/software/SASFoundation/9.4/utilities/bin

 

Thanks,

Luca

Solution
‎07-13-2017 06:53 PM
SAS Employee
Posts: 284

Re: The authentication server is not SETUID ROOT

[ Edited ]

@lanna,

 

Thanks for your response. Please do the following:

 

1) Run /<SASConfig>/Lev<X>/ObjectSpawner/ObjectSpawner.sh stop
2) Edit /<SASConfig>/Lev<X>/ObjectSpawner/ObjectSpawner.sh and add the code shown below right after SCRIPT=`basename $0`:

if [ -n "$TKPATH" ]; then
unset TKPATH
fi

if [ -n "$TK_PATHLIST" ]; then
unset TK_PATHLIST
fi


3) Run /<SASConfig>/Lev<X>/ObjectSpawner/ObjectSpawner.sh start

New Contributor
Posts: 4

Re: The authentication server is not SETUID ROOT

So, see you next problem because this is SOLVED !!

Can you explain me the solution?

Well done, thaks so mutch !

SAS Employee
Posts: 284

Re: The authentication server is not SETUID ROOT

@lanna,

 

You are welcome. When you have these variables, the validation will be performed at a wrong place. That's it.

Contributor SDV
Contributor
Posts: 23

Re: The authentication server is not SETUID ROOT

I had to put a semicolon after the ] in order for the syntax to be correct in Linux & bash.

☑ This topic is solved.

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

Discussion stats
  • 6 replies
  • 326 views
  • 4 likes
  • 3 in conversation