Results 1 to 2 of 2

Thread: Services fail to restart after a backup script

  1. #1
    slacri is offline Active Member
    Join Date
    Mar 2010
    Posts
    33
    Rep Power
    5

    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

  2. #2
    slacri is offline Active Member
    Join Date
    Mar 2010
    Posts
    33
    Rep Power
    5

    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

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 658
    Last Post: 04-04-2014, 09:01 AM
  2. Inconsistent backup of Zimbra
    By Bingo in forum Administrators
    Replies: 8
    Last Post: 03-11-2010, 06:02 AM
  3. Proofing Modified Backup Script
    By dkbk in forum Administrators
    Replies: 0
    Last Post: 11-26-2009, 12:52 PM
  4. zimbra opesource Backup Script Problem!
    By tashi in forum Administrators
    Replies: 4
    Last Post: 03-30-2009, 11:49 PM
  5. Zimbra Backup Script ... Small Problem
    By frankb in forum Administrators
    Replies: 12
    Last Post: 07-14-2008, 08:40 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •