Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
 
Go Back   Zimbra - Forums > Zimbra Collaboration Suite > Administrators

Welcome to the Zimbra - Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Display Modes
  #41 (permalink)  
Old 04-23-2008, 04:09 PM
Member
 
Posts: 10
Default Cannot get script to work on CentOS 5.1

I seem to be doing something wrong. Can anyone give me some guidance on what I should be doing to get the script to work on CentOS 5.1?

Obviously I do not have dar installed, or apt, and I was almost under the impression that it would work without those packages, but it does not. So please forgive me if I am asking in ignorance, but I cannot seem to determine how I might make the script work without installing those packages.

When I attempt to Install the script I tell it not to attempt to install dar or the noread, and then I get the following message:

Please check script Config, and try again
Null message body; hope that's ok

Thanks in advance for your help.
Reply With Quote
  #42 (permalink)  
Old 04-24-2008, 06:45 AM
Active Member
 
Posts: 25
Default

Quote:
Originally Posted by visualsoftspace View Post
I seem to be doing something wrong. Can anyone give me some guidance on what I should be doing to get the script to work on CentOS 5.1? Obviously I do not have dar installed, or apt, and I was almost under the impression that it would work without those packages, but it does not. --snip
The installer function within the script was written for Ubuntu (the author's OS) so you need to read the script and crib the various components the script is dependent upon and install missing parts (like dar) manually then tweak the various $directories used to suit your own server. I built dar from source downloaded from the project's website. It underpins much of the script and it's certainly not optional..

Christian
Reply With Quote
  #43 (permalink)  
Old 04-24-2008, 08:19 AM
Active Member
 
Posts: 25
Default

Here's another issue I'm seeing. If I cat the Backuplist file for the DIFF backups done each night the file appears to have recorded an error instead of the file information. Here's what's in my backup directory:

[root@zim zimbra-backup-current]# ls -l
total 1508652
-rw-r--r-- 1 root root 1461461953 Apr 21 13:10 16_Zimbra_Backup_21-April-2008_FULL.1.dar
-rw-r--r-- 1 root root 76 Apr 21 13:12 16_Zimbra_Backup_21-April-2008_FULL.1.dar.md5
-rw-r--r-- 1 root root 26375696 Apr 22 01:33 16_Zimbra_Backup_22-April-2008_DIFF.1.dar
-rw-r--r-- 1 root root 76 Apr 22 01:33 16_Zimbra_Backup_22-April-2008_DIFF.1.dar.md5
-rw-r--r-- 1 root root 27239882 Apr 23 01:33 16_Zimbra_Backup_23-April-2008_DIFF.1.dar
-rw-r--r-- 1 root root 76 Apr 23 01:33 16_Zimbra_Backup_23-April-2008_DIFF.1.dar.md5
-rw-r--r-- 1 root root 27678698 Apr 24 01:33 16_Zimbra_Backup_24-April-2008_DIFF.1.dar
-rw-r--r-- 1 root root 76 Apr 24 01:33 16_Zimbra_Backup_24-April-2008_DIFF.1.dar.md5
-rw-r--r-- 1 root root 526193 Apr 21 13:12 Backuplist-21-April-2008.txt.gz
-rw-r--r-- 1 root root 68 Apr 22 01:33 Backuplist-22-April-2008.txt
-rw-r--r-- 1 root root 68 Apr 23 01:33 Backuplist-23-April-2008.txt
-rw-r--r-- 1 root root 96 Apr 24 01:33 Backuplist-24-April-2008.txt
[root@zim zimbra-backup-current]# cat Backuplist-24-April-2008.txt
FATAL error, aborting operation
too large elastic buffer or elastic buffer incoherent structure

Any ideas?

Christian
Reply With Quote
  #44 (permalink)  
Old 04-24-2008, 02:44 PM
Senior Member
 
Posts: 66
Default

Hi there!

Quote:
Just one comment: If the script is not run with the log redirection anytime then the log file is empty always and then the mail feature fails because the cat $LOG string is missing.
Also mailing fails if the $EMAILCC field is empty. (since -c -s)
yip i can confirm this, it is a little bug I will fix soon.
the workaround is add a CC someone you like...

heinzg
__________________
Motions of a day at work -

Last edited by heinzg : 04-24-2008 at 02:48 PM.
Reply With Quote
  #45 (permalink)  
Old 04-24-2008, 02:55 PM
Senior Member
 
Posts: 66
Default

Quote:
Originally Posted by chrishewitt View Post
The installer function within the script was written for Ubuntu (the author's OS) so you need to read the script and crib the various components the script is dependent upon and install missing parts (like dar) manually then tweak the various $directories used to suit your own server. I built dar from source downloaded from the project's website. It underpins much of the script and it's certainly not optional..

Christian
Hi Christian

I can second your answer... dar is not optional

heinzg
__________________
Motions of a day at work -
Reply With Quote
  #46 (permalink)  
Old 04-24-2008, 03:02 PM
Senior Member
 
Posts: 66
Default

Quote:
Originally Posted by chrishewitt View Post
Here's another issue I'm seeing. ...
[root@zim zimbra-backup-current]# cat Backuplist-24-April-2008.txt
FATAL error, aborting operation
too large elastic buffer or elastic buffer incoherent structure

Any ideas?

Christian
I have noticed this too, this is some odd behavior of dar a possibly a bug in my script when using encryption.

I will have a look at it over the weekend.

Sorry for not answering sooner but I don't get notified about updates anymore for some odd reason.
__________________
Motions of a day at work -
Reply With Quote
  #47 (permalink)  
Old 04-28-2008, 06:07 AM
Active Member
 
Posts: 25
Default

Here's another oddity.. the backup elapsed time reported after I swapped the backup location to an NFS mount (and so made it much longer):

Full Zimbra Backup ended at: 12:54
Backup took Hr:1 Min:84 Sec:37 to complete

1hr 84 mins!?
Reply With Quote
  #48 (permalink)  
Old 04-29-2008, 07:47 PM
Junior Member
 
Posts: 5
Default Dar installation on centos 5.1

Hi gang, newbie here with Zimbra and I am wanting to use this script. I've got dar-2.3.7 downloaded and running ./configure, it runs for a bit and stops.

checking for _FILE_OFFSET_BITS value needed for large files... unknown
checking for _LARGE_FILES value needed for large files... unknown
checking for an ANSI C-conforming const... no
checking for inline... no
checking for off_t... no
checking for pid_t... no
checking for size_t... no
checking for struct stat.st_rdev... no
checking whether sys_siglist is declared... no
checking for size_t... (cached) no
configure: error: Cannot find size_t type
[root@zimbra dar-2.3.7]#

Obviously, I can't even start tinkering with the script without dar so anyone have a tip here? I think I have everything installed that dar wants, I wish dar had a package for centos that yum would see...

Once I get this working, I think this looks like a great script! My /backup folder is a separate 250 gig disk in the server and I want to do a disaster backup and daily zimbra backups.

I read in one of these posts that the script is ubuntu and centos friendly now?

Any modifications I will need to still do besides the basics at the top of the script?

Thanks up front, Dave
Reply With Quote
  #49 (permalink)  
Old 04-30-2008, 04:20 AM
Active Member
 
Posts: 25
Default

another thing.. when the DIFF backup is made it doesn't appear to clear the log file in /var/log/zim_backup.log .. if I cat this file it contains information on the FULL backup and all DIFF backups since. Is this due to the "elastic buffer" failure I'm seeing? (e.g. the backup is bombing before it gets to that point).

Christian
Reply With Quote
  #50 (permalink)  
Old 05-03-2008, 12:46 AM
Intermediate Member
 
Posts: 19
Default

How big was the message store you were backing up? I saw that you had 2 mins of server downtime, but was wondering, on a store of like 50GB, how long to expect such a backup to take, assuming an average amount of daily activity for 500 users or so.
__________________
---------------

Jettero Heller
SysAdmin // SEO // Scientologist
http://jetteroheller.wordpress.com/
Reply With Quote
Reply


Thread Tools
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

Zimbrablog.com




 

Search Engine Optimization by vBSEO 3.1.0