Results 1 to 3 of 3

Thread: Fix for missing output in /etc/init.d/zimbra

  1. #1
    carltm is offline Starter Member
    Join Date
    Sep 2009
    Posts
    2
    Rep Power
    5

    Default Fix for missing output in /etc/init.d/zimbra

    When I restart zimbra or run "/etc/init.d/zimbra status" there is no output.

    This can easily be fixed by changing this:
    su - zimbra -c "zmcontrol $1 </dev/null >>/opt/zimbra/log/startup.log 2>&1"
    to this:
    su - zimbra -c "zmcontrol $1 </dev/null 2>&1 | tee -a /opt/zimbra/log/startup.log"

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

    Default

    That would be "zmcontrol status" as the correct command run as the zimbra user.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  3. #3
    carltm is offline Starter Member
    Join Date
    Sep 2009
    Posts
    2
    Rep Power
    5

    Default

    You're talking about something else, namely how the user zimbra
    runs "zmcontrol status".

    I'm talking about root using the /etc/init.d file to start, stop, restart
    or get the status of zimbra. As root, run "/etc/init.d/zimbra restart"
    or "/etc/init.d/zimbra status". If you have a Red Hat or CentOS
    system, you could also run "service zimbra status".

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. RSS/Atom Calendar Output
    By rhostager in forum Developers
    Replies: 1
    Last Post: 03-01-2010, 01:34 PM
  2. Replies: 11
    Last Post: 02-09-2008, 08:00 AM
  3. How can I fix zmtrainsa?
    By ms2k in forum Administrators
    Replies: 11
    Last Post: 04-16-2007, 10:11 AM
  4. Do I have to upgrade to fix the DST bug?
    By yang in forum Administrators
    Replies: 3
    Last Post: 03-02-2007, 01:44 PM
  5. Fix for SA Configure Files Version Mismatch
    By unilogic in forum Developers
    Replies: 1
    Last Post: 12-03-2005, 07:37 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
  •