Results 1 to 5 of 5

Thread: zmmsgtrace: command not found

  1. #1
    Join Date
    Jun 2010
    Location
    Rajkot, India
    Posts
    160
    Rep Power
    5

    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

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

    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*
    Last edited by phoenix; 11-10-2011 at 03:43 AM.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  3. #3
    Join Date
    Jun 2010
    Location
    Rajkot, India
    Posts
    160
    Rep Power
    5

    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

  4. #4
    Join Date
    Jun 2008
    Location
    Berkeley, CA
    Posts
    1,474
    Rep Power
    9

    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.

  5. #5
    Join Date
    Jun 2010
    Location
    Rajkot, India
    Posts
    160
    Rep Power
    5

    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

Similar Threads

  1. Replies: 20
    Last Post: 03-18-2008, 06:37 AM
  2. Replies: 2
    Last Post: 10-04-2007, 04:20 PM
  3. Replies: 16
    Last Post: 11-29-2006, 10:36 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
  •