Views

Hostname:/directory unexpected lockf problem: Bad file number

This Wiki is brought to you by Backup Central, where you can find the Mr. Backup Blog, Forums, and a mailing list for each forum!

Backup FAQs Service Providers Backup Software Backup Hardware Backup Book Wiki Free Stuff Miscellaneous


Question: A backup of one of my filesystems errored out with the following message: mhost:/archivelogs unexpected lockf problem: Bad file number

Answer: Both the original poster and several people identified that this was caused by a stale lock file (.lck). The original poster added Another symptom is that savepnpc seems to be ignoring the precmd and pstcmd. Rodney Wines posted (2 May 2000): Yep. It's a common problem, and it's a lock file problem. However, the file ain't named ".lck", it's named "<GROUPNAME>.tmp", and is in ".../nsr/tmp". And "<GROUPNAME>" is the name of the group that your client is a part of. > This all started after we used the GUI to stop a running backup. Yes indeed. The problem can occur if the backup stops prematurely for any reason. There is also a known bug that causes this error message, according to Bill Benford (10 May 2000): Hi Rick. Here is the explanation from the Legato TechDialog site specific for your error message.

Title: Unexpected lockf or unexpected LockFileEx; Apply fix from

FTP site Description:

<Savepnpc fails with:
unexpected lockf, bad file descriptor - (UNIX)
 unexpected LockFileEx, bad file handle - (NT)
ANALYSIS:
NetWorker for UNIX 5.5.1
 NetWorker for Windows NT 5.5.1
This issue has been reported to Legato engineering under LGTpa18060

and LGTpa20931.

SOLUTION:
Apply fix from Legato's FTP site.
Please read README file for complete details on installing this

fix: Note from FAQ MAINTAINER: These URLS don't appear to be any good anymore.

ftp://ftp.legato.com:/outgoing/savepnpc/README
For Networker for UNIX 5.5.1, 5.5.1-001, or 5.5.2 download one of
 the following files, depending upon you system type:
ftp.legato.com:/outgoing/savepnpc/unix/preclntsave.aix41
 ftp.legato.com:/outgoing/savepnpc/unix/preclntsave.decaxp
 ftp.legato.com:/outgoing/savepnpc/unix/preclntsave.hp10
 ftp.legato.com:/outgoing/savepnpc/unix/preclntsave.solaris
For NetWorker for NT 5.5.x download:

Note from FAQ MAINTAINER: These urls don't appear to be any good anymore.

ftp.legato.com:/outgoing/savepnpc/nt/install_me_nt86.zip

-OR- ftp.legato.com:/outgoing/savepnpc/nt/install_me_ntaxp.zip


Created: 4/28/2000
 BE/nka
 Last Update:
TechDialog Legato Technical Support Information Server
 Copyright(c) 1996 Legato Systems, Inc.
 CasePoint(r) WebServer Copyright 1995-97 Inference Corporation,
 Novato, CA

Hope this helps you out.