1845683 Members
3548 Online
110247 Solutions
New Discussion

SAM problem

 
SOLVED
Go to solution
M.sureshkumar
Regular Advisor

SAM problem

Hi,

I got the following error when i open sam in telnet.
Error:
Your search for " SAM cannot be started from a subshell started by SAM. Type "exit" to exit the shell and return to SAM.

Regards,
Suresh.
11 REPLIES 11
Paul_481
Respected Contributor

Re: SAM problem

Hi,

It seems that you run SAM from a SAM subshell, this happens when you go to the shell from SAM and not after you exit.

I suggest you exit first from SAM to return to your shell.

Or exit from your current shell to return to SAM.

Regards,
Paul
Ravi_8
Honored Contributor

Re: SAM problem

Hi

exit from current shell,
#exit
#sam
never give up
M.sureshkumar
Regular Advisor

Re: SAM problem

Hi

I tried, but i got the same error.


Regards,
Suresh
Anthony Villanueva
Frequent Advisor

Re: SAM problem

Hi Suresh,

This happens because you are already in SAM and then you are trying to run SAM again while your in a subshell run by SAM.

When you receive this error again, type exit then press return. Please make sure that your keyboard mappings are correct.

Let me know how you go.
Henk Geurts
Esteemed Contributor

Re: SAM problem

exit the shell

ps -ef|grep sam

what do you see ?

regards.
Henk
M.sureshkumar
Regular Advisor

Re: SAM problem

hi Anthony,

I am using windows telnet i.e "CMD" from windows.

Regards,
Suresh
M.sureshkumar
Regular Advisor

Re: SAM problem

hi,

after exit shell, i got the below error.

The DISPLAY environment variable is set to "192.168.4.81:0", but
the current configuration won't allow sam to run on that display.

The DISPLAY environment variable may be incorrect, or, if you are
running sam remotely, you may need to allow the remote system
to access your local X server by typing

/usr/bin/X11/xhost +lcsweb1

on your local machine.

Do you want to proceed using the terminal version of sam?
(yes or no) [yes]

Regards,
Suresh

Paul_481
Respected Contributor
Solution

Re: SAM problem

Hi,

Try

#export DISPLAY=:0

then

#xhost +

Regards,
Paul
sreejith_4
Frequent Advisor

Re: SAM problem

Hi,

Kill all the SAM processes (/usr/bin/sh /usr/sbin/sam, samx -K 15442 /usr/sam/lib/%L/fal.ui..something like this) and try to run.

Thanks
Sreejith M
M.sureshkumar
Regular Advisor

Re: SAM problem

Hi Paul,

Thank You,

I followed ur procedure,
Now it is working fine.

Thanks
Suresh.
M.sureshkumar
Regular Advisor

Re: SAM problem

#export DISPLAY=:0

then

#xhost +