Results 1 to 3 of 3

Thread: debian /etc/init.d/zimbra

  1. #1
    ljm
    ljm is offline Project Contributor
    Join Date
    May 2006
    Posts
    81
    Rep Power
    8

    Default debian /etc/init.d/zimbra

    Hi, a couple of glitches I noticed after installing zcs-3.1.0_GA_332.DEBIAN3.1.tgz:

    1. the file /etc/init.d/zimbra is missing. This replacement worked fine for me:
    #!/bin/bash

    RETVAL=0

    case "$1" in
    restart)
    su zimbra /opt/zimbra/bin/zmcontrol stop
    su zimbra /opt/zimbra/bin/zmcontrol start
    RETVAL=$?
    ;;
    start)
    su zimbra /opt/zimbra/bin/zmcontrol start
    RETVAL=$?
    ;;
    stop)
    su zimbra /opt/zimbra/bin/zmcontrol stop
    RETVAL=$?
    ;;
    esac

    exit $RETVAL

    2. zmapachectl wants "reload" and httpd -k wants "restart". So:

    zimbra@host$ zmapachectl reload
    httpd: illegal option -- k
    Usage: /opt/zimbra/httpd-2.0.54/bin/httpd [-D name] [-d directory] [-f file]
    [-C "directive"] [-c "directive"]
    [-k start|restart|graceful|stop]
    [-v] [-V] [-h] [-l] [-L] [-t] [-S]

    zimbra@host$ zmapachectl restart
    /opt/zimbra/bin/zmapachectl start|stop|reload|status

    Minor glitches on the road to debian heaven :-)

    ljm.

  2. #2
    KevinH's Avatar
    KevinH is offline Expert Member
    Join Date
    Aug 2005
    Location
    San Mateo, CA
    Posts
    4,789
    Rep Power
    18

    Default

    Thanks.

    #1 is filed in bugzilla, you can find the real script in /opt/zimbra/libexec

    #2 please file this as a bug
    Looking for new beta users -> Co-Founder of Acompli. Previously worked at Zimbra (and Yahoo! & VMware) since 2005.

  3. #3
    ljm
    ljm is offline Project Contributor
    Join Date
    May 2006
    Posts
    81
    Rep Power
    8

    Smile zimbra before fetchmail

    Thanks - /opt/zimbra/libexec/zimbra is better than the example above.

    I'll assume there's no dependency between zimbra and fetchmail, so that it's ok for zimbra to startup as S80zimbra and fetchmail as S99fetchmail.

    Bug for zmapachectl filed as #7461

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. No /etc/init.d/zimbra script on Debian
    By itbox_mark in forum Installation
    Replies: 1
    Last Post: 05-18-2006, 10:45 AM
  2. Zimbra 3.0.1_GA_160 on Debian so far so good.
    By jml75 in forum Administrators
    Replies: 2
    Last Post: 03-23-2006, 10:47 AM
  3. Replies: 2
    Last Post: 03-15-2006, 09:37 AM
  4. Replies: 1
    Last Post: 02-17-2006, 07:59 PM
  5. Zimbra on Debian - keytool issues
    By shohamlevy in forum Installation
    Replies: 9
    Last Post: 12-19-2005, 10:59 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
  •