?
Solved

"User Lock File Busy" message on Solaris Server

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

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

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

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…
Every server (virtual or physical) needs a console: and the console can be provided through hardware directly connected, software for remote connections, local connections, through a KVM, etc. This document explains the different types of consol…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
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

801 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