Results 1 to 8 of 8

Thread: failed install on RHEL4: jar command not found

  1. #1
    Join Date
    Nov 2005
    Posts
    11
    Rep Power
    10

    Default failed install on RHEL4: jar command not found

    Hi,

    I'm trying to install M2 on a fresh Red Hat box. Everything goes well until the installation of zimbra-store, which fails, leaving these messages in the log:

    Code:
    Preparing packages for installation...
    zimbra-store-3.0.0_M2_740.RHEL4-20051114171614
    cat: /opt/zimbra/zimbramon/zimbramail.cf: No such file or directory
    -bash: jar: command not found
    -bash: jar: command not found
    error: %post(zimbra-store-3.0.0_M2_740.RHEL4-20051114171614.i386) scriptlet failed, exit status 127
    I couldn't find any other references to this error message in the forums. Thanks for any suggestions.

    - david

  2. #2
    Join Date
    Sep 2005
    Posts
    2,103
    Rep Power
    14

    Default jar not found

    We should be installing the jar cmd in /opt/zimbra/java/... Did the zimbra user get created?

  3. #3
    Join Date
    Nov 2005
    Posts
    11
    Rep Power
    10

    Default

    i had already created a zimbra user before the install. there is a 'jar' binary in /opt/zimbra/jdk1.5.0_05/bin and a symlink to it at /opt/zimbra/java. For some reason, I guess it's not being found.
    Last edited by mcgaffin; 12-07-2005 at 12:18 PM.

  4. #4
    Join Date
    Sep 2005
    Posts
    2,103
    Rep Power
    14

    Default Environment

    The environment probably isn't getting set. What shell did you give you zimbra user?

  5. #5
    Join Date
    Nov 2005
    Posts
    11
    Rep Power
    10

    Default

    /bin/bash

    FWIW, I just tried the network edition with the same results.

  6. #6
    Join Date
    Sep 2005
    Posts
    2,103
    Rep Power
    14

    Default Delete user

    Try deleting the user and re-installing.

  7. #7
    Join Date
    Nov 2005
    Posts
    11
    Rep Power
    10

    Default

    That's much better. One thing I noticed right away is that when Zimbra created the 'zimbra' user, it set its home directory to /opt/zimbra instead of /home/zimbra. That's probably why I was getting the 'command not found' error.

    Thanks for your help.

    - david

  8. #8
    Join Date
    Sep 2005
    Posts
    2,103
    Rep Power
    14

    Default Will fix in source

    I'll add some logic to reset the home and shell if the user already exists.

Similar Threads

  1. Unable to install on Ubuntu 7.04 64 bit
    By geekneck in forum Installation
    Replies: 5
    Last Post: 07-16-2007, 08:52 PM
  2. Unable to install on Ubuntu 7.04 64-bit
    By geekneck in forum Installation
    Replies: 3
    Last Post: 07-14-2007, 11:15 AM
  3. Lotus migration
    By babou in forum Migration
    Replies: 15
    Last Post: 03-05-2007, 10:33 PM
  4. Replies: 16
    Last Post: 11-29-2006, 10:36 AM
  5. Fail to install on Debian
    By hsrai in forum Installation
    Replies: 2
    Last Post: 03-25-2006, 04:14 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
  •