cancel
Showing results for 
Search instead for 
Did you mean: 

sap router stratup error in linux

Former Member
0 Kudos

Hi,

When i started the sap router with below command

saprouter -r -S 3299 -V 3 -K "p:CN=<saprouter hostname>, OU=< Customer number >,

OU=SAProuter,O=SAP, C=DE" &

I am getting following error . What is the mean of this error?

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

*

  • LOCATION SAProuter 38.10 on 'sgtr-s-devs1d'

  • ERROR service '0.0.0.0:3299' in use

*

  • TIME Mon Sep 26 07:12:41 2011

  • RELEASE 700

  • COMPONENT NI (network interface)

  • VERSION 38

  • RC -4

  • MODULE nixxi.cpp

  • LINE 3227

  • DETAIL NiIBindSocket

  • SYSTEM CALL bind

  • ERRNO 98

  • ERRNO TEXT Address already in use

  • COUNTER 2

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

It seems your SAPROUTER is running already. Try ps -ef | grep saprouter. There should be a saprouter process. You can not run saprouter, if saprouter is running already. You should stop the saprouter at fist and than start your saprouter again.

former_member182307
Contributor
0 Kudos

The IP adress 0.0.0.0 : this is kind of strange. You should have a look at your /etc/hosts file.

Also verify the use of port 3299 ( netstat -an | grep 3299 ).

HTH

Steve.

Edited by: steve_78 on Sep 26, 2011 3:35 PM

Former Member
0 Kudos

I have checked the etc/hosts file :

What i observed is that , there is internal ip address is maintained in that.

In order to connect sap router , we have to maintain the public ip address of sap router in the etc/hosts also?

or

we should entry the ip address of sapserv2 i.e 194.39.131.34 in the etc/hosts?

Thanks

Srikanth

former_member182307
Contributor
0 Kudos

It would be better, but it's not the source of your pblm.

What I don't get is where this 0.0.0.0 IP address comes from.

Is it in you /etc/hosts ?

BR,

Steve.

Former Member
0 Kudos

No, its not in the etc/hosts. May be due to the port 3299 is not opened, so that the error is coming?

I am not sure the port 3299 opened?

Thanks

Srikanth

former_member182307
Contributor
0 Kudos

You can check with :

netstat -an | grep 3299

Nothing should be listening on the port if your saprouter is not running.

BR,

Steve.

Former Member
0 Kudos

Hi steve,

This is the output when i check with the net stat .

tcp 0 0 0.0.0.0:3299 0.0.0.0:* LISTEN

is this mean sap router running?

Thanks

Srikanth

former_member182307
Contributor
0 Kudos

This means there is something listening on port 3299.

Can you start the following command :

grep 3299 /etc/services

Former Member
0 Kudos

pdrncs 3299/tcp # pdrncs

pdrncs 3299/udp # pdrncs

sapdp99 3299/tcp # SAP System Dispatcher Port

This is the result ? it means 3299 port used by other services?

former_member182307
Contributor
0 Kudos

It works just like /etc/hosts but for the ports. So this gives an indication wether the port is probably used or not.

To really find out if this port is used and by which process, you can use one of these commands :

lsof -w -n -i tcp:3299

fuser -n tcp 3299

netstat -anp|grep :3299

If something other than saprouter is shown, this means the port 3299 is already used.

You should then determine wether this other process is useful or not and then decide to change the listening port of your saprouter.

BR,

Steve.

Edited by: steve_78 on Sep 27, 2011 1:31 PM

Former Member
0 Kudos

Steve,

This was the result, when lsof -w -n -i tcp:3299

COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME

saprouter 19554 s1dadm 4u IPv4 288162 0t0 TCP *:pdrncs (LISTEN)

Is this means only sap router service is running?

Then why i am getting address is already used?

Thanks

Srikanth

former_member182307
Contributor
0 Kudos

This means the port 3299 is already used by a saprouter process.

Is there a saprouter process really running ?

You can check through

ps -ef | grep saprouter

Former Member
0 Kudos

This was the result:

ps -ef|grep saprouter

s1dadm 19554 18805 0 05:05 pts/0 00:00:00 saprouter -r -S 3299 -V 3 -K p:CN=sgtr-s-devs1d, OU=0000858034, OU=SAProuter, O=SAP, C=DE

s1dadm 20260 19993 0 07:17 pts/1 00:00:00 grep saprouter

The above one is we requested from sap.

is my saprouter working fine ?

former_member182307
Contributor
0 Kudos

Yes, this seems to be fine now. You have a saprouter process running and listening on port 3299.

BR.

Steve.

Former Member
0 Kudos

If sap router is fine, when i checked with sap oss connection in RFC i am getting connection failed?

Why was like that?

Any configuration is needed anywhere?

Thanks

Srikanth

Former Member
0 Kudos

Hi,

Have you done technical configuration in t-code OSS1 ?

You need to mention your SAP router and SAP OSS router details there.

Regards.

Rajesh Narkhede

Former Member
0 Kudos
  • ERRNO TEXT Address already in use

Seems the port 3299 is already in use for some other service/process. You try to verify it please.

Thanks