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

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 11-10-2011, 02:18 AM
Special Member
 
Posts: 149
Default zmmsgtrace: command not found

I have recently upgraded ZCS from 7.0.1 to 7.1.3. This version of ZCS should have zmmsgtrace feature, but it gives me error: command not found, do I need to enable anything before using this command?

Dipesh
Reply With Quote
  #2 (permalink)  
Old 11-10-2011, 02:27 AM
Zimbra Consultant & Moderator
 
Posts: 20,315
Default

Quote:
Originally Posted by dipeshmehta View Post
I have recently upgraded ZCS from 7.0.1 to 7.1.3. This version of ZCS should have zmmsgtrace feature, but it gives me error: command not found,...
It does have that command.

Quote:
Originally Posted by dipeshmehta View Post
.... do I need to enable anything before using this command?
Is it really that difficult to find?

Code:
find /opt/zimbra -name zmmsgtrace*
__________________
Regards


Bill

Last edited by phoenix; 11-10-2011 at 02:43 AM..
Reply With Quote
  #3 (permalink)  
Old 11-10-2011, 02:54 AM
Special Member
 
Posts: 149
Default

Code:
root@mail:~# find /opt/zimbra -name zmmsgtrace*
/opt/zimbra/libexec/zmmsgtrace
root@mail:~# su - zimbra
zimbra@mail:~$ zmmsgtrace --s "user1@localdomain.com" --r "user2@remotedomain.com"
-su: zmmsgtrace: command not found
zimbra@mail:~$ ls -l 
-rwxr-xr-x 1 root root 22884 Sep 29 02:26 /opt/zimbra/libexec/zmmsgtrace
Reply With Quote
  #4 (permalink)  
Old 11-14-2011, 12:28 PM
Moderator
 
Posts: 1,432
Default

Try using the full path when invoking the command. Or cd into the directory and invoke it as ./zmmsgtrace.

I also wouldn't see any harm in adding /opt/zimbra/libexec to the zimbra user's path variable in /opt/zimbra/.bashrc, although doing so might not survive upgrades.
__________________
Elliot Wilen
Berkeley, CA

Don't forget to enter your Zimbra version in your forum profile.
Reply With Quote
  #5 (permalink)  
Old 11-14-2011, 10:58 PM
Special Member
 
Posts: 149
Default

Thanks to you both, in fact I didn't checked in deep before posting to forum, it was my mistake. Actually, after upgrade I couldn't stop myself trying new features available in new version.

zmmsgtrace works great and much more easy to use rather then grep

Dipesh
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.