ERROR: "error: unable to convert errno to isc_result: 22: Bad or invalid handle"

  • 3280030
  • 03-Jul-2006
  • 26-Apr-2012

Environment

Novell NetWare 6.5
Novell DNS/DHCP Services 3.1
Sophos Anti-Virus User Interface SWEEP.NLM

Situation

LOAD NAMED.NLM displays the following error messages to the System Console screen:
ERROR: "error: errno2result.c:121: unexpected error:"
ERROR: "error: unable to convert errno to isc_result: 22: Bad or invalid handle"
ERROR: "error: .db.jnl: open: unexpected error"
ERROR: "error: zone /IN: journal rollforward failed: unexpected error"
ERROR: "error: zone /IN: zone is not loaded unexpected error"
NAMED.NLM completes loading nevertheless, but returns response code 0x03 (Name Error/NXDOMAIN) to queries for authoritative Resource Records afterwards.

Resolution

The Sophos Anti-Virus User Interface SWEEP.NLM was loaded before NAMED.NLM. NAMED.NLM loads successfully when it is loaded before SWEEP.NLM.
To resolve the problem, you can UNLOAD SWEEP.NLM, LOAD NAMED.NLM and LOAD SWEEP.NLM again on a running server.
To avoid the problem to happen upon next server reboots, please make sure you change SYS:\SYSTEM\AUTOEXEC.NCF so that it loads NAMED.NLM before it calls STARTSW.NCF.