cancel
Showing results for 
Search instead for 
Did you mean: 

Patches Issue on EP 6.0

Former Member
0 Kudos

Dears,

I need to apply Java patch on EP 6.0 which is on Oracle with HP-UNIX.

I have set DISPLAY variable by:

setenv DISPLAY 192.163.193.155:0.0

My environmental variables:

HOME=/home/epdadm

PATH=/oracle/EPD/920_64/bin:.:/home/epdadm:/usr/sap/EPD/SYS/exe/run:/usr/bin:/us

r/ccs/bin:/usr/contrib/bin:/usr/contrib/Q4/bin:/opt/perl/bin:/opt/ipf/bin:/opt/h

parray/bin:/opt/nettladm/bin:/opt/fcms/bin:/opt/sec_mgmt/bastille/bin:/opt/resmo

n/bin:/opt/gnome/bin:/opt/ignite/bin:/usr/contrib/kwdb/bin:/opt/mozilla:/opt/wbe

m/bin:/opt/wbem/sbin:/opt/graphics/common/bin:/usr/bin/X11:/opt/mx/bin:/opt/sec_

mgmt/spc/bin:/opt/upgrade/bin:/opt/java1.4/bin:/usr/contrib/bin/X11

LOGNAME=epdadm

TERM=vt100

SHELL=/bin/csh

MAIL=/var/mail/epdadm

COLUMNS=80

LINES=25

MANPATH=/opt/ipf/man:/usr/share/man/%L:/usr/share/man:/usr/contrib/man/%L:/usr/c

ontrib/man:/usr/local/man/%L:/usr/local/man:/opt/mx/share/man:/opt/sec_mgmt/shar

e/man:/usr/dt/share/man:/opt/samba/man:/opt/resmon/share/man:/opt/gnome/man:/opt

/ignite/share/man/%L:/opt/ignite/share/man:/opt/wbem/share/man:/opt/graphics/com

mon/man:/opt/sec_mgmt/share/man/%L:/opt/ssh/share/man:/opt/java1.4/bin

TZ=IST-5:30

SAPSYSTEMNAME=EPD

DIR_LIBRARY=/usr/sap/EPD/SYS/exe/run

SHLIB_PATH=/usr/sap/EPD/SYS/exe/run

JAVA_HOME=/opt/java1.4

THREAD=NOPS

dbms_type=ORA

dbs_ora_tnsname=EPD

ORACLE_PSRV=EPD

ORACLE_SID=EPD

DB_SID=EPD

ORACLE_HOME=/oracle/EPD/920_64

ORACLE_BASE=/oracle

ORA_NLS33=/oracle/EPD/920_64/ocommon/nls/admin/data

NLS_LANG=AMERICAN_AMERICA.UTF8

dbs_ora_schema=SAPEPDDB

SAPDATA_HOME=/oracle/EPD

DISPLAY=192.163.193.155:0.0

but when i execute ./sapinst it shows error:

guiengine: no GUI connected; waiting for a connection on host MSLPBD, port 21212

to continue with the installation

Output of xclock is :

Error: Can't open display: 192.163.193.155:0.0

192.163.193.155-is my desktop IP

192.163.193.155 is also pingable from server.

Please what could be the possible solution of this issue.

Shivam

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hello,

Plz check file /etc/nsswitch.conf .If this is not exist plz create one by copying only nsswitch.files. After that plz restrt dtlogin service by

  1. /sbin/init.d/dtlogin.rc stop

  2. /sbin/init.d/dtlogin.rc start

ater that check from Xhost to connect. than start your next process.

i think, problem will be resolve after that.

Ankit

Answers (2)

Answers (2)

Former Member
0 Kudos

Dear Shivam,

If it is xclock problem please follow the below resolution:

1. Give the DISPLAY variable as <IP address>:1.0 or 0.1 or 2.0 or 0.2, if still its not working put <IP address>:0.0 and use the 2nd solution

2. Be in root, means : root> cd

afterwards, root> ls -lart

then you can find .Xauthority file, please copy that to your home directory of <sid>adm.

means logon with sidadm and do pwd, you can get the home directory of sidadm, like /home/<sid>adm

copy means : from root > cp .Xauthority /home/sidadm/ ( check home directory)

Then set the DISPLAY variable and then check whether it is working or not using /usr/openwin/bin/xclock

Please let me know if still issue persists.

Thanks

Kishore

Former Member
0 Kudos

Hi Kishor,

When I execute Xclock with Xmanager open in background then it shows the clock but on Unix screen shows:

Error: Can't open display: 192.168.193.155:0.0

Beside it when i execute ./sapinst it opens just a white screen that does not contain option or anything.

Please suggest.

Shivam

nelis
Active Contributor
0 Kudos

Try the following 5 easy steps

1) When you first login before changing to root user type

 echo $DISPLAY 

and note the output.

2) Now type

 chmod 644 ~/.Xauthority 

3) Next, login as root.

4) Now type

 xauth merge ~shivam/.Xauthority 

- replace shivam with your login account if incorrect.

5) Next, re-export the DISPLAY variable as noted in step 1.

 setenv DISPLAY <output in step 1> 

You should now be able to display xclock and run sapinst correctly. Steps 4 and 5 should be done the same if you login with <sid>adm.

Regards,

Nelis

Former Member
0 Kudos

Hi,

I am able to see the clock now but when i am executing ./sapinst still showing the same error.

Once it also showed me one error msg:

MSLPBD:epdadm 38> ./sapinst

[==============================] \ extracting... done!

guiengine: no GUI connected; waiting for a connection on host MSLPBD, port 21212

to continue with the installation

guiengine: login in process.

ERROR 2008-07-24 21:45:28

FCO-00058 DIAGNOSIS: SAPinst could not calculate the installation directory. SO

LUTION: Define one of the environment variables TEMP or TMP or create the direct

ory /tmp and restart again.

So i define env variable and set path of mu temp directory but no improvement.

Also in command xauth merge ~shivam/.Xauthority

you are suggesting to replace shivam with login account.Here i used my SIDADM user as when i tried with SAP user it shows:User known.

Please suggest.

Shivam

Former Member
0 Kudos

Hi,

Now after setting temp directory when i execute sapinst by root user it showed:

MSLPBD:/usr/Javapatch/SAPINST-CD/SAPINST/UNIX/HPIA64>./sapinst

[==============================] \ extracting... done!

guiengine: no GUI connected; waiting for a connection on host MSLPBD, port 21212

to continue with the installation

guiengine: login in process.

ERROR The control file name is empty.

Shivam

markus_doehr2
Active Contributor
0 Kudos

sapinst should be executed as root not as <sid>adm.

I would also recommend not calling sapinst from the directory it resides but from a different directory:

mkdir /install
cd /install
DISPLAY=<your-ip>:<display-number>
export DISPLAY
<path-to-sapinst>/sapinst

the default Bourne shell of root does not understand "export" directly.

Markus

nelis
Active Contributor
0 Kudos

Ah yes, my apologies I should have used "export" not "setenv" for default Bourne Shell.

Here is a working example which I tested:


$ whoami                                                                                
nelis
$ echo $DISPLAY                                                                                
localhost:10.0
$ chmod 644 ~/.Xauthority
$ su -
# echo $SHELL
/sbin/sh
# xauth merge ~nelis/.Xauthority
# export DISPLAY=localhost:10.0
# echo $DISPLAY
localhost:10.0
# uname -a
HP-UX heritage B.11.00 U 9000/800 184490542 unlimited-user license

Very old HP system

Regards,

Nelis

markus_doehr2
Active Contributor
0 Kudos
  1. echo $SHELL

/sbin/sh

Oh - interesting I wasn´t aware this was really working - I always used the "two step" approach

Markus

markus_doehr2
Active Contributor
0 Kudos

Do you have an X-Server Software (Exceed, Reflection etc.) installed on your local PC? Normal Windows PCs without additonal software can't display redirected X programs...

Markus

Former Member
0 Kudos

Hi,

I Have Xmanager on my system but issue is that i am not able to connect the servers by Xmanager as its showing error:

"XDCMP connection failed there".

So I am trying without Xmanager.

Shivam