cancel
Showing results for 
Search instead for 
Did you mean: 

Error while starting SWPM

ashit_mehra1
Explorer
0 Kudos

Hi,

I am getting an error while starting SWPM.

The error is as follows.This is after I give the ./sapinst command:

Starting Server

Reading server configuration.

load resource pool /SWPM/resourcepool.xml

: Reading service configuration SAPinstService.

J Configuring LogManager ...

*************************************************

Starting SL Controller listening on port 21212 ...

StorageService switched off.

Initializing SecurityManager ...

Server certificate fingerprint is 94 55 B3 8A A4 FE 30 05 51 1B F4 2D 53 C1 7D 66

HTTPManager switched off.

WebstartService switched off.

RoleService switched off.

AlertService switched off.

NotesService switched off.

ProcessService switched off.

MIDService switched off.

Starting FileService ...

LogService switched off.

MailService switched off.

Starting services ...

Starting service "SAPinstService" ...

Service "SAPinstService" started

Services started.

SL Controller started.

Starting GUI ...

/tmp/sapinst_exe.9109.1403059309/jre/bin/java -XX:+HeapDumpOnOutOfMemoryError -Xmx256M -cp /tmp/sapinst_exe.9109.1403059309/JAR/instgui.jar SDTGui host=localhost port=21212 service=SAPinstService -noauth

GUI started.

>> Invocation target exception: Can't connect to X11 window server using '172.**.**.141:0.0' as the value of the DISPLAY variable.

>> Closed input stream

GUI terminated with return code 4

>> Closed input stream

guiengine: No GUI server connected; waiting for a connection on host KEPDBPPRDZONE, port 21212 to continue with the installation

The display variable is already set correctly.So that area is covered.

Please give me a solution as I am not able to take export of the system.

Accepted Solutions (0)

Answers (7)

Answers (7)

0 Kudos

Hi,

I was having the same issue, i could not able to start the SAPINST GUI and giving DISPLAY env error and GUI terminated with return code 4 even after started XMING and i enabled X11 forwarding on putty before login on to the system.

After verifying logs under /root/.sdtgui/log it was found that GUI looking for localhost IP which should be like xxx.0.0.1. Then i checked in /etc/hosts. It was found that localhost was pointing to  physical IP of the server, I just vi the /etc/hosts file and added xxx.0.0.1 to localhost entry, then i was able execute xclock and subsequently sapinst GUI.

Hope this helps to solve this issue.

Regards

Yoga

Cinu
Participant
0 Kudos

Hi,

If you are using putty, please select 'Enable X11 forwading'  & fill X display location with localhost:0.

Also your xmanager should be start in passive mode.

Please try xclock after completing above steps.


Regards

Cinu

shuai_liang
Participant
0 Kudos

Hello

How did you connect to the server? SSH, telnet or VNC?

If possible please using a VNC connection.

Normally the display issue will not occur when you using VNC connection.

Best regards,

Shuai

v_veeramalla
Active Participant
0 Kudos

Issue with Display , are you using any tools like xming/xmanager etc... ??

try to check with "xclock" command  weather display is working or not

and  also check echo$DISPLAY

//Venkat

ashish_vikas
Active Contributor
0 Kudos

Hi,

please make sure, you are not setting JAVA_HOME environmental variable for SWPM. SWPM works with SAPJVM automatically.

best regards

ashish

ashit_mehra1
Explorer
0 Kudos

Hi ashish,

How do I check that?

ashish_vikas
Active Contributor
0 Kudos

what is your OS.. on unix you can use env command.

Sriram2009
Active Contributor
0 Kudos

Hi Ashit

SWPM SP level ?

BR

SS

former_member182657
Active Contributor
0 Kudos

Hi,

Kindly follow SCN link

and try to set display variable as DISPLAY=<IP>:0.0

Regards,

Gaurav

ashit_mehra1
Explorer
0 Kudos

Display variable is already correctly set.There seems to be some other issue