Unable to store str files in scandir

  • 3617517
  • 06-Feb-2008
  • 30-Apr-2012

Environment

Novell ZENworks for Desktops 4.0.1 - ZfD4.0.1
Novell ZENworks 6.5 Desktop Management Support Pack 2 - ZDM6.5 SP2
Novell ZENworks 7 Desktop Management Support Pack 1 - ZDM7 SP1

Situation

STR file is not being stored in the STR directory
Error : STRFile Couldn't transfer properly. ( ZENWriteFile() error code : 0x1F)
ZenLite : Info : Trying to copyFile using ZenLiteInv.dll
ZENWriteInvFile : Info : Trying to copying file in Client32 mode using Win32 API CopyFile()
ZENWriteInvFile : Error : Unable to copy file. (WinErrorCode : 31)
Error : STRFile Couldn't transfer properly. ( ZENWriteInvFile() error code : 0x1F )

Resolution

Troubleshooting:

On the console MODULES CIFS. This case customer did not have CIFS loaded. If it is loaded and you are using the Novell client with a NW ZEN server try disabling the CIFS.

With Consoleone check to see if the workstation object has rights to the scandir directory. First find out what the scandir directory is by Properties of the ServerName_ZenInvService object | ZEN inventory object tab | Scan directory path.

Browse to the volume of the server in consoleone | zenworks\inv\scandir | properties of scandir | trustees tab | effective rights | browse to the workstation object you are troubleshooting with | This workstation should have create rights. For troubleshooting try adding read, write, and file scan rights.

Search the web for a free tool called DBWIN32.EXE.

Run dbwin32.exe and then Start | run | wmsched | click the inventory policy and RUN NOW | you will see the inventory process fly by. Near the end you should see something like:

WORKING:
472: ZenLite : Info : Successfully released Modify Attributes Structure.
472: ZenLite : Info : Transfer file from C:\Zenworks\000C2929779C_1092326450000_7.STR to

\\NW60-FS1\SYS\ZENworks\Inv\ScanDir\000C2929779C_1092326450000_7.STR
472: Info : STRFile transfered sucessfully.
472: ZenLite : Info : Deleted C:\Zenworks\000C2929779C_1092326450000_7.STR file from local workstation

BROKEN:
4044: ZenLite : Info : Successfully released Modify Attributes Structure.
4044: ZenLite : Info : Transfer file from C:\Zenworks\000347B82626_1092161400000_0.STR to
\\NovellRocks-FS1\VOL1\ZENworks\Inv\ScanDir\000347B82626_1092161400000_0.STR
4044: Error : STRFile Couldn't transfer properly. ( ZENWriteFile() error code : 0x1F)
4044: ZenLite : Info : Trying to copyFile using ZenLiteInv.dll
4044: ZENWriteInvFile : Starting ZENWriteInvFile C:\Zenworks\000347B82626_1092161400000_0.STR to
\\NovellRocks-FS1\VOL1\ZENworks\Inv\ScanDir\000347B82626_1092161400000_0.STR

Check the following file volume\ZENworks\Inv\server\WmInv\properties\ALTERDB.PROPS
Ensure the DB paths are the same as the scandir path. Meaning, is it on the correct volume?
mgmtdb1=sys:\\zenworks\\inv\\db for sys or if your inventory DB is on vol1 it should be vol1.

Once you modify the files do the following:
zfdstop
java -exit
Go to the sybase db and Q for quite
Once all the ZEN processes have stopped, load them back up.
mgmtdbs.ncf
startinv.ncf
zfdstart.ncf

Most of the ZFD 3.x troubleshooting still applies to KB 3543750 Troubleshooting ZENworks for Desktops Inventory Process.

Another good place to look for troubleshooting ideas is the AWESOME ZFD Advanced Techncial Training (ATT) manual with flow charts, and troubleshooting steps/questions and tools! Attend the ZFD ATT training and you'll get one of these AWESOME books.



Additional Information


Formerly known as TID# 10094127