Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

"User Lock File Busy" message on Solaris Server

Posted on 2009-05-18
3
Medium Priority
?
394 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 2000 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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

Introduction Regular patching is part of a system administrator's tasks. However, many patches require that the system be in single-user mode before they can be installed. A cluster patch in particular can take quite a while to apply if the machine…
Why Shell Scripting? Shell scripting is a powerful method of accessing UNIX systems and it is very flexible. Shell scripts are required when we want to execute a sequence of commands in Unix flavored operating systems. “Shell” is the command line i…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Suggested Courses

610 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