When analyzing lddwnld.xlg xtrace log file, you might find the following error message :
CreateFile failed with #. For example, "CreateFile failed with 5."
This is a standard CIFS error code returned from the file server hosting the file. Here is a short list of common error. The error in the lddwnld.xlg relates to the last digit of the Error Code :
Error code | NTSTATUS values | POSIX equivalent | Description |
ERRbadfunc 0x0001 | STATUS_NOT_IMPLEMENTED 0xC0000002 STATUS_INVALID_DEVICE_REQUEST 0xC0000010 STATUS_ILLEGAL_FUNCTION 0xC00000AF | EINVAL | Invalid Function. |
ERRbadfile 0x0002 | STATUS_NO_SUCH_FILE 0xC000000F STATUS_NO_SUCH_DEVICE 0xC000000E STATUS_OBJECT_NAME_NOT_FOUND 0xC0000034 | ENOENT | File not found. |
ERRbadpath 0x0003 | STATUS_OBJECT_PATH_INVALID 0xC0000039 STATUS_OBJECT_PATH_NOT_FOUND 0xC000003A STATUS_OBJECT_PATH_SYNTAX_BAD 0xC000003B STATUS_DFS_EXIT_PATH_FOUND 0xC000009B STATUS_REDIRECTOR_NOT_STARTED 0xC00000FB | ENOENT | A component in the path prefix is not a directory. |
ERRnofids 0x0004 | STATUS_TOO_MANY_OPENED_FILES 0xC000011F | EMFILE | Too many open files. No FIDs are available. |
ERRnoaccess 0x0005 | STATUS_ACCESS_DENIED 0xC0000022 STATUS_INVALID_LOCK_SEQUENCE 0xC000001E STATUS_INVALID_VIEW_SIZE 0xC000001F STATUS_ALREADY_COMMITTED 0xC0000021 STATUS_PORT_CONNECTION_REFUSED 0xC0000041 STATUS_THREAD_IS_TERMINATING 0xC000004B STATUS_DELETE_PENDING 0xC0000056 STATUS_PRIVILEGE_NOT_HELD 0xC0000061 STATUS_LOGON_FAILURE 0xC000006D STATUS_FILE_IS_A_DIRECTORY 0xC00000BA STATUS_FILE_RENAMED 0xC00000D5 STATUS_PROCESS_IS_TERMINATING 0xC000010A STATUS_DIRECTORY_NOT_EMPTY 0xC0000101 STATUS_CANNOT_DELETE 0xC0000121 STATUS_FILE_DELETED 0xC0000123 | EPERM | Access denied. |
Resolution
Either the file doesn't exist on the server or the account used to access it doesn't have sufficient right. Activating the object access auditing on the file server for those files can help you.
Additional Info:
To enable xtrace for lddwnld please see this document: http://community.landesk.com/support/docs/DOC-1623