Solved

"User Lock File Busy" message on Solaris Server

Posted on 2009-05-18
3
382 Views
Last Modified: 2013-12-27
I am getting a strange message on a Solaris Server.

It says "User Lock File Busy"

Does any body to what this is referring . How do I end the "busy"? How do I find the the User Lock?  
0
Comment
Question by:notcjw
  • 2
3 Comments
 
LVL 22

Expert Comment

by:blu
ID: 24414755
What is printing that message? Is it coming from the kernel, a user program or what?
0
 

Author Comment

by:notcjw
ID: 24414874
It is coming from a script. It is the Sirsi Unicorn Library system. The script sets the terminal environment and then runs an executable:

This is the script in the file, where sirsi is the user:

sirsi `gpn config`/environ vt100
0
 
LVL 22

Accepted Solution

by:
blu earned 500 total points
ID: 24415232
Okay, I suggest you run the command that prints the error using truss. Like this:

truss -o /tmp/truss.out -faled the_command_to_run

Let that run until you get the error and then ctrl-c out. Then once you do that, look for the string:
"U s e r" (that is the beginning of User lock file busy, with each letter preceded with a space). When
you find the place where that message is printed, then look for the few lines preceding it, you should
find one that has some kind of file access with an error. That should tell you what file is locked. After that
it depends on what you find.
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Suggested Solutions

Let's say you need to move the data of a file system from one partition to another. This generally involves dismounting the file system, backing it up to tapes, and restoring it to a new partition. You may also copy the file system from one place to…
FreeBSD on EC2 FreeBSD (https://www.freebsd.org) is a robust Unix-like operating system that has been around for many years. FreeBSD is available on Amazon EC2 through Amazon Machine Images (AMIs) provided by FreeBSD developer and security office…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

24 Experts available now in Live!

Get 1:1 Help Now