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 Search this Thread Display Modes
  #1 (permalink)  
Old 09-20-2010, 11:47 PM
Active Member
 
Posts: 28
Default Services fail to restart after a backup script

Hello, for the 3rd time in the last 2 weeks, my server has not restarted correctly after a backup. I use the simple shell script ( Open Source Edition Backup Procedure - Zimbra :: Wiki ). It has worked for months, and no change has been made to the system. Release is 6.06, open source edition

The backup runs at 7 pm, and this is the status of the services at 8 pm (when I arrive at my office)

antispam Stopped
zmmtaconfigctl is not running
zmamavisdctl is not running
antivirus Stopped
zmmtaconfigctl is not running
zmamavisdctl is not running
zmclamdctl is not running
ldap Stopped
logger Stopped
zmlogswatchctl is not running
mailbox Stopped
zmmtaconfigctl is not running.
mysql.server is not running.
zmmailboxdctl is not running.
mta Stopped
zmmtaconfigctl is not running
postfix is not running
zmsaslauthdctl is not running
snmp Stopped
zmswatch is not running.
stats Stopped

Here's the zimbra.log

Starting services initiated by zmcontrol
Sep 21 07:01:50 vmx-ext-fi-1 slapd[11107]: @(#) $OpenLDAP: slapd 2.4.21 (Mar 25 2010 02:59:40) $ ^Iroot@build25.lab.zimbra.com:/home/build/p4/main/ThirdParty/openldap/openldap-2.4.21.7z/servers/slapd
Sep 21 07:01:50 vmx-ext-fi-1 slapd[11108]: slapd starting
Sep 21 07:01:50 vmx-ext-fi-1 slapd[11112]: hdb_db_open: database "": database already in use.
Sep 21 07:01:50 vmx-ext-fi-1 slapd[11112]: backend_startup_one (type=hdb, suffix=""): bi_db_open failed! (-1)
Sep 21 07:01:50 vmx-ext-fi-1 slapd[11112]: slapd stopped.
Sep 21 07:01:55 vmx-ext-fi-1 slapd[11116]: @(#) $OpenLDAP: slapd 2.4.21 (Mar 25 2010 02:59:40) $ ^Iroot@build25.lab.zimbra.com:/home/build/p4/main/ThirdParty/openldap/openldap-2.4.21.7z/servers/slapd
Sep 21 07:01:55 vmx-ext-fi-1 slapd[11116]: daemon: bind(7) failed errno=98 (Address already in use)Sep 21 07:01:55 vmx-ext-fi-1 slapd[11116]: slapd stopped.
Sep 21 07:01:55 vmx-ext-fi-1 slapd[11116]: connections_destroy: nothing to destroy.
Sep 21 07:01:55 vmx-ext-fi-1 slapd[11118]: @(#) $OpenLDAP: slapd 2.4.21 (Mar 25 2010 02:59:40) $ ^Iroot@build25.lab.zimbra.com:/home/build/p4/main/ThirdParty/openldap/openldap-2.4.21.7z/servers/slapd
Sep 21 07:01:55 vmx-ext-fi-1 slapd[11118]: daemon: bind(7) failed errno=98 (Address already in use)
Sep 21 07:01:55 vmx-ext-fi-1 slapd[11118]: slapd stopped.
Sep 21 07:01:55 vmx-ext-fi-1 slapd[11118]: connections_destroy: nothing to destroy.

I don't know what could cause the problem. The backup script makes sure every zimbra job is killed before starting the backup...if this is the problem.
After a restart of the server, everything works correctly
Can somebody help me?
Thanks
Simone
Reply With Quote
  #2 (permalink)  
Old 09-28-2010, 12:33 AM
Active Member
 
Posts: 28
Default

I had 2 identical crontab jobs (the backup script), scheduled at the same time.

00 07 * * * /zmscripts/zmbk-07.sh > /zmbklogs/zmbk-07.txt 2>&1
00 07 * * * /zmscripts/zmbk-07.sh > /zmbklogs/zmbk-07.txt 2>&1

Maybe this was the problem. Now I've deleted one of them.

Simone
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
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.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.