Solved

"User Lock File Busy" message on Solaris Server

Posted on 2009-05-18
3
387 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

Attention: This article will no longer be maintained. If you have any questions, please feel free to mail me. jgh@FreeBSD.org Please see http://www.freebsd.org/doc/en_US.ISO8859-1/articles/freebsd-update-server/ for the updated article. It is avail…
Installing FreeBSD… FreeBSD is a darling of an operating system. The stability and usability make it a clear choice for servers and desktops (for the cunning). Savvy?  The Ports collection makes available every popular FOSS application and packag…
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…
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.

740 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