Sidebar

Announcement

Ahsay Backup Software

Backup Set Types

Supported Storage

Features in OBM / ACB

Features in CBS

Brand and Customize

License

Documentation

Performance Testing

FAQs and Known Issues

Can't Find What You Need?

public:ioexception_nixutil.c_read_invalid_argument

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

Article ID Reviewed AhsayOBM Operating System
5273 21/08/2017 7.5.0.0 or above 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
* 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.

--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:

  1. Exclude the affected files/folders from the backup source.

Keywords:

Linux, permission, selinux, file, folder, read permission, exclude, filter, backup source

public/ioexception_nixutil.c_read_invalid_argument.txt · Last modified: 2017/09/01 12:10 by yuk.cheng