• Please be aware that ADSM.ORG will be going through forum software conversion and migration over the next several weeks. The cut-over date and time will be posted in the ADSM.ORG News & Announcements section as we near the target date. Please visit the following link for more details ADSM News & Announcements
  • Community Tip: Please Give Thanks to Those Sharing Their Knowledge.

    If you receive helpful answer on this forum, please show thanks to the poster by clicking "LIKE" link for the answer that you found helpful.

  • Community Tip: Forum Rules (PLEASE CLICK HERE TO READ BEFORE POSTING)

    Click the link above to access ADSM.ORG Acceptable Use Policy and forum rules which should be observed when using this website. Violators may be banned from this website. This notice will disappear after you have made at least 3 posts.

Linux backup fails as per schedule : access to the object is denied

CharlieTSM

ADSM.ORG Member
Joined
Aug 16, 2016
Messages
22
Reaction score
0
Points
0
Hello friends,

I have a Linux client that is unable to backup all files as per schedule,

Some examples here:
01/19/2023 19:01:11 ANS4007E Error processing '/home/in002sl9': access to the object is denied
01/19/2023 19:01:11 ANS4007E Error processing '/usr/sap/BP2/SYS': access to the object is denied
01/19/2023 19:01:11 ANS4007E Error processing '/var/cache/ldconfig': access to the object is denied

If I run and INCR manually on the client, it runs perfectly with no errors.

I have read a lot of things from using the Skipmigrated variable to restart rpc binding service, but nothing seems to work

I would appreciate if someone have a clue of what is going on here.

Thanks
 

LED888

ADSM.ORG Moderator
Joined
Oct 15, 2002
Messages
893
Reaction score
83
Points
0
Website
http
How are we starting the schedule daemon?
Is the schedule daemon started as a non-root user?
If the manual backup start and complete without any issues, start the schedule daemon with this user id and then monitor the schedule backup.

Good Luck,
Sias
 

LED888

ADSM.ORG Moderator
Joined
Oct 15, 2002
Messages
893
Reaction score
83
Points
0
Website
http
When I encounter -
ANS4007E Error processing <file_name>: access to the object is denied.

1) The user running the backup is not root.
- The schedule daemon is started as root.
- We were able to backup the files as a non-root user.
- As a test, start the schedule daemon as the non root user that completed the manual backup.

2) There is an ACL added to the file that explicitly denies the user running the backup access to the file - note this CAN be applicable to root as well.

3) There is damage on the filesystem.
- I do not suspect an issue with the filesystem.
- If this was the case, the manual backup would encounter the same issue.
- If possible, issue issue fsck. NOTE: Before you can run a disk check with fsck, you need to unmount a disk or partition. If you try to run fsck on a mounted disk or partition, you will get a warning.

4) The application have a lock on file and being use at the time of the schedule backup.
-Set up a test schedule and run the backup at a different time to see if the issue follow.

Since your able to see the full messages, not if we are receiving any other messages leading up to the ANS4007E. Not sure if you found the following techdoc.



Good Luck,
Sias
 

The Spectrum Protect TLA (Three-Letter Acronym): ISP or something else?

  • Every product needs a TLA, Let's call it ISP (IBM Spectrum Protect).

    Votes: 22 19.5%
  • Keep using TSM for Spectrum Protect.

    Votes: 67 59.3%
  • Let's be formal and just say Spectrum Protect

    Votes: 15 13.3%
  • Other (please comement)

    Votes: 9 8.0%

Forum statistics

Threads
31,858
Messages
134,960
Members
21,836
Latest member
fpandrade
Top