Hi there,
When trying to run a backup it fails and I get the following error "Message: Error! Cannot write to target path /mnt/nfs/ZCS_Backup! Error code: CSFE_SVC_ERROR Method: ZaBackupXWizard.prototype.createPath". I tried clearing space on the Backup Server, but this did not seem to help. Any suggestions?
Backup Error
-
- Advanced member
- Posts: 134
- Joined: Tue Mar 13, 2018 5:37 pm
- ZCS/ZD Version: 8.8.15
Re: Backup Error
Always give details of the installed ZCS installed version by posting the full output of the following:
The error would seem to be this: "Error! Cannot write to target path /mnt/nfs/ZCS_Backup", can you actually write to that location (from the ZCS server0, what sort of device is this (RAID, local HD etc..)?
Code: Select all
zmcontrol -v
-
- Advanced member
- Posts: 134
- Joined: Tue Mar 13, 2018 5:37 pm
- ZCS/ZD Version: 8.8.15
Re: Backup Error
zimbra@ZM01:~$ zmcontrol -v
Release 8.7.11.GA.1854.UBUNTU16.64 UBUNTU16_64 NETWORK edition.
When I try running zmbackup -f, it tells me that /mnt/nfs/ZCS_Backup is not writable. This is a network file share on a Windows server. My /etc/fstab entry for it looks like this.
//bu01/ZCS_Backup /mnt/nfs/ZCS_Backup cifs credntials=/home/administrator/.smbcredentials,iocharset=utf8,sec=ntlm 0 0
I have the log in credentials for the Windows server stored in the file .smbcredentials.
Release 8.7.11.GA.1854.UBUNTU16.64 UBUNTU16_64 NETWORK edition.
When I try running zmbackup -f, it tells me that /mnt/nfs/ZCS_Backup is not writable. This is a network file share on a Windows server. My /etc/fstab entry for it looks like this.
//bu01/ZCS_Backup /mnt/nfs/ZCS_Backup cifs credntials=/home/administrator/.smbcredentials,iocharset=utf8,sec=ntlm 0 0
I have the log in credentials for the Windows server stored in the file .smbcredentials.
- L. Mark Stone
- Ambassador
- Posts: 2800
- Joined: Wed Oct 09, 2013 11:35 am
- Location: Portland, Maine, US
- ZCS/ZD Version: 10.0.7 Network Edition
- Contact:
Re: Backup Error
As the zimbra user try running:patrickwilson82 wrote:zimbra@ZM01:~$ zmcontrol -v
Release 8.7.11.GA.1854.UBUNTU16.64 UBUNTU16_64 NETWORK edition.
When I try running zmbackup -f, it tells me that /mnt/nfs/ZCS_Backup is not writable. This is a network file share on a Windows server. My /etc/fstab entry for it looks like this.
//bu01/ZCS_Backup /mnt/nfs/ZCS_Backup cifs credntials=/home/administrator/.smbcredentials,iocharset=utf8,sec=ntlm 0 0
I have the log in credentials for the Windows server stored in the file .smbcredentials.
Code: Select all
touch /mnt/nfs/ZCS_Backup/TESTFILE
mkdir /mnt/nfs/ZCS_Backup/TESTDIR
BTW, cifs is not supported as a backup mount point; only block devices and NFS.
Hope that helps,
Mark
___________________________________
L. Mark Stone
Mission Critical Email - Zimbra VAR/BSP/Training Partner https://www.missioncriticalemail.com/
AWS Certified Solutions Architect-Associate
L. Mark Stone
Mission Critical Email - Zimbra VAR/BSP/Training Partner https://www.missioncriticalemail.com/
AWS Certified Solutions Architect-Associate
-
- Advanced member
- Posts: 134
- Joined: Tue Mar 13, 2018 5:37 pm
- ZCS/ZD Version: 8.8.15
Re: Backup Error
As far as the mounting issue goes, it looks as if I have to mount this manually and can't use the /etc/fstab because it causes a kernel panic. So I now have the directory mounted, but when I run zmbackup -f from the command line I get "Error occurred: invalid request: Missing account list"
When I go into the admin console, go to start the backup, go to the select accounts tab and click "Backup All Accounts" and click Backup I get
"Message: system failure: Unable to create directory /mnt/nfs/ZCS_Backup/tmp/full-20180320.212948.761/sys Error code: service.FAILURE Method: [unknown] Details:soap:Receiver" Any ideas?
When I go into the admin console, go to start the backup, go to the select accounts tab and click "Backup All Accounts" and click Backup I get
"Message: system failure: Unable to create directory /mnt/nfs/ZCS_Backup/tmp/full-20180320.212948.761/sys Error code: service.FAILURE Method: [unknown] Details:soap:Receiver" Any ideas?
- L. Mark Stone
- Ambassador
- Posts: 2800
- Joined: Wed Oct 09, 2013 11:35 am
- Location: Portland, Maine, US
- ZCS/ZD Version: 10.0.7 Network Edition
- Contact:
Re: Backup Error
Still sounds like a permissions error. Did you run the two commands I suggested? If you did, what were the results?patrickwilson82 wrote:As far as the mounting issue goes, it looks as if I have to mount this manually and can't use the /etc/fstab because it causes a kernel panic. So I now have the directory mounted, but when I run zmbackup -f from the command line I get "Error occurred: invalid request: Missing account list"
When I go into the admin console, go to start the backup, go to the select accounts tab and click "Backup All Accounts" and click Backup I get
"Message: system failure: Unable to create directory /mnt/nfs/ZCS_Backup/tmp/full-20180320.212948.761/sys Error code: service.FAILURE Method: [unknown] Details:soap:Receiver" Any ideas?
Sounds also like you need to fix /etc/fstab, but again, cifs is not supported -- only block storage or nfs.
Hope that helps,
Mark
___________________________________
L. Mark Stone
Mission Critical Email - Zimbra VAR/BSP/Training Partner https://www.missioncriticalemail.com/
AWS Certified Solutions Architect-Associate
L. Mark Stone
Mission Critical Email - Zimbra VAR/BSP/Training Partner https://www.missioncriticalemail.com/
AWS Certified Solutions Architect-Associate
-
- Advanced member
- Posts: 134
- Joined: Tue Mar 13, 2018 5:37 pm
- ZCS/ZD Version: 8.8.15
Re: Backup Error
It definitely was a permissions error. The testfile I was making did go through to the backup server, but during the backup process it was putting the backup into a temp folder until the process was completed. For whatever reason, on the Windows server, the temp folder wasn't set to inherit permissions from the ZCS_Backup folder. Thanks again for the help Mark!L. Mark Stone wrote:Still sounds like a permissions error. Did you run the two commands I suggested? If you did, what were the results?patrickwilson82 wrote:As far as the mounting issue goes, it looks as if I have to mount this manually and can't use the /etc/fstab because it causes a kernel panic. So I now have the directory mounted, but when I run zmbackup -f from the command line I get "Error occurred: invalid request: Missing account list"
When I go into the admin console, go to start the backup, go to the select accounts tab and click "Backup All Accounts" and click Backup I get
"Message: system failure: Unable to create directory /mnt/nfs/ZCS_Backup/tmp/full-20180320.212948.761/sys Error code: service.FAILURE Method: [unknown] Details:soap:Receiver" Any ideas?
Sounds also like you need to fix /etc/fstab, but again, cifs is not supported -- only block storage or nfs.
Hope that helps,
Mark