Page 1 of 1

Unable to unlock a job in DS

Posted: Mon May 23, 2011 1:46 pm
by creatingfusion
There is a DataStage job which got locked.

While trying to compile the job I am getting the error as " Cannot get access to the jobs "
We are unable to either compile or delete the jobs.
Also there being no locks in the job and DS Admin being trying to get that unlocked and still not able to do that. There being some response of getting the jobs reindexed from the DS Admin something related to INODE.

Can some one please suggest the issue what might had got messed up here and propose some solution on this.

Regards
Abhijit

Posted: Mon May 23, 2011 2:31 pm
by lstsaur
Just delete all the rows in the XMETALOCKINFO table.

Posted: Mon May 23, 2011 7:28 pm
by PaulVL
Has your project folks been requesting that the admin team keep killing jobs that are hung?

Posted: Mon May 23, 2011 9:12 pm
by pandeesh
lstsaur wrote:Just delete all the rows in the XMETALOCKINFO table.
I am not working in DS 8.

May i know what XMETALOCKINFO table contains?

Thanks

Re: Unable to unlock a job in DS

Posted: Mon May 23, 2011 10:40 pm
by SURA
Go to Director > Job > Cleanup Resources.

Now the new window will be ready for you.

Look into the bottom Locks and choose show all. Find your job will be waiting for you. Notedown the PID.

Then choose show all radio button in Process. There you can find the same PID.

Select it and Logout.

OR

ps -ef | grep "job name" in the unix level and kill the PID
DS User

Re: Unable to unlock a job in DS

Posted: Thu Jun 09, 2011 2:33 pm
by kmsekhar
SURA wrote:Go to Director > Job > Cleanup Resources.

Now the new window will be ready for you.

Look into the bottom Locks and choose show all. Find your job will be waiting for you. Notedown the PID.

Then choose show all radio button in Process. There you can find the same PID.

Select it and Logout.

OR

ps -ef | grep "job name" in the unix level and kill the PID
DS User
Sorry for replying late:
if you know the job yname ou can goahead with the above solution. If you are not aware of job name then grep phantom

$ ps -ef | grep phantom

it will lists processes, under that just check the pid for DSD.StageRun and kill the appropriate pid...

if you have admin rights-> you can unlock using UV Command...

Regards,
Sekhar