Knowledge Base & Discussion Forum

ISSUE:"[New File] File="/filename01" Error="[IOException] [NixUtil.c][read] Invalid argument" when backing up files on Linux machine (5273)

Known issues or frequently asked questions on the File Backup module.

ISSUE:"[New File] File="/filename01" Error="[IOException] [NixUtil.c][read] Invalid argument" when backing up files on Linux machine (5273)

Postby admin » Thu Aug 17, 2017 4:25 pm

Article ID: 5273
Reviewed: 21/08/2017

Product Version:
AhsayOBM : 7.5.0.0 or above
OS: Linux

Problem Description:
When performing a file backup job with AhsayOBM on a Linux machine the following error is shown in the backup log Error="[IOException] [NixUtil.c][read] Invalid argument":

 No.  Type  Timestamp  Log
 *  info  ...  ...
 *  erro  YYYY/MM/DD  hh:mm:ss  [New File] File="/filename01" Error="[IOException] [NixUtil.c][read] Invalid argument"
 *  erro  YYYY/MM/DD  hh:mm:ss  [New File] File="/filename02" Error="[IOException] [NixUtil.c][read] Invalid argument"
 *  ...  ...  ...

Cause:
The "Invalid argument" error message is returned by the Linux operating system. It is related to the permission setting of the file or folder selected for backup.

Example:
The following files in the /selinux folder on CentOS 6 where the root account only has write access permission; commit_pending_bools, disable, and load, an "Invalid argument" error will be triggered even when root tries to read the contents of the file at the operating system level.
Code: Select all
--w-------. 1 root root 0 Aug 17 15:54 /selinux/commit_pending_bools
--w-------. 1 root root 0 Aug 16 15:47 /selinux/disable
--w-------. 1 root root 0 Aug 16 15:47 /selinux/load
#
# cat /selinux/load
cat: /selinux/load: Invalid argument#


Resolution:
To resolve this issue:
  • Exclude the affected files/folders from the backup source.
Keywords:
Linux, permission, selinux, file, folder, read permission
admin
Site Admin
 
Posts: 968
Joined: Mon Jul 10, 2006 3:19 pm

Return to File / General

Who is online

Users browsing this forum: No registered users and 1 guest

Looking for Rbackup Alternative | Vembu Alternative | Novastor Alternative | Asigra Alternative | BackupAgent Alternative? Try our product.


A wholly owned subsidiary of Ahsay Backup Software Development Company Limited  [HKEx Stock Code: 8290]