Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Developers

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-23-2009, 07:41 AM
Starter Member
 
Posts: 2
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:
Quote:
su - zimbra -c "zmcontrol $1 </dev/null >>/opt/zimbra/log/startup.log 2>&1"
to this:
Quote:
su - zimbra -c "zmcontrol $1 </dev/null 2>&1 | tee -a /opt/zimbra/log/startup.log"
Reply With Quote
  #2 (permalink)  
Old 09-23-2009, 08:00 AM
Zimbra Consultant & Moderator
 
Posts: 19,653
Default

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


Bill
Reply With Quote
  #3 (permalink)  
Old 09-23-2009, 08:14 AM
Starter Member
 
Posts: 2
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".
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.