Troubleshooting
Problem
Archive restore fails to import file with message "Cannot find zip file" even if file exists. The file was copied over from archive server to the guardium appliance.
The archive type is SCP.
Symptom
- Archive restore fails.
- You're using SCP method of archive.
- You can see the message "Cannot find zip file" for example in detailed log, or debug, log in aggregation/archive report.
- You also noticed that the file is on the appliance already.
- If you look at the archive server the file is there and the permission of the file is 600
Cause
On the archive server the archive file need to have permission 644. Most likely you got a security setting that change the file permissions from 644 to 600.
If you configure archive to use SCP and user X then the Guardium appliance SCP command is using user X to get the file, so that works ok. But TAKE NOTE! the restore in guardium is not done by user X but by another user Y. If permissions on file is 600 then the user Y can't read the file.
Resolving The Problem
Before you do the restore change permissions on files that you want to restore to 644.
Was this topic helpful?
Document Information
Modified date:
25 October 2018
UID
ibm10737375