on 07-23-2008 2:08 PM
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
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
/sbin/init.d/dtlogin.rc stop
/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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
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
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
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
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
15 | |
4 | |
3 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.