Results 1 to 8 of 8

Thread: failed install on RHEL4: jar command not found

  1. #1
    mcgaffin is offline Member
    Join Date
    Nov 2005
    Posts
    11
    Rep Power
    9

    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
    marcmac is offline Expert Member
    Join Date
    Sep 2005
    Posts
    2,103
    Rep Power
    13

    Default jar not found

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

  3. #3
    mcgaffin is offline Member
    Join Date
    Nov 2005
    Posts
    11
    Rep Power
    9

    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
    marcmac is offline Expert Member
    Join Date
    Sep 2005
    Posts
    2,103
    Rep Power
    13

    Default Environment

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

  5. #5
    mcgaffin is offline Member
    Join Date
    Nov 2005
    Posts
    11
    Rep Power
    9

    Default

    /bin/bash

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

  6. #6
    marcmac is offline Expert Member
    Join Date
    Sep 2005
    Posts
    2,103
    Rep Power
    13

    Default Delete user

    Try deleting the user and re-installing.

  7. #7
    mcgaffin is offline Member
    Join Date
    Nov 2005
    Posts
    11
    Rep Power
    9

    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
    marcmac is offline Expert Member
    Join Date
    Sep 2005
    Posts
    2,103
    Rep Power
    13

    Default Will fix in source

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

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Unable to install on Ubuntu 7.04 64 bit
    By geekneck in forum Installation
    Replies: 5
    Last Post: 07-16-2007, 07:52 PM
  2. Unable to install on Ubuntu 7.04 64-bit
    By geekneck in forum Installation
    Replies: 3
    Last Post: 07-14-2007, 10: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
  •