Large numbers of CIFS-related messages in error logs

  • 7017883
  • 26-Jul-2016
  • 27-Jul-2016

Environment

Novell Open Enterprise Server 2015 (OES 2015) Linux
Novell Open Enterprise Server 11 (OES 11) Linux
Novell Open Enterprise Server 2 (OES 2) Linux
CIFS

Situation

  • Large numbers of errors logged in /var/log/messages and\or /var/opt/novell/log/cifs.log
    • Examples (not limited to):
ERROR: AUTH: UpdateSEVInfo: Failed to fetch context identity of user: <User>, context: -1, error: -670
ERROR: CODIR: Failed to get stat info of: <Path/File>, error: 2
ERROR: CODIR: Failed to open file:
ERROR: CODIR: File Handle list is empty in cache entry for file: <File>
ERROR: CODIR: GenEntryFromDirCache fail with error 255
ERROR: CODIR: GetEntryFromDirCache returned error 
ERROR: CODIR: GetEntryFromDirCache: Failed to allocate a cache entry for: <Path/File>
ERROR: CODIR: LockCache failed to open file for User : <User> ,Conn no : 59 ,Err : ERR_ALL_READ_ONLY, ErrCode : 144, Path : <Path>
ERROR: CODIR: ReconnectAndGetSEVInfo: Failed to re-establish connection to eDirectory for user: <User>, error: -1671
ERROR: CODIR: SrvSvc Operation not supported
ERROR: CODIR: Unable to remove lease from fd <FD> error: 11
ERROR: CODIR: WKSSVC: Option "10" is not yet supported
ERROR: CODIR: isDeleteAllowed: Failed to get cache entry for
ERROR: CODIR: lock_dircache_entry failed to open dir for User :
ERROR: RPC: RenameCacheEntries: Failed to get the cache entry of old path
ERROR: SMB: ReadX failed for file handle <Handle> FID <FID> error code 168
ERROR: SMB: System error code : 168 CIFS error code : 168
ERROR: SMB: System error code : 2 CIFS error code : 255
ERROR: SMB: System error code : 9 CIFS error code : 255
ERROR: SMB: cifs failed to write X , file handle : <Handle> system error 9
ERROR: UTILS: CIFS_SetupNameMsgFromFID: Failed to get info of path: <Path/File>, error: 2
ERROR: UTILS: CIFS_SetupNameMsgFromPathVerb: Failed to get info of path:
ERROR: UTILS: Cifs_GetFileSize got failed. Errno:9
ERROR: UTILS: Invalid Path
ERROR: UTILS: Invalid time parameter in Set File Basic Info
ERROR: VERB: Failed to get cache entries for renaming "<Path/File>" to "<Path/File>",error: 146
ERROR: VERB: Failed to rename/move "<Path/File>" to "<Path/File>"
ERROR: VERB: Failed to rename/move cache entry <Path/File> to <Path/File>, error: 156
ERROR: VERB: SMB2_TreeConnect: Failed to mount share "<Share>" on client: <IPAddr>, error: <0xC0000022>
ERROR: VERB: SMB2_TreeConnect: null-session has no access to share: <Share>
ERROR: VERB: SMB_Rename: Failed for TID: 875, error: 1:80
ERROR: VERB: SMB_Rename: Failed for TID: <TID>, error: 1:80
ERROR: VERB: SMB_Rename: Failed for TID: <TID>, error: 2:1
ERROR: VERB: Tconx to share (<DFS_Junction>) failed, no valid UID: 0X0 in smb header 
EVENT: CODIR: Searched for files which can be evicted from cache
EVENT: RPC: Received rename event for volume: <Volume>
WARNING: CODIR: Can't duplicate a previous locking for this connection
WARNING: CODIR: LockCache Error localErr 0x0, error ERR_ACCESS_DENIED errcode:168
WARNING: CODIR: LockCache Error localErr 0x0, error ERR_HARD_IO_ERROR errcode:131
WARNING: CODIR: LockCache Error localErr 0x0, error ERR_INVALID_PATH errcode:156
WARNING: CODIR: LockCache Error localErr 0x3, error ERR_NO_READ_PRIVILEGE errcode:147

Resolution

Understand and examine the context of any errors.  If they are not accompanied by any problems such as complaints from users, data inaccessible/lost/corrupt or performance issues then the message may be benign and can be ignored.

If in doubt, contact Technical Services.

Cause

It is likely that many of these messages are mislabelled as ERROR and should instead be tagged as INFO, WARNING or DEBUG.
 
There is an ongoing investigation to evaluate and relabel CIFS messages in to more appropriate categories in future updates of OES.  Some of these changes may come in maintenance releases for OES 2015 and some may come in OES 2017.

Status

Reported to Engineering