Phantom error in Datastage jobs
Resolution – Datastage Services have to be started
So follow the following steps.
- Login to server through putty using dsadm user.
- Check whether active or stale sessions are there.
ps –ef|grep slave
- Ask the application team to close the active or stale sessions running from application's user.
If they have closed the sessions, but sessions are still there, then kill those sessions.
- Make sure no jobs are running
If any, ask the application team to stop the job
ps –ef|grep dsd.run
Check for output for below command before stopping Datastage services.
netstat –a|grep dsrpc
If any processes are in established, check any job or stale or active or osh sessions are not running.
If any processes are in close_wait, then wait for some time, those processes
will not be visible.
- Stop the Datastage services.
cd $DSHOME
./dsenv
cd $DSHOME/bin
./uv –admin –stop
- Check whether Datastage services are stopped.
netstat –a|grep dsrpc
No output should come for above command.
- Wait for 10 to 15 min for shared memory to be released by process holding them.
Start the Datastage services.
./uv –admin –start
If asking for dsadm password while firing the command , then enable impersonation.through root user
${DSHOME}/scripts/DSEnable_impersonation.sh