General
cancel
Showing results for 
Search instead for 
Did you mean: 

SAP Gui unable to connect on SAP server on hp ux - inetd.conf file reference

Himanshu_Sourav
Occasional Advisor

SAP Gui unable to connect on SAP server on hp ux - inetd.conf file reference

I have a sap server installed on  HP-UX vm, up and running.
when I try to connect to the server from SAP client GUI installed on windows machine I get the following error

---------------------------
SAP GUI for Windows 730
---------------------------
partner '15.213.245.61:sapdp00' not reached

Time		Thu Dec 11 02:59:48 2014
Component	NI (network interface)
Release		730
Version		40
Module		nixxi.cpp
Line		3286
Method		NiPConnect2: 15.213.245.61:3200
Return Code	-10
System Call	connect
Error	No	10061
Error	Text	WSAECONNREFUSED: Connection refused
Counter		1

---------------------------
OK   
---------------------------

 I looked through and found out that the hp-ux server port 3200 was inaccessible.

 

the /etc/services file contains an entry 

sapdp00   3200/tcp

 but in /etc/inetd.config file no corresponding entry is present. (file attached)

 

so to test whether this is the root cause, I edited the /etc/inetd.conf file, added following entry

 

sapdp00  stream tcp nowait root testservice.sh TEST

 and did a inetd -c

 

this time when I tried to connect from the sap gui client on windows I got a different error,

---------------------------
SAP GUI for Windows 730
---------------------------
connection to partner '15.213.245.61:sapdp00' broken

Time		Thu Dec 11 03:08:52 2014
Component	NI (network interface)
Release		730
Version		40
Module		nixxi.cpp
Line		5087
Method		NiIRead: P=15.213.245.61:3200; L=0.0.0.0:50410
Return Code	-6
System Call	recv
Error	No	10053
Error	Text	WSAECONNABORTED: Software caused connection abort
Counter		1

---------------------------
OK   
---------------------------

 

while the earlier error indicated connection refused, this one indicated that a connection was established and then aborted.( maybe due to improper entry against services path in inetd.conf file)

 

I think that if I can provide a proper path for sapdp00 service in the entry to the location where the actual service exists then maybe this error would be eliminated.

my questions..

is this diagnosis correct?

if yes,  shouldn't the entry in inetd.conf file should have been made automatically during sap installation process?  why not..?

how to find the correct path for sapdp00 service?

 

 

kindly advise, 

 

EDIT- not sure about this but found three processes running 

# ps -ex | grep sap
 18132 pts/0     0:00 grep sap
 10885 ?         0:00 /usr/sap/E64/DVEBMGS00/exe/sapstartsrv pf=/usr/sap/E64/SYS/profile/START_DVEBMGS00_hpvm-202 -D -u e64adm
 13214 ?         0:10 /usr/sap/E64/SYS/exe/run/saposcol
 11059 ?         0:00 /usr/sap/E64/D01/exe/sapstartsrv pf=/usr/sap/E64/SYS/profile/START_D01_hpvm-202 -D -u e64adm

 can any one of the paths be used..I am not sure which service is mapped with sapdp00...

 

 

P.S. This thread has been moved from general to HP-UX > databases. - Hp Forum Moderator

1 REPLY
Himanshu_Sourav
Occasional Advisor

Re: SAP Gui unable to connect on SAP server on hp ux - inetd.conf file reference

it appears that the date mismatch issue was there between different servers that caused this.

(dates modification with restart made this error disappear)