Ubuntu 6.10 (Edgy Eft) Shell Changes

From Zimbra :: Wiki

Jump to: navigation, search

The Zimbra install scripts use 'source'.

Newer versions of Ubuntu (I think Edgy was the first) use 'dash' as the shell which doesn't have 'source'.

You will come across errors in your install log like:

Creating SSL certificate...
*** Running as zimbra user: cd /opt/zimbra; zmcreatecert 

/opt/zimbra/bin/zmcreatecert: 27: source: not found
Done

Change to using 'bash' and run install.sh and things should work:

sudo mv /bin/sh /bin/sh-old
sudo ln -s /bin/bash /bin/sh 

(You can also rm /bin/sh according to others)

Thanks to dudes on this forum post: http://www.zimbra.com/forums/showthread.php?t=6969&highlight=Initializing+ldap+TLS+error

Moroever, in a fresh Dapper install:

apt-get install libidn11  curl  fetchmail  libpcre3 libgmp3c2 libexpat1 libxml2 libstdc++5 openssl perl perl-modules
Verified Against: unknown Date Created: 3/8/2007
Article ID: http://wiki.zimbra.com/index.php?title=Ubuntu_6.10_(Edgy_Eft)_Shell_Changes Date Modified: 02/11/2010
Personal tools