BookmarkSubscribeRSS Feed
☑ This topic is solved. Need further help from the community? Please sign in and ask a new question.
Amitkum2
Obsidian | Level 7

Hi,

 

I am deploying SAS9.4M8 on RHEL8.5 servers. While deploying application server, i was getting SAS configuration of python prompt. When i proceed further it gives "The directory does not contain the requested components"

 

Amitkum2_0-1725530861399.png

 

Amitkum2_1-1725530873151.png

 

I have python 2.7 as well as 3.6 installed. I tried giving different paths but everytime i am getting the same msg.

 

1 ACCEPTED SOLUTION

Accepted Solutions
Amitkum2
Obsidian | Level 7

Hello @sys-halt ,

 

Thanks for providing your input on the issue !!

 

After making the selinux permissive, i am able to cross the step.

 

Thanks for quick help !

View solution in original post

8 REPLIES 8
sys-halt
SAS Employee

I could see that your python symbolic link is pointing to /etc/alternatives/unversiond-python, I am not sure what this mean and its effect but have you tried to remove this symlink, create one for the python3.6 and then use the full path in SAS Wizard ex: /usr/bin/python ?

 

try below commands as root user:

cd /usr/bin/

unlink python
ln -s /usr/libexec/platform-python3.6 /usr/bin/python

 

then in SAS Wizard give it full path: /usr/bin/python and press Next.

 

hope that will help.

Amitkum2
Obsidian | Level 7

Hi @sys-halt 

 

Thanks for your response !!

 

I tried creating new symlink for python but still getting the same error.

 

Amitkum2_0-1725548161201.png

 

 

 

sys-halt
SAS Employee

Have you tried also to use full python path in SAS wizard dialog box: /usr/bin/python?

sys-halt
SAS Employee

thank you for the screenshot.

 

using sas installer account, open SSH session to the machine and type:

 

which python

python --version

python -V

 

do you get any output?

sys-halt
SAS Employee

Thanks for the output, strange issue.

 

Have you checked if SELinux is enabled and in enforcing mode?

Have you completed all SAS prerequisites for your SAS products and validate them?

 

To check if SELinux is enabled i.e enforcing, type sestatus, the output should not contain the keyword enforcing.

SELinux should be in disabled or permissive mode only.

IF you found SELinux is enabled and in enforcing mode,  then disable it first, after ttat stop SAS Wizard and run it back again. 

 

Also do type "df -h" and see if /tmp has enough free space and no partition is full/almost full.

Amitkum2
Obsidian | Level 7

Hello @sys-halt ,

 

Thanks for providing your input on the issue !!

 

After making the selinux permissive, i am able to cross the step.

 

Thanks for quick help !

suga badge.PNGThe SAS Users Group for Administrators (SUGA) is open to all SAS administrators and architects who install, update, manage or maintain a SAS deployment. 

Join SUGA 

Get Started with SAS Information Catalog in SAS Viya

SAS technical trainer Erin Winters shows you how to explore assets, create new data discovery agents, schedule data discovery agents, and much more.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 8 replies
  • 898 views
  • 0 likes
  • 2 in conversation