cancel
Showing results for 
Search instead for 
Did you mean: 

N4S Tesdrive starting process how to logon

Former Member
0 Kudos

some how , I cant get logon into the sap netweaver testdrive 2004s, instaled on suse 10.3.- x86_64

I instaled from shell installsap.sh that come from the DVD.iso and there was no error messanges .

the file ifcfg-eth0 contens:

BOOTPROTO='dhcp'

BROADCAST=''

ETHTOOL_OPTIONS=''

IPADDR='172.16.1.41/16'

MTU=''

NAME='Dell Optiplex GX620'

NETMASK='255.255.0.0'

NETWORK=''

REMOTE_IPADDR=''

STARTMODE='auto'

USERCONTROL='no'

IPADDR_0='192.168.155.1/24'

NETMASK_0='255.255.255.0'

LABEL_0='0'

the file /etc/hosts contents:

127.0.0.1 localhost

  1. special IPv6 addresses

::1 localhost ipv6-localhost ipv6-loopback

fe00::0 ipv6-localnet

ff00::0 ipv6-mcastprefix

ff02::1 ipv6-allnodes

ff02::2 ipv6-allrouters

ff02::3 ipv6-allhosts

172.16.1.41 linux64.gateway.wire.net linux64

192.168.155.1 n4shost

127.0.0.2 linux64.site linux64

172.16.1.41 linux64 linux64

172.16.1.40 servidor.gateway.wire.net

the file services have this contens:

sapmsN4S 3600/tcp # SAP System Message Port

sapdp01 3201/tcp # SAP System Dispatcher Port

sapdp01s 4701/tcp # SAP System Dispatcher Security Port

sapgw01 3301/tcp # SAP System Gateway Central Ins Port

sapgw01s 4801/tcp # SAP System Gateway Security Port

sapdp00 3200/tcp # SAP System Dispatcher Port

sapdp00s 4700/tcp # SAP System Dispatcher Sec Port

sapgw00 3300/tcp # SAP System Gateway Cen Ins Port

sapgw00s 4800/tcp # SAP System Gateway Security Port

sapdp99 3299/tcp # SAP System Dispacher Port

sapdbni72 7269/tcp

sql6 7210/tcp # SAP DB

this config come from shell install in the DVD.

so I start sap whit command startsap n4shost

no errors is show

with in a internal network

reading with in this forums I start the * saprouter -r -S 3299*

and

using * ./guistart /H/linux64/S/3299/W/pasale*

show

ERROR

15.10. 12:21:57.064 ERROR: GuiNiReaderThread: read failed: Error: internal error

Location: SAProuter 38.0 on 'linux64'

Wed Oct 15 12:21:57 2008

Release 700

Component NI (network interface), version 38

rc = -93, module nirout.cpp, line 2281

Detail NiRClientHandle: route expected

ERROR

15.10. 12:21:57.216 ERROR: AgiLibAdaptor::onParsed(): connection proxy or ACL is NULL!

ERROR

15.10. 12:21:57.354 ERROR: GuiConnection: Connection Error

Error: internal error

Location: SAProuter 38.0 on 'linux64'

Wed Oct 15 12:21:57 2008

Release 700

Component NI (network interface), version 38

rc = -93, module nirout.cpp, line 2281

Detail NiRClientHandle: route expected

---

you can see that there is connection because show Saprouter version 38.0

whats is wrong all the config come from shell DVD

it is pending some starting steps ?

also netstat -t TCP show

-


Active Internet connections (w/o servers)

Proto Recv-Q Send-Q Local Address Foreign Address State

tcp 0 0 linux64.gateway:sapdp99 servidor:bytex ESTABLISHED

tcp 0 0 linux64.gateway:sapdp00 servidor:us-gv ESTABLISHED

tcp 0 0 linux64.gateway.2:58403 linux64.gateway:sapdp00 ESTABLISHED

tcp 0 0 linux64.gateway:sapdp00 linux64.gateway.2:58403 ESTABLISHED

-


you can see the service sapdp00 ESTABLISED

I need help on this , I have a leased Computer

maybe NW4S is not for SAPGUI enviroment I don't know

I have been reading a lot of documentation but I can't get the full idea.

if these error is for Saproutertab file then give me an example I can use with in my network.

Thank you and

regards

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Marco,

Your saproutta has

S linux64.gateway.2wire.net

S n4shost

S servidor.gateway.2wire.net

p linux64.gateway.2wire.net servidor.gateway.2wire.net 3200 pasale

P * * sapdp00

p * linux64.gateway.2wire.net 3200

p * 172.16.1.41 3200

P * 172.16.1.42 3200

meaning your dispatcher is running on port 3200 but why you are trying with command " ./guistart /H/linux64/S/3201"

syntax is ./guistart /H/sap router host/S/router portno/H/sap host name/S/dispatcher port number

so use ./guistart /H/ linux64/S/3299/H/172.16.1.41/S/3200

It will work.

Thanks,

Kiran.

Former Member
0 Kudos

Dear experts Kannes an Kiran

I don't know if I have to run saprouter if I'm using the same computer to acces SAP using SAPGUI

Kannes using ./guistart /H/n4shost/S/3201

[Thr 4158920912] Fri Oct 17 07:08:26 2008

[Thr 4158920912] *** ERROR => ***AgCom ConnectDirect m_bState FALSE (0xe5a27668): Error: partner 'n4shost:3201' not reached

Fri Oct 17 07:08:26 2008

Release 700

Component NI (network interface),

version 38 rc = -10, module nixxi.cpp, line 2764 Detail NiPConnect2 System Call connect Error No 111 'Connection refused' [nixxi.cpp 2764]

ERROR

17.10. 07:08:26.061 ERROR: JniAgComAdaptor.connect failed

ERROR

java.lang.Exception: Error: partner 'n4shost:3201' not reached

Fri Oct 17 07:08:26 2008

Release 700

Component NI (network interface), version 38

rc = -10, module nixxi.cpp, line 2764 Detail NiPConnect2 System Call connect Error No 111 'Connection refused' at com.sap.platin.r3.protocol.ni.GuiNiNetConnection.processOpenRequest(GuiNiNetConnection.java:329) at com.sap.platin.r3.protocol.ni.GuiNiNetConnection.handleOpenRequest(GuiNiNetConnection.java:158) at com.sap.platin.base.connection.GuiConnection.processCreateReply(GuiConnection.java:502) at com.sap.platin.base.connection.GuiConnection.handleCreateReply(GuiConnection.java:474) at com.sap.platin.r3.protocol.ni.GuiNiNetConnection.handleCreateRequest(GuiNiNetConnection.java:148) at com.sap.platin.base.connection.GuiConnection.open(GuiConnection.java:368) at com.sap.platin.base.application.GuiApplication.createConnection(GuiApplication.java:850) at com.sap.platin.base.logon.GuiImpl.evalCommandLine(GuiImpl.java:265) at com.sap.platin.base.logon.GuiImpl.<init>

(GuiImpl.java:43) at com.sap.platin.base.logon.GuiImpl.main(GuiImpl.java:380) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at com.sap.platin.micro.Microkernel.invokeMainMethod(Microkernel.java:1584) at com.sap.platin.micro.Microkernel.startApplication(Microkernel.java:1662) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at com.sap.platin.Gui.main(Gui.java:65)

ERROR

17.10. 07:08:26.064

ERROR: GuiConnection: Connect failed Error: partner 'n4shost:3201' not reached

Fri Oct 17 07:08:26 2008

Release 700

Component NI (network interface), version 38

rc = -10, module nixxi.cpp, line 2764

Detail NiPConnect2 System Call connect Error No 111 'Connection refused'

and usign the telnet I only have response to port 3200

telnet n4shost 3200

telnet n4shost 3200 Trying 192.168.155.1... Connected to n4shost. Escape character is '^]'.

Dear Kiram

the command ./guistart /H/ linux64/S/3299/H/172.16.1.41/S/3200

still in connection until I crash with Ctrl +C with out any messanges and of course the saprouter is runing

Thank in advance

hannes_kuehnemund
Active Contributor
0 Kudos

Dear Marco,

can you please post the output of


ps -auxf | grep n4sadm

Maybe the system is not up an running? Do you have any filer rules for your internal network? Please check as root


iptables -L

Additionally, you do not need to set any saprouter stuff. Start the SAP system with 'startsap n4shost' and then you should be able to logon with GUI. Please provide the output of the two commands above.

Thanks,

Hannes

Former Member
0 Kudos

the output for ps -auxf | grep n4sadm

root 4050 0.0 0.1 45184 1516 pts/1 S 07:02 0:00 | \_ su n4sadm

n4sadm 4059 0.0 0.2 13276 2392 pts/1 S 07:02 0:00 | \_ -sh

n4sadm 4774 0.0 0.0 4808 916 pts/1 R+ 07:07 0:00 | \_ ps -auxf

n4sadm 4775 0.0 0.0 5124 784 pts/1 S+ 07:07 0:00 | \_ grep n4sadm

n4sadm 4530 0.0 0.9 63364 9376 ? Ssl 07:03 0:00 /usr/sap/N4S/SCS00/exe/sapstartsrv pf=/usr/sap/N4S/SYS/profile/START_SCS00_n4shost -D

n4sadm 4537 0.0 0.1 33736 1872 ? Ss 07:03 0:00 /usr/sap/N4S/SCS00/exe/sapstart pf=/usr/sap/N4S/SYS/profile/START_SCS00_n4shost

n4sadm 4544 0.0 0.5 41728 5384 ? Ss 07:03 0:00 \_ ms.sapN4S_SCS00 pf=/usr/sap/N4S/SYS/profile/N4S_SCS00_n4shost

n4sadm 4545 0.2 1.2 198180 13052 ? Ssl 07:03 0:00 \_ en.sapN4S_SCS00 pf=/usr/sap/N4S/SYS/profile/N4S_SCS00_n4shost

n4sadm 4580 0.0 0.9 63692 9620 ? Ssl 07:03 0:00 /usr/sap/N4S/DVEBMGS01/exe/sapstartsrv pf=/usr/sap/N4S/SYS/profile/START_DVEBMGS01_n4shost -D

n4sadm 4587 0.0 0.2 34012 2072 ? Ss 07:03 0:00 /usr/sap/N4S/DVEBMGS01/exe/sapstart pf=/usr/sap/N4S/SYS/profile/START_DVEBMGS01_n4shost

n4sadm 4609 0.0 0.5 42260 5488 ? Ss 07:03 0:00 \_ ms.sapN4S_DVEBMGS01 pf=/usr/sap/N4S/SYS/profile/N4S_DVEBMGS01_n4shost

n4sadm 4611 0.0 0.3 34400 3144 ? Ss 07:03 0:00 \_ co.sapN4S_DVEBMGS01 pf=/usr/sap/N4S/SYS/profile/N4S_DVEBMGS01_n4shost -F

n4sadm 4612 0.0 0.3 34356 3116 ? Ss 07:03 0:00 \_ se.sapN4S_DVEBMGS01 pf=/usr/sap/N4S/SYS/profile/N4S_DVEBMGS01_n4shost -F

n4sadm 4613 0.0 0.2 24900 2496 ? Ss 07:03 0:00 \_ ig.sapN4S_DVEBMGS01 -mode=profile pf=/usr/sap/N4S/SYS/profile/N4S_DVEBMGS01_n4shost

n4sadm 4614 0.0 1.1 248156 11544 ? Sl 07:03 0:00 \_ /usr/sap/N4S/DVEBMGS01/exe/igsmux_mt -mode=profile -restartcount=0 pf=/usr/sap/N4S/SYS/profile/N4S_DVEBMGS01_n4shost

n4sadm 4615 0.1 1.9 194228 19428 ? Sl 07:03 0:00 \_ /usr/sap/N4S/DVEBMGS01/exe/igspw_mt -mode=profile -no=0 -restartcount=0 pf=/usr/sap/N4S/SYS/profile/N4S_DVEBMGS01_n4shost

n4sadm 4616 0.1 1.9 194228 19432 ? Sl 07:03 0:00 \_ /usr/sap/N4S/DVEBMGS01/exe/igspw_mt -mode=profile -no=1 -restartcount=0 pf=/usr/sap/N4S/SYS/profile/N4S_DVEBMGS01_n4shost

-


the output for iptables -L

Chain INPUT (policy ACCEPT)

target prot opt source destination

Chain FORWARD (policy ACCEPT)

target prot opt source destination

Chain OUTPUT (policy ACCEPT)

target prot opt source destination

-


I will do some test with platinGUI wit out router start..

Thanks

hannes_kuehnemund
Active Contributor
0 Kudos

Dear Marco,

your SAP Instance DVEBMGS01 did not start completely. All work processes are missing. Please check dev_disp and dev_w0 under /usr/sap/N4S/DVEBMGS01/work for ERRORS ...

Thanks,

Hannes

Former Member
0 Kudos

Thank Hannes problem solve

you put me into the right Direcction

the file dev_disp show dispacher shutdown imeditly

and in file stderr4

Command: ig.sapN4S_DVEBMGS01

-mode=profile

pf=/usr/sap/N4S/SYS/profile/N4S_DVEBMGS01_n4shost

Warning: tmpfs at /dev/shm is configured quite small with 496 MB! Minimum value is 8192 MB.

Recommended size is 75 % of RAM + swap.

-


so I insert more fisical memory to the computer 2G and also the system show same problem .

I insert the line into /etc/fstab

tmpfs /dev/shm tmpsf size=4G 00

and the system show the same error the I relaice that I need to change the line into

/usr/sap/N4S/SYS/profile/N4S_DVEBMGS01_n4shost

em/address_space_MB = 8192

into this line

" em/address_space_MB = 512 "

Answers (1)

Answers (1)

hannes_kuehnemund
Active Contributor
0 Kudos

Dear Marco,

the SCS runs on port 3200, the normal Dispatcher on 3201. Therefore, just use:


./guistart /H/linux64/S/3201

to connect with the JavaGUI

Thanks,

Hannes

Former Member
0 Kudos

Thank you for your prontly answer but

using ./guistart /H/linux64/S/3201 come with this errors

[Thr 4158351568] Thu Oct 16 03:37:55 2008

[Thr 4158351568] *** ERROR => ***AgCom ConnectDirect m_bState FALSE (0x8400df8): Error: partner '172.16.1.41:3201' not reached

Thu Oct 16 03:37:55 2008

Release 700

Component NI (network interface), version 38

rc = -10, module nixxi.cpp, line 2764

Detail NiPConnect2

System Call connect

Error No 111

'Connection refused'

[nixxi.cpp 2764]

ERROR

16.10. 03:37:55.436 ERROR: JniAgComAdaptor.connect failed

ERROR

java.lang.Exception: Error: partner '172.16.1.41:3201' not reached

Thu Oct 16 03:37:55 2008

Release 700

Component NI (network interface), version 38

rc = -10, module nixxi.cpp, line 2764

Detail NiPConnect2

System Call connect

Error No 111

'Connection refused'

at com.sap.platin.r3.protocol.ni.GuiNiNetConnection.processOpenRequest(GuiNiNetConnection.java:329)

at com.sap.platin.r3.protocol.ni.GuiNiNetConnection.handleOpenRequest(GuiNiNetConnection.java:158)

at com.sap.platin.base.connection.GuiConnection.processCreateReply(GuiConnection.java:502)

at com.sap.platin.base.connection.GuiConnection.handleCreateReply(GuiConnection.java:474)

at com.sap.platin.r3.protocol.ni.GuiNiNetConnection.handleCreateRequest(GuiNiNetConnection.java:148)

at com.sap.platin.base.connection.GuiConnection.open(GuiConnection.java:368)

at com.sap.platin.base.application.GuiApplication.createConnection(GuiApplication.java:850)

at com.sap.platin.base.logon.GuiImpl.evalCommandLine(GuiImpl.java:265)

at com.sap.platin.base.logon.GuiImpl.<init>(GuiImpl.java:43)

at com.sap.platin.base.logon.GuiImpl.main(GuiImpl.java:380)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

at java.lang.reflect.Method.invoke(Unknown Source)

at com.sap.platin.micro.Microkernel.invokeMainMethod(Microkernel.java:1584)

at com.sap.platin.micro.Microkernel.startApplication(Microkernel.java:1662)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

at java.lang.reflect.Method.invoke(Unknown Source)

at com.sap.platin.Gui.main(Gui.java:65)

ERROR

16.10. 03:37:55.439 ERROR: GuiConnection: Connect failed

Error: partner '172.16.1.41:3201' not reached

Thu Oct 16 03:37:55 2008

Release 700

Component NI (network interface), version 38

rc = -10, module nixxi.cpp, line 2764

Detail NiPConnect2

System Call connect

Error No 111

'Connection refused'

ERROR

-


here are the saprouttab I have filed..

S linux64.gateway.2wire.net

S n4shost

S servidor.gateway.2wire.net

p linux64.gateway.2wire.net servidor.gateway.2wire.net 3200 pasale

P * * sapdp00

p * linux64.gateway.2wire.net 3200

p * 172.16.1.41 3200

P * 172.16.1.42 3200

P * * *

and using this with diferent port

./guistart /H/linux64/S/3299/H172.16.1.41/S/3299/W/pasale errors come

-


[Thr 4158232784] Thu Oct 16 03:48:09 2008

[Thr 4158232784] *** ERROR => ***AgCom ConnectDirect m_bState FALSE (0xe5a14cd8): Error: linux64: route permission denied (linux64.gateway.2wire.net to 172.16.1.41, 3299)

Location: SAProuter 38.0 on 'linux64'

Thu Oct 16 03:48:09 2008

Release 700

Component NI (network interface), version 38

rc = -94, [ ]

ERROR

16.10. 03:48:09.190 ERROR: JniAgComAdaptor.connect failed

ERROR

java.lang.Exception: Error: linux64: route permission denied (linux64.gateway.2wire.net to 172.16.1.41, 3299)

Location: SAProuter 38.0 on 'linux64'

Thu Oct 16 03:48:09 2008

Release 700

Component NI (network interface), version 38

rc = -94,

at com.sap.platin.r3.protocol.ni.GuiNiNetConnection.processOpenRequest(GuiNiNetConnection.java:329)

at com.sap.platin.r3.protocol.ni.GuiNiNetConnection.handleOpenRequest(GuiNiNetConnection.java:158)

at com.sap.platin.base.connection.GuiConnection.processCreateReply(GuiConnection.java:502)

at com.sap.platin.base.connection.GuiConnection.handleCreateReply(GuiConnection.java:474)

at com.sap.platin.r3.protocol.ni.GuiNiNetConnection.handleCreateRequest(GuiNiNetConnection.java:148)

at com.sap.platin.base.connection.GuiConnection.open(GuiConnection.java:368)

at com.sap.platin.base.application.GuiApplication.createConnection(GuiApplication.java:850)

at com.sap.platin.base.logon.GuiImpl.evalCommandLine(GuiImpl.java:265)

at com.sap.platin.base.logon.GuiImpl.<init>(GuiImpl.java:43)

at com.sap.platin.base.logon.GuiImpl.main(GuiImpl.java:380)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

at java.lang.reflect.Method.invoke(Unknown Source)

at com.sap.platin.micro.Microkernel.invokeMainMethod(Microkernel.java:1584)

at com.sap.platin.micro.Microkernel.startApplication(Microkernel.java:1662)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

at java.lang.reflect.Method.invoke(Unknown Source)

at com.sap.platin.Gui.main(Gui.java:65)

ERROR #

16.10. 03:48:09.193 ERROR: GuiConnection: Connect failed

Error: linux64: route permission denied (linux64.gateway.2wire.net to 172.16.1.41, 3299)

Location: SAProuter 38.0 on 'linux64'

Thu Oct 16 03:48:09 2008

Release 700

Component NI (network interface), version 38

rc = -94,

-


at least I have route permision denied the system reponce to the conection.

I'm measing some think

do tou have some idea

Thank you

hannes_kuehnemund
Active Contributor
0 Kudos

Hi Marco,

I'm still very curious, why you are using the saprouter ...

Is your client machine the same as the server or do you have separate machines? If it is the same, use


./guistart /H/n4ahost/S/3201

to connect. If they are separate, can you telnet to that port by


telnet <hostname> 3201

do you get any response? If not, the system may no be started. They you have to check dev_ms, dev_disp, and dev_w*

Thanks,

Hannes