Solved

"User Lock File Busy" message on Solaris Server

Posted on 2009-05-18
3
388 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In tuning file systems on the Solaris Operating System, changing some parameters of a file system usually destroys the data on it. For instance, changing the cache segment block size in the volume of a T3 requires that you delete the existing volu…
Java performance on Solaris - Managing CPUs There are various resource controls in operating system which directly/indirectly influence the performance of application. one of the most important resource controls is "CPU".   In a multithreaded…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
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.
Suggested Courses

737 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