1753736 Members
4763 Online
108799 Solutions
New Discussion юеВ

Re: swinstall error

 
SOLVED
Go to solution
j773303
Super Advisor

swinstall error

Does anyone has the experience about the below swinstall error message? Please help me to fix this problem, Thanks.

root@scm-hp1:/cdrom#swinstall
ERROR: Either Graphic User Interface(GUI) or Terminal User
Interface(TUI) cannot be started. In order to execute this
command, you have to modify your DISPLAY or use English
version TUI with LANG="" or LANG=C.
Hero
6 REPLIES 6
eran maor
Honored Contributor

Re: swinstall error

Hi

it seem that the display is not set correct .

please log to this computer , do :
# echo $DISPLAY to see what is the status of your display .
if not set pleasde do this :
# export DISPLAY=16.1.1.1 ( replace it with your ip adress )

and try again .

if this will not help try to restart the swagentd with the command :
# swagentd -r

eran maor
love computers
G. Vrijhoeven
Honored Contributor

Re: swinstall error

Hi,

If you do a
# unset DISPLAY && swinstall
you should be able to start the swinstall in ascii mode. If you want to start with a gui, there might be someting wrong whit you DISPLAY/LAN settings, could you:

# env | egrep "LANG|DISPLAY"


HTH,

Gideon

j773303
Super Advisor

Re: swinstall error

I try the above methods, but the error message still occurs. Do anyone has any suggestion? Thanks.
Hero
G. Vrijhoeven
Honored Contributor
Solution

Re: swinstall error

HI,

Are you able to start an xterm?
# xterm &
# export LANG=C
# ping $(env | grep DISPLAY | awk -F= '{ print $2}' | awk -F: '{ print $1}')
# swinstall
Can you post the output of
# env | egrep "LANG|DISPLAY"



Gideon
T G Manikandan
Honored Contributor

Re: swinstall error

What shell you are running,

If it is sh/ksh

#LANG=C
#export LANG
#unset DISPLAY
#swinstall

else

#DISPLAY=:0.0
#export DISPLAY
j773303
Super Advisor

Re: swinstall error

export LC_ALL=C, then it ok.

Thank you all for the good suggestions.
Now the problem is fixed.
Hero