Operating System - HP-UX
1834149 Members
3677 Online
110064 Solutions
New Discussion

sam session - (error = 45, Lockf deadlock detection")

 
Michelle Hutchinson
Occasional Advisor

sam session - (error = 45, Lockf deadlock detection")

I'm receiving the following message when I try to access sam:

The file "/var/sam/lock/lock_to" could not be locked (errno = 45,
"Lockf deadlock detection"). This file must be lockable so that this
SAM session can be locked. Otherwise, other SAM sessions won't be able
to detect that this SAM session is running on the system.

I've tried to remove /var/sam/lock/lock_to - but as soon as you type sam again you get the sam error.

Can you help?

Thanks
4 REPLIES 4
john korterman
Honored Contributor

Re: sam session - (error = 45, Lockf deadlock detection")

Hi Michelle,

you have something running on your system, which makes use of all your file locks.
It could be an application or a database. Ask the application/db admins if they receive any messages indicating that a certain limit has been reached; this might point at a kernel parameter that perhaps has been set too low.
If possible, stop a database instance and try SAM again.

regards,
John K.
it would be nice if you always got a second chance
rariasn
Honored Contributor

Re: sam session - (error = 45, Lockf deadlock detection")

Hi Michelle,

# ps -ef|grep -i sam|grep -v sam

# rm -i /var/sam/lock/*

rgs,


Michelle Hutchinson
Occasional Advisor

Re: sam session - (error = 45, Lockf deadlock detection")

I went back again to try sam and all was ok - something must of been released - thank for you replies - I keep them for future reference
Michelle Hutchinson
Occasional Advisor

Re: sam session - (error = 45, Lockf deadlock detection")

all ok now - thanks