failed install on RHEL4: jar command not found

Ask questions about your setup or get help installing ZCS server (ZD section below).
mcgaffin
Posts: 11
Joined: Fri Sep 12, 2014 10:00 pm

failed install on RHEL4: jar command not found

Postby mcgaffin » Wed Dec 07, 2005 11:17 am

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:


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


marcmac
Elite member
Elite member
Posts: 2091
Joined: Fri Sep 12, 2014 9:53 pm

failed install on RHEL4: jar command not found

Postby marcmac » Wed Dec 07, 2005 11:20 am

We should be installing the jar cmd in /opt/zimbra/java/... Did the zimbra user get created?
mcgaffin
Posts: 11
Joined: Fri Sep 12, 2014 10:00 pm

failed install on RHEL4: jar command not found

Postby mcgaffin » Wed Dec 07, 2005 12:24 pm

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.
marcmac
Elite member
Elite member
Posts: 2091
Joined: Fri Sep 12, 2014 9:53 pm

failed install on RHEL4: jar command not found

Postby marcmac » Wed Dec 07, 2005 1:58 pm

The environment probably isn't getting set. What shell did you give you zimbra user?
mcgaffin
Posts: 11
Joined: Fri Sep 12, 2014 10:00 pm

failed install on RHEL4: jar command not found

Postby mcgaffin » Wed Dec 07, 2005 2:12 pm

/bin/bash
FWIW, I just tried the network edition with the same results.
marcmac
Elite member
Elite member
Posts: 2091
Joined: Fri Sep 12, 2014 9:53 pm

failed install on RHEL4: jar command not found

Postby marcmac » Wed Dec 07, 2005 2:42 pm

Try deleting the user and re-installing.
mcgaffin
Posts: 11
Joined: Fri Sep 12, 2014 10:00 pm

failed install on RHEL4: jar command not found

Postby mcgaffin » Wed Dec 07, 2005 4:40 pm

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
marcmac
Elite member
Elite member
Posts: 2091
Joined: Fri Sep 12, 2014 9:53 pm

failed install on RHEL4: jar command not found

Postby marcmac » Wed Dec 07, 2005 6:13 pm

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

Return to “Installation and Upgrade”

Who is online

Users browsing this forum: No registered users and 7 guests