Results 1 to 4 of 4

Thread: [SOLVED] Error Starting Zimbra

  1. #1
    Manuel is offline Junior Member
    Join Date
    May 2010
    Location
    Singapore
    Posts
    10
    Rep Power
    5

    Default [SOLVED] Error Starting Zimbra

    My objective: cronjob to do the following backup at night
    ** Start **
    - rsync -avHK --delete /opt/zimbra/ /backup/zimbra (* OK * initial rsync to save some down time)
    - sudo -u zimbra /opt/zimbra/bin/zmcontrol stop (* OK *)
    - rsync -avHK --delete /opt/zimbra/ /backup/zimbra ( * OK *)
    - sudo -u zimbra /opt/zimbra/bin/zmcontrol start ( ** ERROR **) - See below for the run results
    ** Done **
    I need to run another manual start for it to start properly.
    su - zimbra
    /opt/zimbra/bin/zmcontrol start
    ****************

    # Stop Zimbra Services
    sudo -u zimbra /opt/zimbra/bin/zmcontrol stop

    (Result)
    Stopping stats...Done.
    Stopping mta...Done.
    Stopping spell...Done.
    Stopping snmp...Done.
    Stopping archiving...Done.
    Stopping antivirus...Done.
    Stopping antispam...Done.
    Stopping imapproxy...Done.
    Stopping memcached...Done.
    Stopping mailbox...Done.
    Stopping logger...Done.
    Stopping ldap...Done.

    ** Rsync Successful **

    # Restart Zimbra Services
    sudo -u zimbra /opt/zimbra/bin/zmcontrol start

    (Result)
    Starting ldap...Done.
    Starting logger...Failed.
    Starting logswatch.../opt/zimbra/bin/zmlogswatchctl: line 72: zmhostname: command not found
    /opt/zimbra/bin/zmlogswatchctl: line 72: zmprov: command not found
    zimbra logger service is not enabled! failed.

    Starting mailbox...Done.
    Starting antispam...Done.
    Starting antivirus...Done.
    Starting snmp...Done.
    Starting spell...Done.
    Starting mta...Done.
    Starting stats...Done.

    # Restart manually, right after "sudo -u zimbra /opt/zimbra/bin/zmcontrol start"
    su - zimbra
    /opt/zimbra/bin/zmcontrol start

    (Result)
    Starting logger...Done.
    Starting mailbox...Done.
    Starting antispam...Done.
    Starting antivirus...Done.
    Starting snmp...Done.
    Starting spell...Done.
    Starting mta...Done.
    Starting stats...Done.

    *********

    Both errors above says these files are not found but there in /opt/zimbra/bin
    -rwxr-xr-x 1 root root 711 2010-05-06 11:28 zmhostname
    -rwxr-xr-x 1 root root 625 2010-05-06 11:28 zmprov

  2. #2
    phoenix is online now Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,483
    Rep Power
    56

    Default

    You should start zimbra with the following command:

    Code:
    /etc/init.d/zimbra start
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  3. #3
    Manuel is offline Junior Member
    Join Date
    May 2010
    Location
    Singapore
    Posts
    10
    Rep Power
    5

    Default ** Solved **

    Thanks for the quick reply.

    After further reading I found another way to start zimbra services which works.

    # Restart Zimbra Services
    su - zimbra -c "/opt/zimbra/bin/zmcontrol start" ( * OK * )
    #sudo -u zimbra /opt/zimbra/bin/zmcontrol start (* NOT OK * )

    Currently with a few test users, the server downtime was about 3 mins for it to perform rsync and restart all the services. Will test it with more data in the next few days.

    BTW: your way works too.

    Quote Originally Posted by phoenix View Post
    You should start zimbra with the following command:

    Code:
    /etc/init.d/zimbra start

  4. #4
    phoenix is online now Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,483
    Rep Power
    56

    Default

    Yes, both of those methods work as you've found out - glad you've fixed it. If this fixed your problem could you mark the thread as solved (it's in the Thread Tools drop-down at the top of this page).
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Zimbra spam system
    By rajahd in forum Administrators
    Replies: 9
    Last Post: 04-16-2008, 07:25 PM
  2. /tmp filling
    By Nutz in forum Administrators
    Replies: 8
    Last Post: 02-22-2008, 02:00 AM
  3. [SOLVED] Clamav problem ? What's happening ?
    By aNt1X in forum Installation
    Replies: 23
    Last Post: 02-14-2008, 05:43 AM
  4. Big Fubar on 5 FOSS GA Upgrade
    By uxbod in forum Administrators
    Replies: 24
    Last Post: 01-21-2008, 03:37 AM
  5. zmtlsctl give LDAP error
    By sourcehound in forum Administrators
    Replies: 5
    Last Post: 03-11-2007, 03:48 PM

Posting Permissions

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