Problem while restartting datastage server

Post questions here relative to DataStage Server Edition for such areas as Server job design, DS Basic, Routines, Job Sequences, etc.

Moderators: chulett, rschirm, roy

Post Reply
bhaskarjha
Participant
Posts: 67
Joined: Thu Apr 06, 2006 7:13 am

Problem while restartting datastage server

Post by bhaskarjha »

Hi,
When I stop the datastage server ($DSHOME/bin uv -admin -stop)
& again try to restart the server ($DSHOME/bin uv -admin -start). I am not able to start the server in single go. I have to stop & then start multiple times, to restart the server. Please help me in getting this problem resolved. The gap between stopping & starting the server is around a minute.
Thanks,
Bhaskar Jha
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Take more time. Check with netstat that there are no active connections.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

As noted, that's way too quick and would only work if there are zero client connections at the time you bring the server down. And we all know how often that is true.

Stop the server then start checking to see when all leftover connections release:

Code: Select all

netstat -a |grep dsrpc

-or-

netstat -a |grep dsrpc |wc -l
You need to wait for that to return zero records before you can restart the server. Sometimes that takes a minute or two, sometimes 20. Patience is the virtue here.
-craig

"You can never have too many knives" -- Logan Nine Fingers
bhaskarjha
Participant
Posts: 67
Joined: Thu Apr 06, 2006 7:13 am

Post by bhaskarjha »

Thanks, I got the concept :D
Bhaskar Jha
Post Reply