lock maintenance

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
Amos.Rosmarin
Premium Member
Premium Member
Posts: 385
Joined: Tue Oct 07, 2003 4:55 am

lock maintenance

Post by Amos.Rosmarin »

Hi,

I have a locked job (access by another user ...) but I do not have the dsadm admionistrator login (nor root)

Is there a way a simple user (like myself) can unlock the job
ds.tools gives me insufficient privilege error


Amos
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post by ArndW »

Without administrative access, the only locks you might have control over are those your userid has. So the answer to your query is most likely "no"
ml
Participant
Posts: 82
Joined: Wed Jun 09, 2004 1:03 pm
Location: Argentina

Post by ml »

If you have enabled the Job Administrator in Director you can go to "Job>Cleanup Resources", click on show all and with the Lock PID you can check which User has the job locked. If you are this user you can logout the process right there.

Good luck.

mat
Amos.Rosmarin
Premium Member
Premium Member
Posts: 385
Joined: Tue Oct 07, 2003 4:55 am

Post by Amos.Rosmarin »

Thanks,

But I am the user
Designer crushed and now the job is locked
Since I do not have the admin I can not release it

I thought dsdeadlock will take care of this but it is locked for an hour now


Thanks all
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post by ArndW »

Amos,

I have seen the deadlock daemon stop running after a whle. Are you sure that the process is still active on your box?

If the deadlock daemon is running, the what has probably happened is that your designer client crashed but the UNIX processes associated with that program are still running. If you close all of your DS process and then do a UNIX "ps -ef | grep {YourUserId}" to see if something is still active. If so, do a normal "kill" (not a kill -9) on them. If they won't go away then you could do a kill -9 but the lock won't go away until the deadlock daemon wakes up and checks your system.

There are ways to look at, cleanup and administer your own locks, but I think the method listed above is the best since the deadlock daemon will clean up after you.
roy
Participant
Posts: 2598
Joined: Wed Jul 30, 2003 2:05 am
Location: Israel

Post by roy »

Amos,
I was wondering
What were you doing that made the designer crash?
So We all might avoid such actions...

Regards,
Roy R.
Time is money but when you don't have money time is all you can afford.

Search before posting:)

Join the DataStagers team effort at:
http://www.worldcommunitygrid.org
Image
Amos.Rosmarin
Premium Member
Premium Member
Posts: 385
Joined: Tue Oct 07, 2003 4:55 am

Post by Amos.Rosmarin »

Thanks all,

I did kill -15
I did kill -9

You were right, the deadlock daemon failed and there is no one to clean after me :-)
But again, I'm not root so I can not start the service.

Why does windows crush ... thats for the rich guy from Seattle to answer


Amos
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

If you are on version 7.5.x and Designer is crashing specifically while editing a Sequence job, this is a known issue and there is a patch availalbe from Support for this. Other than that, sometimes a reinstall of the Client software helps...
-craig

"You can never have too many knives" -- Logan Nine Fingers
Post Reply