cancel
Showing results for 
Search instead for 
Did you mean: 

saprouter stops when my putty session getting dsiabled.

Former Member
0 Kudos

hi all,

Im startiting my Saprouter using putty on HP-UX machine, once my HP-UX session is getting disabled my Saprouter stops.

Is there anyway to trigger my saprouter & close my putty session which will not stop my sap router.

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

thank you Markus i have asked data center guy to login & execute my Saprouter file in foreground & close the session . it worked . I have done this due to time factor.

Former Member
0 Kudos

Hi Rahul

You can start the SAP router in the background

use & at the end of the saprouter start command

Hope this will help you

BR

dEE

markus_doehr2
Active Contributor
0 Kudos

> Im startiting my Saprouter using putty on HP-UX machine, once my HP-UX session is getting disabled my Saprouter stops.

>

> Is there anyway to trigger my saprouter & close my putty session which will not stop my sap router.

Yes - write a script and put it in the startup of the operating system.

Or just start the saprouter with a "&" and the end, this will "deamonize" the program.

Markus

Former Member
0 Kudos

hi Markus Good to hear from you,

i have started in the following way

  1. ./startroute & (after the folowing execution it is not returing the # )

since this is not going in the background, section is getting terminated after some time and the scripts is also terminating at the same time.

Thanks

Rahul.

markus_doehr2
Active Contributor
0 Kudos

> # ./startroute & (after the folowing execution it is not returing the # )

press one time enter...

is the script (startroute) executable?

> since this is not going in the background, section is getting terminated after some time and the scripts is also terminating at the same time.

You have to give the full path to the saprouter executable in your script together with the options.

Markus

Former Member
0 Kudos

hi , the following is the status , request to pls check

1 > script permissions

-rwxrwxrwx 1 root sys 170 Mar 18 16:54 startroute

2 >content of script

  1. more startroute

export SECUDIR=/saprouter

export SNC_LIB=/saprouter/hpia64-11.23-64/libsapcrypto.so

./saprouter -r -S 3299 -K "p:CN=devsetco, OU=0000759157, OU=SAProuter, O=SAP, C=

DE"

3>output while trying to run the script in background.

  1. ./startroute &

[1] 9915

#

trcfile dev_rout

no logging active

WARNING: wildcard character used in route target

even in press enter it is not returing #

markus_doehr2
Active Contributor
0 Kudos

> 2 >content of script

> # more startroute

> export SECUDIR=/saprouter

> export SNC_LIB=/saprouter/hpia64-11.23-64/libsapcrypto.so

> ./saprouter -r -S 3299 -K "p:CN=devsetco, OU=0000759157, OU=SAProuter, O=SAP, C=

don't use ./saprouter but the full path (/saprouter/saprouter)

> # ./startroute &

> [1] 9915

> #

> trcfile dev_rout

> no logging active

>

> WARNING: wildcard character used in route target

>

> even in press enter it is not returing #{

- What do you get in dev_rout?

- what's the output of "ps -ef | grep saprouter"

Markus

Former Member
0 Kudos

Hi,

Follow below steps

1) At UNIX level create one file

vi routerstart.sh

2) Copy router startup command in routerstart.sh file and save it.

3) start the router in background by

at -f routerstart.sh now

This will trigger the job in background. You can close your putty session.

Regards,

Sachin Rane.

Former Member
0 Kudos

Hi Sachin,

i manged to do upto second step , but cant manage to understand 3rd step

pls give the command line how u start saprouter from # if u are having a routerstart.sh file.

ur help will be highly appreciated.

regards,

rahul

Former Member
0 Kudos

Hi Rahul,

Command is

at -f routerstart.sh now

Regards,

Sachin Rane.